diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-23 23:14:33 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-23 23:14:33 +0800 |
commit | dc3a9379f50d0d5b41abc28acc2a871534968a77 (patch) | |
tree | 8c4f22d8542b3172835c70f14afc9a57dede15b3 /core/error.go | |
parent | 524f8199bfaddebc96798827e943667a909a03e7 (diff) | |
download | go-tangerine-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar go-tangerine-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar.gz go-tangerine-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar.bz2 go-tangerine-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar.lz go-tangerine-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar.xz go-tangerine-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar.zst go-tangerine-dc3a9379f50d0d5b41abc28acc2a871534968a77.zip |
logging for possible uncles
Diffstat (limited to 'core/error.go')
-rw-r--r-- | core/error.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/error.go b/core/error.go index f6ac26cff..0642948cd 100644 --- a/core/error.go +++ b/core/error.go @@ -9,8 +9,9 @@ import ( ) var ( - BlockNumberErr = errors.New("block number invalid") - BlockFutureErr = errors.New("block time is in the future") + BlockNumberErr = errors.New("block number invalid") + BlockFutureErr = errors.New("block time is in the future") + BlockEqualTSErr = errors.New("block time stamp equal to previous") ) // Parent error. In case a parent is unknown this error will be thrown |