bsc/blockpool
zelig 137a9c9365 check and penalise td misreporting
- add ErrIncorrectTD
- checkTD called after insertChain successful
- fix tests, use blockPoolTester.tds to map block index to TD
2015-03-20 10:41:41 +00:00
..
test peer suspension to disallow reconnect after disconnect on fatal error for set period (PeerSuspensionInterval) 2015-03-20 10:41:40 +00:00
blockpool_test.go check and penalise td misreporting 2015-03-20 10:41:41 +00:00
blockpool_util_test.go check and penalise td misreporting 2015-03-20 10:41:41 +00:00
blockpool.go check and penalise td misreporting 2015-03-20 10:41:41 +00:00
config_test.go use own total difficulty to limit best peer 2015-03-20 10:41:40 +00:00
errors_test.go check and penalise td misreporting 2015-03-20 10:41:41 +00:00
peers_test.go check and penalise td misreporting 2015-03-20 10:41:41 +00:00
peers.go check and penalise td misreporting 2015-03-20 10:41:41 +00:00
section.go check and penalise td misreporting 2015-03-20 10:41:41 +00:00
status_test.go major rewrite, reorg of blockpool + new features 2015-02-25 19:34:12 +07:00
status.go - fix peer disconnect by adding severity function to errs 2015-03-03 00:43:12 +07:00