bmgr: Remove unused struct fields.
Found by structcheck.
This commit is contained in:
parent
e320330d29
commit
82cba61bad
1 changed files with 12 additions and 15 deletions
|
@ -136,21 +136,18 @@ type headerNode struct {
|
||||||
// blockManager provides a concurrency safe block manager for handling all
|
// blockManager provides a concurrency safe block manager for handling all
|
||||||
// incoming blocks.
|
// incoming blocks.
|
||||||
type blockManager struct {
|
type blockManager struct {
|
||||||
server *server
|
server *server
|
||||||
started int32
|
started int32
|
||||||
shutdown int32
|
shutdown int32
|
||||||
chain *blockchain.BlockChain
|
chain *blockchain.BlockChain
|
||||||
rejectedTxns map[chainhash.Hash]struct{}
|
rejectedTxns map[chainhash.Hash]struct{}
|
||||||
requestedTxns map[chainhash.Hash]struct{}
|
requestedTxns map[chainhash.Hash]struct{}
|
||||||
requestedBlocks map[chainhash.Hash]struct{}
|
requestedBlocks map[chainhash.Hash]struct{}
|
||||||
progressLogger *blockProgressLogger
|
progressLogger *blockProgressLogger
|
||||||
receivedLogBlocks int64
|
syncPeer *serverPeer
|
||||||
receivedLogTx int64
|
msgChan chan interface{}
|
||||||
processingReqs bool
|
wg sync.WaitGroup
|
||||||
syncPeer *serverPeer
|
quit chan struct{}
|
||||||
msgChan chan interface{}
|
|
||||||
wg sync.WaitGroup
|
|
||||||
quit chan struct{}
|
|
||||||
|
|
||||||
// The following fields are used for headers-first mode.
|
// The following fields are used for headers-first mode.
|
||||||
headersFirstMode bool
|
headersFirstMode bool
|
||||||
|
|
Loading…
Reference in a new issue