finally merged *the missing*
This commit is contained in:
@ -66,3 +66,8 @@ func (bc *BlockCache) Get(hash common.Hash) *types.Block {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (bc *BlockCache) Has(hash common.Hash) bool {
|
||||
_, ok := bc.blocks[hash]
|
||||
return ok
|
||||
}
|
||||
|
@ -38,6 +38,10 @@ type PendingBlockEvent struct {
|
||||
Logs state.Logs
|
||||
}
|
||||
|
||||
type ChainUncleEvent struct {
|
||||
Block *types.Block
|
||||
}
|
||||
|
||||
type ChainHeadEvent struct{ Block *types.Block }
|
||||
|
||||
// Mining operation events
|
||||
|
Reference in New Issue
Block a user