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

Function computeTarget

processor.go:683–688  ·  view source on GitHub ↗

Compute expected target of the current block

(prevHeader *BlockHeader, blockStore BlockStorage, ledger Ledger)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

createNextBlockFunction · 0.85
acceptBlockMethod · 0.85

Calls 2

computeTargetBitcoinCashFunction · 0.85
computeTargetBitcoinFunction · 0.85

Tested by

no test coverage detected