mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
core/txpool/blobpool: happy lint, happy life
This commit is contained in:
parent
5557f2bbf3
commit
ca2eaf4a96
1 changed files with 2 additions and 8 deletions
|
|
@ -95,11 +95,6 @@ const (
|
||||||
// store.
|
// store.
|
||||||
storeVersion = 1
|
storeVersion = 1
|
||||||
|
|
||||||
// conversionTimeWindow defines the period after the Osaka fork during which
|
|
||||||
// the pool will still accept and convert legacy blob transactions. After this
|
|
||||||
// window, all legacy blob transactions will be rejected.
|
|
||||||
conversionTimeWindow = time.Hour * 2
|
|
||||||
|
|
||||||
// gappedLifetime is the approximate duration for which nonce-gapped transactions
|
// gappedLifetime is the approximate duration for which nonce-gapped transactions
|
||||||
// are kept before being dropped. Since gapped is only a reorder buffer and it
|
// are kept before being dropped. Since gapped is only a reorder buffer and it
|
||||||
// is expected that the original transactions were inserted in the mempool in
|
// is expected that the original transactions were inserted in the mempool in
|
||||||
|
|
@ -348,9 +343,8 @@ type BlobPool struct {
|
||||||
gapped map[common.Address][]*types.Transaction // Transactions that are currently gapped (nonce too high)
|
gapped map[common.Address][]*types.Transaction // Transactions that are currently gapped (nonce too high)
|
||||||
gappedSource map[common.Hash]common.Address // Source of gapped transactions to allow rechecking on inclusion
|
gappedSource map[common.Hash]common.Address // Source of gapped transactions to allow rechecking on inclusion
|
||||||
|
|
||||||
signer types.Signer // Transaction signer to use for sender recovery
|
signer types.Signer // Transaction signer to use for sender recovery
|
||||||
chain BlockChain // Chain object to access the state through
|
chain BlockChain // Chain object to access the state through
|
||||||
cQueue *conversionQueue // The queue for performing legacy sidecar conversion (TODO: remove after Osaka)
|
|
||||||
|
|
||||||
head atomic.Pointer[types.Header] // Current head of the chain
|
head atomic.Pointer[types.Header] // Current head of the chain
|
||||||
state *state.StateDB // Current state at the head of the chain
|
state *state.StateDB // Current state at the head of the chain
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue