aboutsummaryrefslogtreecommitdiffstats
path: root/blockpool/status.go
Commit message (Collapse)AuthorAgeFilesLines
* blockpool: deletedobscuren2015-04-211-111/+0
|
* Idle too long error incorrectly triggered even when peer sending new blockszelig2015-03-221-2/+4
| | | | | | | | | - fix status chain map uses common.Hash as key - add badPeers increment to IncorrectTD errors (forgotten) - signal head info update to head section process even if parent hash is not in pool (inserted), so that idle timer can be set to nil - suicideC -> peer.headInfoTimer - quit -> peer.bestIdleTimer - and they are properly set from within getBlockHashes and handleSection
* - fix peer disconnect by adding severity function to errszelig2015-03-031-1/+0
| | | | | | - improve logging - suicide -> removeChain - improved status BlocksInPool calculation
* major rewrite, reorg of blockpool + new featureszelig2015-02-251-0/+110
- blockpool moves to its own package - uses errs pkg for its own coded errors - publicly settable config of params (time intervals and batchsizes) - test helpers in subpackage - optional TD in blocks used now to update peers chain info - major improvement in algorithm - fix fragility and sync/parallelisation bugs - implement status for reporting on sync status (peers/hashes/blocks etc) - several tests added and further corner cases covered