Péter Szilágyi
eafdc1f8e3
eth, eth/downloader: surface downloaded block origin, drop on error
10 years ago
Péter Szilágyi
06a041589f
eth, eth/downloader: remove duplicate consts, bump hash fetch to 2K
10 years ago
Péter Szilágyi
83226762c2
eth, eth/downloader: detect and handle madeup hash attacks
10 years ago
Péter Szilágyi
72411eb24c
eth/downloader: circumvent hash reordering attacks
10 years ago
Péter Szilágyi
cd2fb09051
eth, eth/downloader: prevent hash repeater attack
10 years ago
Péter Szilágyi
3eda70c64c
eth, eth/downloader: remove parent verification from the downlaoder
10 years ago
Péter Szilágyi
70c65835f4
eth/downloader: fix #910 , thread safe peers & polishes
10 years ago
Péter Szilágyi
685862d2ce
eth/downloader: fix #910 , thread safe peers & polishes
10 years ago
Péter Szilágyi
9d188f73b5
eth, eth/downloader: make synchronize thread safe
10 years ago
Péter Szilágyi
45f8304f3c
eth/downloader: fix expiration not running while fetching
10 years ago
Péter Szilágyi
4800c94392
eth/downloader: prioritize block fetch based on chain position, cap memory use
10 years ago
obscuren
f2a2b2ac70
eth/downloader: put back hashes on block overflow error
10 years ago
obscuren
016f152b36
eth, eth/downloader: Moved block processing & graceful shutdown
...
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
10 years ago
obscuren
bd9c76097d
eth/downloader: removed peer td management and best peer selection
10 years ago
obscuren
c58918c84a
downloader: moved chunk ignoring. Fixes issue with catching up
10 years ago
obscuren
6830ddb659
downloader: free up peers from work when the downloader resets
10 years ago
obscuren
c2c24b3bb4
downloader: improved downloading and synchronisation
...
* 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
10 years ago
obscuren
8244825bbf
downloader: reset the queue if a peer response with an empty hash set
10 years ago
obscuren
a8a2b2a488
downloader: added missing blocks catchup functionality
...
When a parent is missing in the block list an attempt should be made to
fetch the missing parent and grandparents.
10 years ago
obscuren
6efa8db888
downloader: renamed chunks to queue
10 years ago
obscuren
acf8452c33
downloader: implemented new downloader
10 years ago