mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
eth: remove lastDirect
This commit is contained in:
parent
256bf9d8b0
commit
59b224af5f
1 changed files with 4 additions and 5 deletions
|
|
@ -120,11 +120,10 @@ type handler struct {
|
|||
snapSync atomic.Bool // Flag whether snap sync is enabled (gets disabled if we already have blocks)
|
||||
synced atomic.Bool // Flag whether we're considered synchronised (enables transaction processing)
|
||||
|
||||
database ethdb.Database
|
||||
txpool txPool
|
||||
chain *core.BlockChain
|
||||
maxPeers int
|
||||
lastDirect atomic.Int64 // Last number of peers we sent transactions to, used to stabilize the randomness
|
||||
database ethdb.Database
|
||||
txpool txPool
|
||||
chain *core.BlockChain
|
||||
maxPeers int
|
||||
|
||||
downloader *downloader.Downloader
|
||||
txFetcher *fetcher.TxFetcher
|
||||
|
|
|
|||
Loading…
Reference in a new issue