MCPcopy Create free account
hub / github.com/DNAProject/DNA / BlockPool

Struct BlockPool

consensus/vbft/block_pool.go:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71type BlockPool struct {
72 lock sync.RWMutex
73 HistoryLen uint32
74
75 server *Server
76 chainStore *ChainStore
77 candidateBlocks map[uint32]*CandidateInfo // indexed by blockNum
78}
79
80func newBlockPool(server *Server, historyLen uint32, store *ChainStore) (*BlockPool, error) {
81 pool := &BlockPool{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected