plugeth/core/types
Martin Holst Swende 105922180f
eth/downloader: refactor downloader + queue (#21263)
* eth/downloader: refactor downloader + queue

downloader, fetcher: throttle-metrics, fetcher filter improvements, standalone resultcache

downloader: more accurate deliverytime calculation, less mem overhead in state requests

downloader/queue: increase underlying buffer of results, new throttle mechanism

eth/downloader: updates to tests

eth/downloader: fix up some review concerns

eth/downloader/queue: minor fixes

eth/downloader: minor fixes after review call

eth/downloader: testcases for queue.go

eth/downloader: minor change, don't set progress unless progress...

eth/downloader: fix flaw which prevented useless peers from being dropped

eth/downloader: try to fix tests

eth/downloader: verify non-deliveries against advertised remote head

eth/downloader: fix flaw with checking closed-status causing hang

eth/downloader: hashing avoidance

eth/downloader: review concerns + simplify resultcache and queue

eth/downloader: add back some locks, address review concerns

downloader/queue: fix remaining lock flaw

* eth/downloader: nitpick fixes

* eth/downloader: remove the *2*3/4 throttling threshold dance

* eth/downloader: print correct throttle threshold in stats

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2020-07-24 10:46:26 +03:00
..
block_test.go rlp: reduce allocations for big.Int and byte array encoding (#21291) 2020-07-06 11:17:09 +02:00
block.go eth/downloader: refactor downloader + queue (#21263) 2020-07-24 10:46:26 +03:00
bloom9_test.go core: Simplify bloom9 tests with available convenience method TestBytes 2016-05-22 16:42:46 -07:00
bloom9.go all: simplify s[:] to s where s is a slice (#17673) 2018-09-14 22:07:13 +02:00
derive_sha.go core, trie: new trie 2015-09-22 22:53:49 +02:00
gen_header_json.go all: simplify timestamps to uint64 (#19372) 2019-04-02 23:28:48 +03:00
gen_log_json.go ethclient: serialize negative block number as "pending" (#21177) 2020-07-21 10:51:15 +02:00
gen_receipt_json.go core/types: add block location fields to receipt (#17662) 2019-03-27 13:39:25 +01:00
gen_tx_json.go core/types: add block location fields to receipt (#17662) 2019-03-27 13:39:25 +01:00
log_test.go core/types: use gencodec for JSON marshaling code 2017-03-07 12:45:12 +01:00
log.go ethclient: serialize negative block number as "pending" (#21177) 2020-07-21 10:51:15 +02:00
receipt_test.go core/types: fix cummulative gas bug and legacy decoding tests 2019-04-16 09:50:11 +03:00
receipt.go core/types: fix cummulative gas bug and legacy decoding tests 2019-04-16 09:50:11 +03:00
transaction_signing_test.go all: switch gas limits from big.Int to uint64 2018-01-03 14:45:35 +02:00
transaction_signing.go crypto: add SignatureLength constant and use it everywhere (#19996) 2019-08-22 15:14:06 +02:00
transaction_test.go all: replace t.Log(); t.FailNow() with t.Fatal() (#19849) 2019-07-18 15:21:24 +03:00
transaction.go Revert "core, txpool: less allocations when handling transactions (#21232)" 2020-07-09 14:02:03 +02:00