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

Struct testBlockChain

core/tx_pool_test.go:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49type testBlockChain struct {
50 statedb *state.StateDB
51 gasLimit uint64
52 chainHeadFeed *event.Feed
53}
54
55func (bc *testBlockChain) CurrentBlock() *types.Block {
56 return types.NewBlock(&types.Header{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected