bmgr: Remove unused struct fields.

Found by structcheck.
This commit is contained in:
Dave Collins 2016-11-02 18:50:17 -05:00
parent e320330d29
commit 82cba61bad
No known key found for this signature in database
GPG key ID: B8904D9D9C93D1F2

View file

@ -136,21 +136,18 @@ type headerNode struct {
// blockManager provides a concurrency safe block manager for handling all
// incoming blocks.
type blockManager struct {
server *server
started int32
shutdown int32
chain *blockchain.BlockChain
rejectedTxns map[chainhash.Hash]struct{}
requestedTxns map[chainhash.Hash]struct{}
requestedBlocks map[chainhash.Hash]struct{}
progressLogger *blockProgressLogger
receivedLogBlocks int64
receivedLogTx int64
processingReqs bool
syncPeer *serverPeer
msgChan chan interface{}
wg sync.WaitGroup
quit chan struct{}
server *server
started int32
shutdown int32
chain *blockchain.BlockChain
rejectedTxns map[chainhash.Hash]struct{}
requestedTxns map[chainhash.Hash]struct{}
requestedBlocks map[chainhash.Hash]struct{}
progressLogger *blockProgressLogger
syncPeer *serverPeer
msgChan chan interface{}
wg sync.WaitGroup
quit chan struct{}
// The following fields are used for headers-first mode.
headersFirstMode bool