Péter Szilágyi
48709d5340
[release/1.4.11] eth, eth/downloader: better remote head tracking
...
(cherry picked from commit 1dd272080d
)
Conflicts:
eth/handler.go
eth/sync.go
8 years ago
Felix Lange
65da8f601f
[release/1.4.11] eth, eth/downloader, eth/fetcher: delete eth/61 code
...
The eth/61 protocol was disabled in #2776 , this commit removes its
message handlers and hash-chain sync logic.
(cherry picked from commit 016007bd25
)
Conflicts:
eth/handler.go
eth/handler_test.go
8 years ago
Péter Szilágyi
058c5fe960
[release/1.4.6] eth/downloader: adaptive quality of service tuning
...
(cherry picked from commit 88f174a014
)
9 years ago
Péter Szilágyi
7df36e5ec1
[release/1.4.6] eth/downloader: implement concurrent header downloads
...
(cherry picked from commit b40dc8a1da
)
9 years ago
Péter Szilágyi
e3f2b541f2
eth/downloader: fix a throughput estimation data race
9 years ago
Péter Szilágyi
b6f5523bdc
eth/downloader: fetch data proportionally to peer capacity
9 years ago
Péter Szilágyi
b658a73ed5
eth/downloader: fix dysfunctional ignore list hidden by generic set
9 years ago
Péter Szilágyi
5b0ee8ec30
core, eth, trie: fix data races and merge/review issues
9 years ago
Péter Szilágyi
ab27bee25a
core, eth, trie: direct state trie synchronization
9 years ago
Péter Szilágyi
f186b39018
eth/downloader: add fast and light sync strategies
9 years ago
Péter Szilágyi
47f62a67aa
eth/downloader: match capabilities when querying idle peers
9 years ago
Péter Szilágyi
47a7fe5d22
eth: port the synchronisation algo to eth/62
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
Péter Szilágyi
f43c07cb3c
eth, eth/downloader: transition to eth 61
10 years ago
Péter Szilágyi
af51dc4d63
eth, eth/downloader: pass the eth protocol version through
10 years ago
Péter Szilágyi
b240983e2b
eth, eth/downloader: do async block fetches, add dl tests
10 years ago
Péter Szilágyi
63c6cedb14
eth/downloader: cap the hash ban set, add test for it
10 years ago
Péter Szilágyi
94e4aa6ea9
eth/downloader: log hard timeouts and reset capacity
10 years ago
Péter Szilágyi
d754c25cc8
eth/downloader: drop log entry from peer, it's covered already
10 years ago
Péter Szilágyi
28c32d1b1b
eth/downloader: fix #1178 , don't request blocks beyond the cache bounds
10 years ago
Péter Szilágyi
3ec159ab6b
eth/downloader: demote peers if they exceed the soft limits at 1 blocks already
10 years ago
Péter Szilágyi
c9a546c310
eth/downloader: add a basic block download congestion control
10 years ago
Péter Szilágyi
064cf16099
eth/downloader: use count instead of peers, clearer
10 years ago
Péter Szilágyi
d37a2559b9
eth/downloader: revert to demotion, use harsher penalty
10 years ago
Péter Szilágyi
70c65835f4
eth/downloader: fix #910 , thread safe peers & polishes
10 years ago
Péter Szilágyi
fa53c5e074
eth/downloader: use count instead of peers, clearer
10 years ago
Péter Szilágyi
ebbd8b0743
eth/downloader: revert to demotion, use harsher penalty
10 years ago
Péter Szilágyi
685862d2ce
eth/downloader: fix #910 , thread safe peers & polishes
10 years ago
Péter Szilágyi
4800c94392
eth/downloader: prioritize block fetch based on chain position, cap memory use
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
5c59d95532
downloader: defer peer reset after download
10 years ago
obscuren
a1d97ea4db
typo
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
205378016f
downloader: added demotion / promotion in prep. for rep. system
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
7dcb9825c3
downloader: return an error for peer.fetch and return chunk to queue
...
If a peer was somehow already fetching and somehow managed to end up in
the `available` pool it should return it's work.
10 years ago
obscuren
acf8452c33
downloader: implemented new downloader
10 years ago