MCPcopy Create free account
hub / github.com/chain/txvm / RawBlock

Struct RawBlock

protocol/bc/bc.pb.go:318–322  ·  view source on GitHub ↗

RawBlock is a raw block.

Source from the content-addressed store, hash-verified

316
317// RawBlock is a raw block.
318type RawBlock struct {
319 Header *BlockHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
320 Transactions []*RawTx `protobuf:"bytes,2,rep,name=transactions" json:"transactions,omitempty"`
321 Arguments []*DataItem `protobuf:"bytes,3,rep,name=arguments" json:"arguments,omitempty"`
322}
323
324func (m *RawBlock) Reset() { *m = RawBlock{} }
325func (m *RawBlock) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected