aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader
Commit message (Collapse)AuthorAgeFilesLines
* eth, eth/downloader: don't require td on downloader. Fixed testsobscuren2015-04-242-21/+18
|
* eth, eth/downloader: moved peer selection to protocol handlerobscuren2015-04-242-124/+50
|
* core: added chain head reset to known blockobscuren2015-04-201-0/+2
|
* geth: admin download statusobscuren2015-04-201-11/+15
|
* downloader: fixed tests with low ttlobscuren2015-04-192-2/+3
|
* movedobscuren2015-04-191-6/+6
|
* Removed debug printlnobscuren2015-04-191-3/+0
|
* downloader: moved chunk ignoring. Fixes issue with catching upobscuren2015-04-194-31/+44
|
* downloader: defer peer reset after downloadobscuren2015-04-192-4/+8
|
* downloader: reset hashTtl on receiveobscuren2015-04-191-0/+2
|
* downloader: don't remove peers. keep them aroundobscuren2015-04-191-2/+3
|
* typoobscuren2015-04-191-1/+1
|
* downloader: free up peers from work when the downloader resetsobscuren2015-04-193-5/+22
|
* downloader: throw an error if there are no peers available for downloadobscuren2015-04-191-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 statusobscuren2015-04-191-1/+0
|
* eth: adapted to new synchronous api of downloader's AddBlockobscuren2015-04-192-2/+2
|
* downloader: improved downloading and synchronisationobscuren2015-04-194-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 peerobscuren2015-04-181-18/+45
|
* downloader: reset the queue if a peer response with an empty hash setobscuren2015-04-182-14/+36
|
* downloader: all handlers check for isBusyobscuren2015-04-181-7/+7
|
* Merge branch 'develop' into downloader-protoobscuren2015-04-182-5/+117
|\ | | | | | | | | Conflicts: eth/downloader/downloader.go
| * downloader: fixed a typoobscuren2015-04-171-1/+1
| |
| * downloader: added demotion / promotion in prep. for rep. systemobscuren2015-04-162-0/+25
| |
| * downloader: updated downloader and fixed issues with catch upobscuren2015-04-161-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 upobscuren2015-04-161-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 functionalityobscuren2015-04-134-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 queueobscuren2015-04-122-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 queueobscuren2015-04-121-0/+0
|
* downloader: implemented new downloaderobscuren2015-04-124-0/+602