aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/downloader.go
Commit message (Expand)AuthorAgeFilesLines
* eth, eth/downloader: remove duplicate consts, bump hash fetch to 2KPéter Szilágyi2015-05-211-4/+6
* eth/downloader: circumvent a forged block chain with known parent attackPéter Szilágyi2015-05-211-12/+21
* eth/downloader: prevent a peer from dripping bad hashesPéter Szilágyi2015-05-211-8/+12
* eth/downloader: moved start eventobscuren2015-05-161-2/+2
* eth/downloader: circumvent download race between crosscheck and hashesPéter Szilágyi2015-05-161-5/+7
* eth/downloader: fix cancel channel double closePéter Szilágyi2015-05-161-3/+8
* eth/downloader: circumvent a fake blockchain attackPéter Szilágyi2015-05-151-12/+9
* eth/downloader: don't penalize for stale cross checksPéter Szilágyi2015-05-151-7/+17
* eth, eth/downloader: detect and handle madeup hash attacksPéter Szilágyi2015-05-151-32/+64
* eth/downloader: circumvent hash reordering attacksPéter Szilágyi2015-05-151-15/+21
* eth/downloader: check sync after failed attacksPéter Szilágyi2015-05-151-1/+5
* eth/downloader: add a test for detecting missing blocksPéter Szilágyi2015-05-151-3/+1
* eth, eth/downloader: prevent hash repeater attackPéter Szilágyi2015-05-151-4/+6
* eth, eth/downloader, miner: use download events to check miner startobscuren2015-05-151-1/+16
* Merge pull request #974 from karalabe/downloader-fix-unknown-parent-attackJeffrey Wilcke2015-05-141-9/+2
|\
| * eth/downloader: remove a previous leftoverPéter Szilágyi2015-05-141-1/+0
| * eth, eth/downloader: remove parent verification from the downlaoderPéter Szilágyi2015-05-141-12/+2
| * eth, eth/downloader: handle a potential unknown parent attackPéter Szilágyi2015-05-141-8/+12
* | Merge pull request #950 from karalabe/downloader-cancel-syncJeffrey Wilcke2015-05-141-32/+37
|\ \
| * | eth/downloader: remove a redundant sync progress checkPéter Szilágyi2015-05-131-4/+0
| * | eth/downloader: add a user sync notificatonPéter Szilágyi2015-05-131-0/+5
| * | eth/downloader: sync the cancel channel during cancel tooPéter Szilágyi2015-05-131-21/+4
| * | eth/downloader: fix deliveries to check for sync cancelsPéter Szilágyi2015-05-131-10/+31
| |/
* / eth/downloader: fix nil panic caused by wrong variable usePéter Szilágyi2015-05-131-1/+1
|/
* eth/downloader: fix active peer shadowing, polish func namesPéter Szilágyi2015-05-131-18/+10
* eth, eth/downloader: moved pending queue error message to debugobscuren2015-05-111-2/+2
* eth/downloader: use count instead of peers, clearerPéter Szilágyi2015-05-111-2/+2
* eth/downloader: revert to demotion, use harsher penaltyPéter Szilágyi2015-05-111-3/+9
* eth/downloader: fix #910, thread safe peers & polishesPéter Szilágyi2015-05-111-84/+56
* eth: added a cancel method for the downloaderobscuren2015-05-101-2/+60
* eth/downloader: fix leftover state between syncsPéter Szilágyi2015-05-081-1/+4
* eth, eth/downloader: handle sync errors a bit more gracefullyPéter Szilágyi2015-05-081-15/+13
* eth, eth/downloader: make synchronize thread safePéter Szilágyi2015-05-081-57/+15
* eth/downloader: fix expiration not running while fetchingPéter Szilágyi2015-05-071-22/+18
* eth/downloader: prioritize block fetch based on chain position, cap memory usePéter Szilágyi2015-05-071-120/+70
* downloader: hash downloading recoveryobscuren2015-05-031-19/+54
* eth/downloader: changed has to blockHashes for chain linkingobscuren2015-05-031-1/+1
* eth, eth/downloader: Moved block processing & graceful shutdownobscuren2015-05-011-149/+132
* eth/downloader: delete blocks from queueobscuren2015-04-301-2/+14
* eth, eth/downloader: remove bad peers from peer setobscuren2015-04-301-10/+8
* eth/downloader: drop blockobscuren2015-04-301-1/+1
* eth/downloader: ignore orphan blocks in the downloader.obscuren2015-04-291-5/+9
* core: return the index of the block that failed when inserting a chainobscuren2015-04-291-5/+4
* eth/downloader: reset the chain when parent is missing during processingobscuren2015-04-291-0/+2
* eth: check if downloader is busy before showing log messageobscuren2015-04-291-0/+4
* eth/downloader: removed update loop and synch channelobscuren2015-04-251-25/+0
* eth, eth/downloader: simplified synchronisation processobscuren2015-04-241-24/+13
* eth, eth/downloader: don't require td on downloader. Fixed testsobscuren2015-04-241-4/+1
* eth, eth/downloader: moved peer selection to protocol handlerobscuren2015-04-241-45/+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-191-2/+2
* movedobscuren2015-04-191-6/+6
* Removed debug printlnobscuren2015-04-191-3/+0
* downloader: moved chunk ignoring. Fixes issue with catching upobscuren2015-04-191-17/+22
* downloader: defer peer reset after downloadobscuren2015-04-191-4/+7
* downloader: reset hashTtl on receiveobscuren2015-04-191-0/+2
* downloader: don't remove peers. keep them aroundobscuren2015-04-191-2/+3
* downloader: free up peers from work when the downloader resetsobscuren2015-04-191-1/+3
* downloader: throw an error if there are no peers available for downloadobscuren2015-04-191-6/+16
* downloader: fixed a race condition for download statusobscuren2015-04-191-1/+0
* eth: adapted to new synchronous api of downloader's AddBlockobscuren2015-04-191-2/+0
* downloader: improved downloading and synchronisationobscuren2015-04-191-109/+35
* 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-181-14/+25
* downloader: all handlers check for isBusyobscuren2015-04-181-7/+7
* Merge branch 'develop' into downloader-protoobscuren2015-04-181-5/+97
|\
| * downloader: fixed a typoobscuren2015-04-171-1/+1
| * downloader: added demotion / promotion in prep. for rep. systemobscuren2015-04-161-0/+5
| * downloader: updated downloader and fixed issues with catch upobscuren2015-04-161-21/+47
* | downloader: updated downloader and fixed issues with catch upobscuren2015-04-161-22/+48
|/
* downloader: added missing blocks catchup functionalityobscuren2015-04-131-121/+190
* downloader: return an error for peer.fetch and return chunk to queueobscuren2015-04-121-2/+8
* downloader: implemented new downloaderobscuren2015-04-121-0/+328