Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: added chain head reset to known block | obscuren | 2015-04-20 | 1 | -0/+2 |
| | |||||
* | geth: admin download status | obscuren | 2015-04-20 | 1 | -11/+15 |
| | |||||
* | downloader: fixed tests with low ttl | obscuren | 2015-04-19 | 2 | -2/+3 |
| | |||||
* | moved | obscuren | 2015-04-19 | 1 | -6/+6 |
| | |||||
* | Removed debug println | obscuren | 2015-04-19 | 1 | -3/+0 |
| | |||||
* | downloader: moved chunk ignoring. Fixes issue with catching up | obscuren | 2015-04-19 | 4 | -31/+44 |
| | |||||
* | downloader: defer peer reset after download | obscuren | 2015-04-19 | 2 | -4/+8 |
| | |||||
* | downloader: reset hashTtl on receive | obscuren | 2015-04-19 | 1 | -0/+2 |
| | |||||
* | downloader: don't remove peers. keep them around | obscuren | 2015-04-19 | 1 | -2/+3 |
| | |||||
* | typo | obscuren | 2015-04-19 | 1 | -1/+1 |
| | |||||
* | downloader: free up peers from work when the downloader resets | obscuren | 2015-04-19 | 3 | -5/+22 |
| | |||||
* | downloader: throw an error if there are no peers available for download | obscuren | 2015-04-19 | 1 | -6/+16 |
| | | | | | | If all peers have been tried during the block download process and some hashes are unfetchable (available peers > 0 and fetching == 0) throw an error so the process can be aborted. | ||||
* | downloader: fixed a race condition for download status | obscuren | 2015-04-19 | 1 | -1/+0 |
| | |||||
* | eth: adapted to new synchronous api of downloader's AddBlock | obscuren | 2015-04-19 | 2 | -2/+2 |
| | |||||
* | downloader: improved downloading and synchronisation | obscuren | 2015-04-19 | 4 | -110/+129 |
| | | | | | | * Downloader's peers keeps track of peer's previously requested hashes so that we don't have to re-request * Changed `AddBlock` to be fully synchronous | ||||
* | downloader: make sure that hashes are only accepted from the active peer | obscuren | 2015-04-18 | 1 | -18/+45 |
| | |||||
* | downloader: reset the queue if a peer response with an empty hash set | obscuren | 2015-04-18 | 2 | -14/+36 |
| | |||||
* | downloader: all handlers check for isBusy | obscuren | 2015-04-18 | 1 | -7/+7 |
| | |||||
* | Merge branch 'develop' into downloader-proto | obscuren | 2015-04-18 | 2 | -5/+117 |
|\ | | | | | | | | | Conflicts: eth/downloader/downloader.go | ||||
| * | downloader: fixed a typo | obscuren | 2015-04-17 | 1 | -1/+1 |
| | | |||||
| * | downloader: added demotion / promotion in prep. for rep. system | obscuren | 2015-04-16 | 2 | -0/+25 |
| | | |||||
| * | downloader: updated downloader and fixed issues with catch up | obscuren | 2015-04-16 | 1 | -21/+47 |
| | | | | | | | | | | | | Properly ignore blocks coming from peers not in our peer list (blocked) and do never request anything from bad peers. Added some checks to account for blocks known when requesting hashes (missing parents). | ||||
* | | downloader: updated downloader and fixed issues with catch up | obscuren | 2015-04-16 | 1 | -22/+48 |
|/ | | | | | | Properly ignore blocks coming from peers not in our peer list (blocked) and do never request anything from bad peers. Added some checks to account for blocks known when requesting hashes (missing parents). | ||||
* | downloader: added missing blocks catchup functionality | obscuren | 2015-04-13 | 4 | -133/+303 |
| | | | | | When a parent is missing in the block list an attempt should be made to fetch the missing parent and grandparents. | ||||
* | downloader: return an error for peer.fetch and return chunk to queue | obscuren | 2015-04-12 | 2 | -3/+16 |
| | | | | | If a peer was somehow already fetching and somehow managed to end up in the `available` pool it should return it's work. | ||||
* | downloader: renamed chunks to queue | obscuren | 2015-04-12 | 1 | -0/+0 |
| | |||||
* | downloader: implemented new downloader | obscuren | 2015-04-12 | 4 | -0/+602 |