mirror of https://github.com/poanetwork/quorum.git
formatting
This commit is contained in:
parent
2991562244
commit
b55ba5690e
|
@ -89,10 +89,10 @@ type BlockChain struct {
|
||||||
scope event.SubscriptionScope
|
scope event.SubscriptionScope
|
||||||
genesisBlock *types.Block
|
genesisBlock *types.Block
|
||||||
|
|
||||||
mu sync.RWMutex // global mutex for locking chain operations
|
mu sync.RWMutex // global mutex for locking chain operations
|
||||||
chainmu sync.RWMutex // blockchain insertion lock
|
chainmu sync.RWMutex // blockchain insertion lock
|
||||||
procmu sync.RWMutex // block processor lock
|
procmu sync.RWMutex // block processor lock
|
||||||
insertmu sync.Mutex // block and state insert lock
|
insertmu sync.Mutex // block and state insert lock
|
||||||
|
|
||||||
checkpoint int // checkpoint counts towards the new checkpoint
|
checkpoint int // checkpoint counts towards the new checkpoint
|
||||||
currentBlock *types.Block // Current head of the block chain
|
currentBlock *types.Block // Current head of the block chain
|
||||||
|
|
Loading…
Reference in New Issue