mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-10 15:04:27 +00:00
Merge db9687363f into cee751a1ed
This commit is contained in:
commit
2ce1eded3c
1 changed files with 0 additions and 3 deletions
|
|
@ -17,8 +17,6 @@
|
||||||
package filtermaps
|
package filtermaps
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"sync"
|
|
||||||
|
|
||||||
"github.com/ethereum/go-ethereum/common"
|
"github.com/ethereum/go-ethereum/common"
|
||||||
"github.com/ethereum/go-ethereum/core/types"
|
"github.com/ethereum/go-ethereum/core/types"
|
||||||
"github.com/ethereum/go-ethereum/log"
|
"github.com/ethereum/go-ethereum/log"
|
||||||
|
|
@ -42,7 +40,6 @@ type blockchain interface {
|
||||||
// of the underlying blockchain, it should only possess the block headers
|
// of the underlying blockchain, it should only possess the block headers
|
||||||
// and receipts up until the expected chain view head.
|
// and receipts up until the expected chain view head.
|
||||||
type ChainView struct {
|
type ChainView struct {
|
||||||
lock sync.Mutex
|
|
||||||
chain blockchain
|
chain blockchain
|
||||||
headNumber uint64
|
headNumber uint64
|
||||||
hashes []common.Hash // block hashes starting backwards from headNumber until first canonical hash
|
hashes []common.Hash // block hashes starting backwards from headNumber until first canonical hash
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue