diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-09-05 18:39:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-05 18:39:18 +0800 |
commit | c91f7beb53ff1ab0376d9aa5fab5a8de8b04631c (patch) | |
tree | da60bb454f0b527f83986d2f1d319679e772261b /core/error.go | |
parent | 2bacf36d8095ac7936f69552e2727ac6f276479f (diff) | |
parent | da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3 (diff) | |
download | dexon-c91f7beb53ff1ab0376d9aa5fab5a8de8b04631c.tar dexon-c91f7beb53ff1ab0376d9aa5fab5a8de8b04631c.tar.gz dexon-c91f7beb53ff1ab0376d9aa5fab5a8de8b04631c.tar.bz2 dexon-c91f7beb53ff1ab0376d9aa5fab5a8de8b04631c.tar.lz dexon-c91f7beb53ff1ab0376d9aa5fab5a8de8b04631c.tar.xz dexon-c91f7beb53ff1ab0376d9aa5fab5a8de8b04631c.tar.zst dexon-c91f7beb53ff1ab0376d9aa5fab5a8de8b04631c.zip |
Merge pull request #15085 from karalabe/txpool-immutable
core: make txpool operate on immutable state
Diffstat (limited to 'core/error.go')
-rw-r--r-- | core/error.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/error.go b/core/error.go index 9ac4fff51..410eca1e1 100644 --- a/core/error.go +++ b/core/error.go @@ -28,4 +28,8 @@ var ( // ErrBlacklistedHash is returned if a block to import is on the blacklist. ErrBlacklistedHash = errors.New("blacklisted hash") + + // ErrNonceTooHigh is returned if the nonce of a transaction is higher than the + // next one expected based on the local chain. + ErrNonceTooHigh = errors.New("nonce too high") ) |