| 19 | ) |
| 20 | |
| 21 | type 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 | |
| 33 | func NewBlockBuilder() *BlockBuilder { |
| 34 | return &BlockBuilder{ |
nothing calls this directly
no outgoing calls
no test coverage detected