go-pulse/blockpool
zelig 95038fc62d Idle too long error incorrectly triggered even when peer sending new blocks
- 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
2015-03-22 02:02:24 +00:00
..
test improve documentation and move one test 2015-03-20 10:41:41 +00:00
blockpool_test.go fix import in reorganised test 2015-03-20 10:41:41 +00:00
blockpool_util_test.go improve documentation and move one test 2015-03-20 10:41:41 +00:00
blockpool.go Idle too long error incorrectly triggered even when peer sending new blocks 2015-03-22 02:02:24 +00:00
config_test.go improve documentation and move one test 2015-03-20 10:41:41 +00:00
errors_test.go check and penalise td misreporting 2015-03-20 10:41:41 +00:00
peers_test.go fix common.Hash conversion 2015-03-20 10:41:41 +00:00
peers.go Idle too long error incorrectly triggered even when peer sending new blocks 2015-03-22 02:02:24 +00:00
section.go Idle too long error incorrectly triggered even when peer sending new blocks 2015-03-22 02:02:24 +00:00
status_test.go reduce logging output 2015-03-20 10:41:41 +00:00
status.go Idle too long error incorrectly triggered even when peer sending new blocks 2015-03-22 02:02:24 +00:00