Wenbiao Zheng
ea89f40f0d
eth/fetcher: fix annotation ( #16969 )
7 years ago
Smilenator
40a2c52397
eth/fetcher: reuse variables for hash and number ( #16819 )
7 years ago
Yusup
7aad81f881
eth: fix typos ( #16414 )
7 years ago
Kyuntae Ethan Kim
f6bef558aa
eth: fixed typo ( #16274 )
7 years ago
Miya Chen
40a3856af9
eth/fetcher: check the origin of filter tasks ( #14975 )
...
* eth/fetcher: check the origin of filter task
* eth/fetcher: add some details to fetcher logs
7 years ago
Péter Szilágyi
158d603528
consensus, core: drop all the legacy custom core error types
8 years ago
Péter Szilágyi
09777952ee
core, consensus: pluggable consensus engines ( #3817 )
...
This commit adds pluggable consensus engines to go-ethereum. In short, it
introduces a generic consensus interface, and refactors the entire codebase to
use this interface.
8 years ago
Péter Szilágyi
9184249b39
Logger updates 3 ( #3730 )
...
* accounts, cmd, eth, ethdb: port logs over to new system
* ethdb: drop concept of cache distribution between dbs
* eth: fix some log nitpicks to make them nicer
8 years ago
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
8 years ago
Stein Dekker
4ce83bf57b
eth/fetcher: small typo fix ( #2932 )
8 years ago
Péter Szilágyi
454dc9b7c2
eth/fetcher: fix a log message formatting issue
8 years ago
Felix Lange
016007bd25
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.
8 years ago
Leif Jurvetson
bbbe2360d0
eth: various typos
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
17f65cd1e5
eth: update metrics collection to handle eth/62 algos
9 years ago
Péter Szilágyi
47a7fe5d22
eth: port the synchronisation algo to eth/62
9 years ago
Péter Szilágyi
42f44dda54
eth, eth/downloader: handle header requests, table driven proto tests
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
01fe972113
cmd, core, eth, metrics, p2p: require enabling metrics
10 years ago
Péter Szilágyi
a7d22658ad
eth/fetcher: don't drop on future blocks, just not propagate
10 years ago
Péter Szilágyi
29d53b2073
eth/fetcher: don't double filter/fetch the same block
10 years ago
Péter Szilágyi
792b0ddccd
core, eth, eth/fetcher, ethdb: polish metrics gathering a bit
10 years ago
Péter Szilágyi
6260b86c15
eth/fetcher: fix failed merge
10 years ago
Péter Szilágyi
b426301467
cmd/geth, eth/fetcher: polish metrics reporting, add some more
10 years ago
Péter Szilágyi
821e01b013
cmd/geth, eth/fetcher: initial metrics support
...
Conflicts:
cmd/geth/admin.go
10 years ago
Péter Szilágyi
3ce17d2862
eth/fetcher: fix a closure data race
10 years ago
Péter Szilágyi
b53f701c27
eth/fetcher: remove test sleeps (15s -> 2.8s)
10 years ago
Péter Szilágyi
1989d1491a
eth/fetcher: handle and (crude) test block memory DOS
10 years ago
Péter Szilágyi
d36c25bcbc
eth/fetcher: handle and test block announce DOS attacks
10 years ago
Péter Szilágyi
8c4c7ea192
eth/fetcher: lower max cache size, add timeout slack
10 years ago
Péter Szilágyi
ecd19919c5
eth/fetcher: allow backward uncle imports too
10 years ago
Péter Szilágyi
b91b581b80
eth, eth/fetcher: propagate after header verify, announce only on insert
10 years ago
Péter Szilágyi
5ec6ecc511
eth, eth/fetcher: move propagated block import into fetcher
10 years ago
Péter Szilágyi
37c5ff392f
eth/fetcher: build longest chain until proven otherwise
10 years ago
Péter Szilágyi
2a7411bc96
eth/fetcher: fix premature queue cleanup, general polishes
10 years ago
Péter Szilágyi
497a7f1717
eth, eth/fetcher: define and enforce propagation boundaries
10 years ago
Péter Szilágyi
026ee40650
eth/fetcher: deduplicate future blocks
10 years ago
Péter Szilágyi
11c8f83a58
eth, eth/fetcher: cache future propagated blocks too
10 years ago
Péter Szilágyi
057bc237ad
eth, eth/fetcher: use an import queue to store out of order blocks
10 years ago
Péter Szilágyi
2a1b722d04
eth/fetcher: fix timer reset bug, add initial tests
10 years ago
Péter Szilágyi
7c2af1c117
eth, eth/fetcher: separate notification sync mechanism
10 years ago