MCPcopy Create free account
hub / github.com/CPChain/chain / Processor

Method Processor

core/blockchain.go:511–515  ·  view source on GitHub ↗

Processor returns the current processor.

()

Source from the content-addressed store, hash-verified

509
510// Processor returns the current processor.
511func (bc *BlockChain) Processor() Processor {
512 bc.procmu.RLock()
513 defer bc.procmu.RUnlock()
514 return bc.processor
515}
516
517// State returns a new mutable state(public) based on the current HEAD block.
518func (bc *BlockChain) State() (*state.StateDB, error) {

Callers 3

testBlockChainImportFunction · 0.80
traceChainMethod · 0.80
computeStateDBMethod · 0.80

Calls

no outgoing calls

Tested by 1

testBlockChainImportFunction · 0.64