Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | eth, eth/downloader, eth/fetcher: delete eth/61 code | Felix Lange | 2016-07-22 | 1 | -136/+2 |
| | | | | | The eth/61 protocol was disabled in #2776, this commit removes its message handlers and hash-chain sync logic. | ||||
* | eth/downloader, trie: pull head state concurrently with chain | Péter Szilágyi | 2016-05-27 | 1 | -1/+7 |
| | |||||
* | eth/downloader: fix reviewer comments | Péter Szilágyi | 2016-05-20 | 1 | -2/+2 |
| | |||||
* | eth/downloader: stream partial skeleton filling to processor | Péter Szilágyi | 2016-05-17 | 1 | -6/+29 |
| | |||||
* | eth/downloader: implement concurrent header downloads | Péter Szilágyi | 2016-05-17 | 1 | -2/+200 |
| | |||||
* | all: fix go vet warnings | Felix Lange | 2016-04-15 | 1 | -1/+1 |
| | |||||
* | eth: various typos | Leif Jurvetson | 2016-03-16 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2251 from karalabe/increase-downlaoder-queue | Péter Szilágyi | 2016-02-24 | 1 | -1/+1 |
|\ | | | | | eth/downloader: bump the download queue size to prevent starvation | ||||
| * | eth/downloader: bump the download queue size to prevent starvation | Péter Szilágyi | 2016-02-23 | 1 | -1/+1 |
| | | |||||
* | | all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() | Ricardo Catalinas Jiménez | 2016-02-22 | 1 | -1/+1 |
|/ | | | | As we aren't really using the standarized SHA-3 | ||||
* | eth/downloader: raise pending state limit that prevented concurrency | Péter Szilágyi | 2016-02-08 | 1 | -2/+3 |
| | |||||
* | eth/downloader: fetch data proportionally to peer capacity | Péter Szilágyi | 2015-11-19 | 1 | -36/+59 |
| | |||||
* | eth/downloader: don't hang for spurious deliveries | Felix Lange | 2015-11-19 | 1 | -97/+101 |
| | | | | | | | | | | | | | | | | Unexpected deliveries could block indefinitely if they arrived at the right time. The fix is to ensure that the cancellation channel is always closed when the sync ends, unblocking any deliveries. Also remove the atomic check for whether a sync is currently running because it doesn't help and can be misleading. Cancelling always seems to break the tests though. The downloader spawned d.process whenever new data arrived, making it somewhat hard to track when block processing was actually done. Fix this by running d.process in a dedicated goroutine that is tied to the lifecycle of the sync. d.process gets notified of new work by the queue instead of being invoked all the time. This removes a ton of weird workaround code, including a hairy use of atomic CAS. | ||||
* | eth/downloader: fix dysfunctional ignore list hidden by generic set | Péter Szilágyi | 2015-11-04 | 1 | -6/+6 |
| | |||||
* | core, eth, trie: fix data races and merge/review issues | Péter Szilágyi | 2015-10-21 | 1 | -58/+120 |
| | |||||
* | eth: clean out light node notions from eth | Péter Szilágyi | 2015-10-19 | 1 | -4/+6 |
| | |||||
* | eth/downloader: concurrent receipt and state processing | Péter Szilágyi | 2015-10-19 | 1 | -45/+115 |
| | |||||
* | core, eth, trie: direct state trie synchronization | Péter Szilágyi | 2015-10-19 | 1 | -55/+216 |
| | |||||
* | eth/downloader: add fast and light sync strategies | Péter Szilágyi | 2015-10-19 | 1 | -190/+344 |
| | |||||
* | eth/downloader: header-chain order and ancestry check | Péter Szilágyi | 2015-09-15 | 1 | -2/+15 |
| | |||||
* | eth: update metrics collection to handle eth/62 algos | Péter Szilágyi | 2015-08-25 | 1 | -0/+12 |
| | |||||
* | eth: port the synchronisation algo to eth/62 | Péter Szilágyi | 2015-08-25 | 1 | -32/+207 |
| | |||||
* | all: fix license headers one more time | Felix Lange | 2015-07-24 | 1 | -1/+1 |
| | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 1 | -4/+4 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | eth, eth/downloader: transition to eth 61 | Péter Szilágyi | 2015-07-01 | 1 | -12/+16 |
| | |||||
* | eth, eth/downloader: move peer removal into downloader | Péter Szilágyi | 2015-06-15 | 1 | -1/+1 |
| | |||||
* | eth/downloader: cap the hash ban set, add test for it | Péter Szilágyi | 2015-06-08 | 1 | -1/+1 |
| | |||||
* | eth/downloader: fix another rebase error | Péter Szilágyi | 2015-06-08 | 1 | -2/+1 |
| | |||||
* | eth/downloader: preallocate the block cache | Péter Szilágyi | 2015-06-08 | 1 | -16/+9 |
| | |||||
* | eth/downloader: differentiate stale and nonexistent deliveries | Péter Szilágyi | 2015-06-05 | 1 | -3/+12 |
| | |||||
* | eth/downloader: fix #1178, don't request blocks beyond the cache bounds | Péter Szilágyi | 2015-06-04 | 1 | -1/+1 |
| | |||||
* | eth/downloader: add a basic block download congestion control | Péter Szilágyi | 2015-06-03 | 1 | -2/+8 |
| | |||||
* | eth, eth/downloader: surface downloaded block origin, drop on error | Péter Szilágyi | 2015-05-26 | 1 | -9/+11 |
| | |||||
* | eth, eth/downloader: remove duplicate consts, bump hash fetch to 2K | Péter Szilágyi | 2015-05-21 | 1 | -1/+1 |
| | |||||
* | eth, eth/downloader: detect and handle madeup hash attacks | Péter Szilágyi | 2015-05-15 | 1 | -4/+6 |
| | |||||
* | eth/downloader: circumvent hash reordering attacks | Péter Szilágyi | 2015-05-15 | 1 | -6/+5 |
| | |||||
* | eth, eth/downloader: prevent hash repeater attack | Péter Szilágyi | 2015-05-15 | 1 | -9/+11 |
| | |||||
* | eth, eth/downloader: remove parent verification from the downlaoder | Péter Szilágyi | 2015-05-14 | 1 | -8/+2 |
| | |||||
* | eth/downloader: fix #910, thread safe peers & polishes | Péter Szilágyi | 2015-05-11 | 1 | -0/+9 |
| | |||||
* | eth, eth/downloader: make synchronize thread safe | Péter Szilágyi | 2015-05-08 | 1 | -10/+0 |
| | |||||
* | eth/downloader: fix expiration not running while fetching | Péter Szilágyi | 2015-05-07 | 1 | -12/+14 |
| | |||||
* | eth/downloader: prioritize block fetch based on chain position, cap memory use | Péter Szilágyi | 2015-05-07 | 1 | -134/+282 |
| | |||||
* | eth/downloader: put back hashes on block overflow error | obscuren | 2015-05-03 | 1 | -19/+14 |
| | |||||
* | eth, eth/downloader: Moved block processing & graceful shutdown | obscuren | 2015-05-01 | 1 | -4/+54 |
| | | | | | | | 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 | ||||
* | eth/downloader: removed peer td management and best peer selection | obscuren | 2015-04-24 | 1 | -2/+1 |
| | |||||
* | downloader: moved chunk ignoring. Fixes issue with catching up | obscuren | 2015-04-19 | 1 | -7/+15 |
| | |||||
* | downloader: free up peers from work when the downloader resets | obscuren | 2015-04-19 | 1 | -4/+9 |
| | |||||
* | downloader: improved downloading and synchronisation | obscuren | 2015-04-19 | 1 | -0/+3 |
| | | | | | | * 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: reset the queue if a peer response with an empty hash set | obscuren | 2015-04-18 | 1 | -0/+11 |
| | |||||
* | downloader: added missing blocks catchup functionality | obscuren | 2015-04-13 | 1 | -6/+38 |
| | | | | | When a parent is missing in the block list an attempt should be made to fetch the missing parent and grandparents. | ||||
* | downloader: renamed chunks to queue | obscuren | 2015-04-12 | 1 | -0/+98 |