Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ submitBlock
Method
submitBlock
consensus/vbft/block_pool.go:797–801 ·
view source on GitHub ↗
(blkNum uint32)
Source
from the content-addressed store, hash-verified
795
}
796
797
func
(pool *BlockPool) submitBlock(blkNum uint32) error {
798
pool.lock.Lock()
799
defer
pool.lock.Unlock()
800
return
pool.chainStore.submitBlock(blkNum)
801
}
Callers
2
actionLoop
Method · 0.45
TestAddBlock
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestAddBlock
Function · 0.36