MCPcopy Create free account
hub / github.com/cruzbit/cruzbit / acceptBlock

Method acceptBlock

processor.go:559–669  ·  view source on GitHub ↗

Attempt to extend the chain with the new block

(id BlockID, block *Block, now int64, source string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

processBlockMethod · 0.95

Calls 15

acceptBlockContinueMethod · 0.95
reconnectTipMethod · 0.95
computeTargetFunction · 0.85
computeChainWorkFunction · 0.85
computeMedianTimestampFunction · 0.85
checkTransactionSeriesFunction · 0.85
BlockCreationRewardFunction · 0.85
IsCoinbaseMethod · 0.80
IsMatureMethod · 0.80
IsExpiredMethod · 0.80
VerifyMethod · 0.80
GetBlockHeaderMethod · 0.65

Tested by

no test coverage detected