aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/errors.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-04-10 18:24:12 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-04-10 18:24:12 +0800
commitfeeccdf4ec1084b38dac112ff4f86809efd7c0e5 (patch)
tree90729d779c305fc5e56b5c50316f32bda94258b8 /consensus/errors.go
parentbfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4 (diff)
downloaddexon-feeccdf4ec1084b38dac112ff4f86809efd7c0e5.tar.gz
dexon-feeccdf4ec1084b38dac112ff4f86809efd7c0e5.tar.zst
dexon-feeccdf4ec1084b38dac112ff4f86809efd7c0e5.zip
consensus/clique: Proof of Authority (#3753)
This PR is a prototype implementation of plugable consensus engines and the Clique PoA protocol ethereum/EIPs#225
Diffstat (limited to 'consensus/errors.go')
-rw-r--r--consensus/errors.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/consensus/errors.go b/consensus/errors.go
index f94bcb329..3b136dbdd 100644
--- a/consensus/errors.go
+++ b/consensus/errors.go
@@ -23,14 +23,6 @@ var (
// that is unknown.
ErrUnknownAncestor = errors.New("unknown ancestor")
- // ErrLargeBlockTime is returned if the value of the timestamp is beyond
- // any reasonable value.
- ErrLargeBlockTime = errors.New("timestamp too big")
-
- // ErrZeroBlockTime is returned if the block's timestamp is the same as the one
- // its parent has.
- ErrZeroBlockTime = errors.New("timestamp equals parent's")
-
// ErrFutureBlock is returned when a block's timestamp is in the future according
// to the current node.
ErrFutureBlock = errors.New("block in the future")