transfer optional block hash in protobuf