mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
core/txpool: note that UsedAndLeftSlots is optional now
This commit is contained in:
parent
8d562a4c26
commit
c5094df9f3
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ type ValidationOptionsWithState struct {
|
||||||
// nonce gaps will be ignored and permitted.
|
// nonce gaps will be ignored and permitted.
|
||||||
FirstNonceGap func(addr common.Address) uint64
|
FirstNonceGap func(addr common.Address) uint64
|
||||||
|
|
||||||
// UsedAndLeftSlots is a mandatory callback to retrieve the number of tx slots
|
// UsedAndLeftSlots is an optional callback to retrieve the number of tx slots
|
||||||
// used and the number still permitted for an account. New transactions will
|
// used and the number still permitted for an account. New transactions will
|
||||||
// be rejected once the number of remaining slots reaches zero.
|
// be rejected once the number of remaining slots reaches zero.
|
||||||
UsedAndLeftSlots func(addr common.Address) (int, int)
|
UsedAndLeftSlots func(addr common.Address) (int, int)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue