aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/downloader_test.go
Commit message (Collapse)AuthorAgeFilesLines
* eth/downloader: fix active peer shadowing, polish func namesPéter Szilágyi2015-05-131-4/+4
|
* eth/downloader: fix #910, thread safe peers & polishesPéter Szilágyi2015-05-111-1/+2
|
* eth: added a cancel method for the downloaderobscuren2015-05-101-0/+43
| | | | | | | | | Added a cancel method to the downloader which gracefully shuts down any active syncing process (hash fetching or block downloading) and resets the queue and remove any pending blocks. Issue with the downloader which would stall because of an active ongoing process when an invalid block was found.
* eth, eth/downloader: handle sync errors a bit more gracefullyPéter Szilágyi2015-05-081-3/+3
|
* eth, eth/downloader: make synchronize thread safePéter Szilágyi2015-05-081-1/+1
|
* eth/downloader: fix priority queue reset, add throttling testPéter Szilágyi2015-05-071-0/+48
|
* eth/downloader: prioritize block fetch based on chain position, cap memory usePéter Szilágyi2015-05-071-2/+2
|
* downloader: hash downloading recoveryobscuren2015-05-031-10/+17
| | | | | | If a peer fails to respond (disconnect, etc) during hash downloading switch to a different peer which has it's current_hash in the queue's peer set.
* eth/downloader: added additional testsobscuren2015-05-031-4/+11
|
* eth, eth/downloader: Moved block processing & graceful shutdownobscuren2015-05-011-20/+35
| | | | | | | The downloader is no longer responsible for processing blocks. The eth-protocol handler now takes care of this instead. Added graceful shutdown during block processing. Closes #846
* core: fixed tetst to reflect (int, error) return by insertChainobscuren2015-04-291-2/+2
|
* eth/downloader: fixed testsobscuren2015-04-241-12/+8
|
* eth, eth/downloader: don't require td on downloader. Fixed testsobscuren2015-04-241-17/+17
|
* downloader: fixed tests with low ttlobscuren2015-04-191-0/+1
|
* downloader: moved chunk ignoring. Fixes issue with catching upobscuren2015-04-191-2/+4
|
* downloader: added missing blocks catchup functionalityobscuren2015-04-131-5/+32
| | | | | When a parent is missing in the block list an attempt should be made to fetch the missing parent and grandparents.
* downloader: implemented new downloaderobscuren2015-04-121-0/+128