mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
core: remove unused variables in BlockChain struct
This commit is contained in:
parent
a5c48e77bd
commit
e2afaec8b0
1 changed files with 2 additions and 4 deletions
|
|
@ -153,7 +153,6 @@ type BlockChain struct {
|
||||||
chainmu sync.RWMutex // blockchain insertion lock
|
chainmu sync.RWMutex // blockchain insertion lock
|
||||||
procmu sync.RWMutex // block processor lock
|
procmu sync.RWMutex // block processor lock
|
||||||
|
|
||||||
checkpoint int // checkpoint counts towards the new checkpoint
|
|
||||||
currentBlock atomic.Value // Current head of the block chain
|
currentBlock atomic.Value // Current head of the block chain
|
||||||
currentFastBlock atomic.Value // Current head of the fast-sync chain (may be above the block chain!)
|
currentFastBlock atomic.Value // Current head of the fast-sync chain (may be above the block chain!)
|
||||||
|
|
||||||
|
|
@ -181,7 +180,6 @@ type BlockChain struct {
|
||||||
validator Validator // block and state validator interface
|
validator Validator // block and state validator interface
|
||||||
vmConfig vm.Config
|
vmConfig vm.Config
|
||||||
|
|
||||||
shouldPreserve func(*types.Block) bool // Function used to determine whether should preserve the given block.
|
|
||||||
IPCEndpoint string
|
IPCEndpoint string
|
||||||
Client bind.ContractBackend // Global ipc client instance.
|
Client bind.ContractBackend // Global ipc client instance.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue