| 273 | } |
| 274 | |
| 275 | type BlockHeader struct { |
| 276 | Version uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` |
| 277 | Height uint64 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"` |
| 278 | PreviousBlockId *Hash `protobuf:"bytes,3,opt,name=previous_block_id,json=previousBlockId" json:"previous_block_id,omitempty"` |
| 279 | TimestampMs uint64 `protobuf:"varint,4,opt,name=timestamp_ms,json=timestampMs" json:"timestamp_ms,omitempty"` |
| 280 | TransactionsRoot *Hash `protobuf:"bytes,5,opt,name=transactions_root,json=transactionsRoot" json:"transactions_root,omitempty"` |
| 281 | AssetsRoot *Hash `protobuf:"bytes,6,opt,name=assets_root,json=assetsRoot" json:"assets_root,omitempty"` |
| 282 | NextConsensusProgram []byte `protobuf:"bytes,7,opt,name=next_consensus_program,json=nextConsensusProgram,proto3" json:"next_consensus_program,omitempty"` |
| 283 | ExtHash *Hash `protobuf:"bytes,8,opt,name=ext_hash,json=extHash" json:"ext_hash,omitempty"` |
| 284 | WitnessArguments [][]byte `protobuf:"bytes,9,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"` |
| 285 | } |
| 286 | |
| 287 | func (m *BlockHeader) Reset() { *m = BlockHeader{} } |
| 288 | func (m *BlockHeader) String() string { return proto.CompactTextString(m) } |
nothing calls this directly
no outgoing calls
no test coverage detected