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

Method StateAt

core/tx_pool.go:122–122  ·  view source on GitHub ↗
(root common.Hash)

Source from the content-addressed store, hash-verified

120 CurrentBlock() *types.Block
121 GetBlock(hash common.Hash, number uint64) *types.Block
122 StateAt(root common.Hash) (*state.StateDB, error)
123
124 SubscribeChainHeadEvent(ch chan<- ChainHeadEvent) event.Subscription
125}

Callers 4

resetMethod · 0.65
BalanceAtMethod · 0.65
NonceAtMethod · 0.65
makeCurrentWorkMethod · 0.65

Implementers 2

testBlockChaincore/tx_pool_test.go
BlockChaincore/blockchain.go

Calls

no outgoing calls

Tested by 2

BalanceAtMethod · 0.52
NonceAtMethod · 0.52