Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use common.Hash as pool key, no string conversion needed | zelig | 2015-03-20 | 2 | -8/+8 |
| | |||||
* | fix common.Hash conversion | zelig | 2015-03-20 | 3 | -3/+5 |
| | |||||
* | fix import in reorganised test | zelig | 2015-03-20 | 1 | -2/+0 |
| | |||||
* | improve documentation and move one test | zelig | 2015-03-20 | 9 | -156/+202 |
| | |||||
* | reduce logging output | zelig | 2015-03-20 | 3 | -25/+22 |
| | |||||
* | uncomment status test, hack: skip the 2 unreliable fields | zelig | 2015-03-20 | 2 | -171/+182 |
| | |||||
* | check and penalise td misreporting | zelig | 2015-03-20 | 7 | -52/+129 |
| | | | | | | - add ErrIncorrectTD - checkTD called after insertChain successful - fix tests, use blockPoolTester.tds to map block index to TD | ||||
* | fix missing hexification on IdleTooLong error log | zelig | 2015-03-20 | 1 | -1/+1 |
| | |||||
* | use own total difficulty to limit best peer | zelig | 2015-03-20 | 5 | -15/+82 |
| | | | | | | | | | - update blockpool td by subscribing to ChainHeadEvent - if ahead of best peer, demote it - addPeer now take own td as current td - removePeer now take own td as current td - add relevant tests to peers_test - eth: backend now calls blockpool with eth.eventMux and chainManager.Td | ||||
* | peer suspension to disallow reconnect after disconnect on fatal error for ↵ | zelig | 2015-03-20 | 7 | -40/+116 |
| | | | | set period (PeerSuspensionInterval) | ||||
* | updated blockpool | obscuren | 2015-03-17 | 3 | -58/+57 |
| | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 3 | -9/+9 |
| | |||||
* | moved to detail | obscuren | 2015-03-16 | 1 | -1/+1 |
| | |||||
* | fix wonky head section loop; correct status counts | zelig | 2015-03-06 | 2 | -24/+33 |
| | |||||
* | partial fix to idle best peer issue | zelig | 2015-03-04 | 3 | -13/+33 |
| | | | | | | - best peer cannot be idle for more than idleBestPeerTimeout - introduce ErrIdleTooLong fatal error - modify default values | ||||
* | log when added peer is behind (hash found in blockchain) | zelig | 2015-03-03 | 1 | -0/+1 |
| | |||||
* | - fix peer disconnect by adding severity function to errs | zelig | 2015-03-03 | 4 | -38/+55 |
| | | | | | | - improve logging - suicide -> removeChain - improved status BlocksInPool calculation | ||||
* | major rewrite, reorg of blockpool + new features | zelig | 2015-02-25 | 13 | -0/+3583 |
- 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 |