Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | basic glog | obscuren | 2015-04-04 | 1 | -1/+1 |
| | |||||
* | proper locking to prevent "parent unknown" INVALID blocks due to race in ↵ | zelig | 2015-04-02 | 1 | -5/+4 |
| | | | | peer head info update | ||||
* | proper locking to prevent close of closed channel crash when multiple mining ↵ | zelig | 2015-04-02 | 1 | -3/+7 |
| | | | | peers compete | ||||
* | blockpool: wrap intermittent status test in a loop | zelig | 2015-03-27 | 2 | -40/+55 |
| | |||||
* | header check for test | zelig | 2015-03-25 | 2 | -3/+8 |
| | |||||
* | bugfix with idle too long triggered after peer switch | zelig | 2015-03-25 | 2 | -8/+10 |
| | | | | | | - reset bestIdleTimer when launching head section process - log chain head events - common.Hash key in activateChain map | ||||
* | fixed bad uncles | obscuren | 2015-03-24 | 1 | -1/+2 |
| | |||||
* | Merge branch 'jsonlog' of https://github.com/ethersphere/go-ethereum into ↵ | obscuren | 2015-03-23 | 1 | -12/+6 |
|\ | | | | | | | | | | | | | ethersphere-jsonlog Conflicts: eth/backend.go | ||||
| * | fix blockpool test logger | zelig | 2015-03-22 | 1 | -12/+6 |
| | | |||||
* | | Idle too long error incorrectly triggered even when peer sending new blocks | zelig | 2015-03-22 | 4 | -28/+31 |
|/ | | | | | | | | | - 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 | ||||
* | 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 |