core, light: send chain events using event.Feed (#14865)
This commit is contained in:
@ -82,6 +82,7 @@ type BlockChain interface {
|
||||
GetBlockHashesFromHash(hash common.Hash, max uint64) []common.Hash
|
||||
LastBlockHash() common.Hash
|
||||
Genesis() *types.Block
|
||||
SubscribeChainHeadEvent(ch chan<- core.ChainHeadEvent) event.Subscription
|
||||
}
|
||||
|
||||
type txPool interface {
|
||||
|
Reference in New Issue
Block a user