mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-16 00:43:46 +00:00
feat(worker): disable enforceTips when fetching pending transactions (#740)
* Update worker.go * chore: auto version bump [bot] --------- Co-authored-by: Thegaram <Thegaram@users.noreply.github.com>
This commit is contained in:
parent
da3be71ba8
commit
037781a187
2 changed files with 2 additions and 2 deletions
|
|
@ -1446,7 +1446,7 @@ func (w *worker) commitNewWork(interrupt *int32, noempty bool, timestamp int64)
|
||||||
|
|
||||||
tidyPendingStart := time.Now()
|
tidyPendingStart := time.Now()
|
||||||
// Fill the block with all available pending transactions.
|
// Fill the block with all available pending transactions.
|
||||||
pending := w.eth.TxPool().Pending(true)
|
pending := w.eth.TxPool().Pending(false)
|
||||||
// Short circuit if there is no available pending transactions.
|
// Short circuit if there is no available pending transactions.
|
||||||
// But if we disable empty precommit already, ignore it. Since
|
// But if we disable empty precommit already, ignore it. Since
|
||||||
// empty block is necessary to keep the liveness of the network.
|
// empty block is necessary to keep the liveness of the network.
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ import (
|
||||||
const (
|
const (
|
||||||
VersionMajor = 5 // Major version component of the current release
|
VersionMajor = 5 // Major version component of the current release
|
||||||
VersionMinor = 3 // Minor version component of the current release
|
VersionMinor = 3 // Minor version component of the current release
|
||||||
VersionPatch = 10 // Patch version component of the current release
|
VersionPatch = 11 // Patch version component of the current release
|
||||||
VersionMeta = "mainnet" // Version metadata to append to the version string
|
VersionMeta = "mainnet" // Version metadata to append to the version string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue