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

Struct BlockBuilder

protocol/builder.go:21–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19)
20
21type BlockBuilder struct {
22 Version uint64
23 MaxNonceWindow time.Duration
24 MaxBlockWindow int64
25 MaxBlockTxs int
26
27 snapshot *state.Snapshot
28 txs []*bc.CommitmentsTx
29 timestampMS uint64
30 runlimit int64
31}
32
33func NewBlockBuilder() *BlockBuilder {
34 return &BlockBuilder{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected