aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/downloader_test.go
Commit message (Expand)AuthorAgeFilesLines
* eth/downloader: cap the hash ban set, add test for itPéter Szilágyi2015-06-081-0/+43
* eth/downloader: fix throttling test to be less timing dependentPéter Szilágyi2015-06-081-3/+7
* eth/downloader: preallocate the block cachePéter Szilágyi2015-06-081-1/+1
* eth/downloader: update test for shitty travisPéter Szilágyi2015-06-081-1/+1
* eth/downloader: accumulating hash bans for reconnecting attackersPéter Szilágyi2015-06-081-0/+35
* eth/downloader: clean up tests and unused variablesPéter Szilágyi2015-06-081-114/+75
* eth/downloader: add a basic block download congestion controlPéter Szilágyi2015-06-031-11/+11
* eth, eth/downloader: surface downloaded block origin, drop on errorPéter Szilágyi2015-05-261-4/+4
* Merge pull request #1064 from karalabe/downloader-attacksJeffrey Wilcke2015-05-221-2/+59
|\
| * eth, eth/downloader: remove duplicate consts, bump hash fetch to 2KPéter Szilágyi2015-05-211-1/+1
| * eth/downloader: circumvent a forged block chain with known parent attackPéter Szilágyi2015-05-211-1/+35
| * eth/downloader: prevent a peer from dripping bad hashesPéter Szilágyi2015-05-211-1/+24
* | eth/downloader: fix test to it doesn't time out on a slow machinePéter Szilágyi2015-05-201-1/+1
|/
* eth/downloader: fix #992, where tests may time out on a slow machinePéter Szilágyi2015-05-161-0/+6
* eth/downloader: circumvent a fake blockchain attackPéter Szilágyi2015-05-151-15/+49
* eth, eth/downloader: detect and handle madeup hash attacksPéter Szilágyi2015-05-151-6/+39
* eth/downloader: circumvent hash reordering attacksPéter Szilágyi2015-05-151-28/+62
* eth/downloader: check sync after failed attacksPéter Szilágyi2015-05-151-6/+18
* eth/downloader: add a test for detecting missing blocksPéter Szilágyi2015-05-151-5/+23
* eth, eth/downloader: prevent hash repeater attackPéter Szilágyi2015-05-151-0/+29
* eth/downloader: fixed testobscuren2015-05-151-1/+3
* eth/downloader: add a small additional check to the testPéter Szilágyi2015-05-141-0/+3
* eth, eth/downloader: remove parent verification from the downlaoderPéter Szilágyi2015-05-141-17/+9
* eth, eth/downloader: handle a potential unknown parent attackPéter Szilágyi2015-05-141-17/+83
* 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
* 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
* eth/downloader: added additional testsobscuren2015-05-031-4/+11
* eth, eth/downloader: Moved block processing & graceful shutdownobscuren2015-05-011-20/+35
* 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
* downloader: implemented new downloaderobscuren2015-04-121-0/+128