func (b *Block) ToProto() *pb.Block {
	return &pb.Block{
		Header: b.BlockHeader.ToProto(),
		Body:   b.BlockBody.ToProto(),
	}
}
// ToProto gets the protobuf representation of the block.
ToProto gets the protobuf representation of the block.
// ToProto gets the protobuf representation of the block .
func (b *Block) ToProto() *pb.Block {
	return &pb.Block{
		Header: b.BlockHeader.ToProto(),
		Body:   b.BlockBody.ToProto(),
	}
}
func ( b * Block ) ToProto ( ) * pb . Block { return & pb . Block { Header : b . BlockHeader . ToProto ( ) , Body : b . BlockBody . ToProto ( ) , } }
ToProto gets the protobuf representation of the block.
ToProto gets the protobuf representation of the block .