diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-09-05 03:35:00 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-09-05 18:34:41 +0800 |
commit | da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3 (patch) | |
tree | 01b0266516f76b69ab7d93b0c78e396b3e712600 /core/error.go | |
parent | e7408b5552002df7c3ba6a2351f14c533dfc5a36 (diff) | |
download | go-tangerine-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar go-tangerine-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar.gz go-tangerine-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar.bz2 go-tangerine-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar.lz go-tangerine-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar.xz go-tangerine-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar.zst go-tangerine-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.zip |
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") ) |