mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core/blockchain: remove import sort (unused), remove medianTimeBlocks (declared in headerchain
This commit is contained in:
parent
b75f3a1b07
commit
7929785333
1 changed files with 0 additions and 2 deletions
|
|
@ -24,7 +24,6 @@ import (
|
|||
"math/big"
|
||||
mrand "math/rand"
|
||||
"runtime"
|
||||
"sort"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
|
@ -57,7 +56,6 @@ const (
|
|||
blockCacheLimit = 256
|
||||
maxFutureBlocks = 256
|
||||
maxTimeFutureBlocks = 30
|
||||
medianTimeBlocks = 11
|
||||
badBlockLimit = 10
|
||||
|
||||
// BlockChainVersion ensures that an incompatible database forces a resync from scratch.
|
||||
|
|
|
|||
Loading…
Reference in a new issue