Péter Szilágyi
c503f98f6d
all: rename internal 1559 gas fields, add support for graphql ( #23010 )
...
* all: rename internal 1559 gas fields, add support for graphql
* cmd/evm/testdata, core: use public 1559 gas names on API surfaces
2021-06-08 12:05:41 +02:00
Péter Szilágyi
92b8f28df3
Merge pull request #22995 from karalabe/enforce-miner-tip
...
core, eth, miner: enforce configured mining reward post 1559 too
2021-06-04 10:57:22 +03:00
Péter Szilágyi
7e915ee379
core, eth, miner: enforce configured mining reward post 1559 too
2021-06-04 10:18:37 +03:00
Péter Szilágyi
7760a60794
Merge pull request #22973 from karalabe/the-switch
...
eth/ethconfig: flip the default from fast to snap sync
2021-06-03 12:05:08 +03:00
Péter Szilágyi
9aaa4208a8
eth/ethconfig: flip the default from fast to snap sync
2021-05-31 10:21:48 +03:00
Péter Szilágyi
6bc72783f6
Merge pull request #22921 from karalabe/les-simplify-reqids
...
les: generate random nums directly, not via strange conversions
2021-05-21 12:51:56 +03:00
Péter Szilágyi
835fe06f1d
les: generate random nums directly, not via strange conversions
2021-05-21 12:36:04 +03:00
Péter Szilágyi
3e795881ea
eth, p2p/msgrate: move peer QoS tracking to its own package and use it for snap ( #22876 )
...
This change extracts the peer QoS tracking logic from eth/downloader, moving
it into the new package p2p/msgrate. The job of msgrate.Tracker is determining
suitable timeout values and request sizes per peer.
The snap sync scheduler now uses msgrate.Tracker instead of the hard-coded 15s
timeout. This should make the sync work better on network links with high latency.
2021-05-19 14:09:03 +02:00
Péter Szilágyi
1cca781a02
Merge pull request #22840 from holiman/eip_3554
...
consensus/ethash: implement EIP-3554 (bomb delay)
2021-05-12 10:19:08 +03:00
Péter Szilágyi
f34f749e81
Merge pull request #22857 from karalabe/tracer-stack-fix-2
...
eth/tracers: do the JSON serialization via .js to capture C faults
2021-05-11 17:21:04 +03:00
Péter Szilágyi
0524cede37
eth/tracers: do the JSON serialization via .js to capture C faults
2021-05-11 16:23:54 +03:00
Péter Szilágyi
e77ef8fa8a
Merge pull request #22809 from holiman/alt_3541
...
core: implement EIP-3541
2021-05-07 08:19:21 +03:00
Péter Szilágyi
640d2c5e30
Merge pull request #22803 from karalabe/silence-scary-warning
...
eth: don't print db upgrade warning on db init
2021-05-04 10:54:25 +03:00
Péter Szilágyi
856c379626
eth: don't print db upgrade warning on db init
2021-05-03 15:42:43 +03:00
Péter Szilágyi
fc1c1cbea9
Merge pull request #22739 from holiman/remove_code
...
core: remove old conversion to shuffle leveldb blocks into ancients
2021-05-03 15:37:46 +03:00
Péter Szilágyi
afc1abd878
Merge pull request #22789 from karalabe/snap-fix-batch
...
eth/protocols/snap: use storage batch, not account batch in st task
2021-04-30 21:12:09 +03:00
Péter Szilágyi
52b5d2d869
eth/protocols/snap: use storage batch, not account batch in st task
2021-04-30 18:24:34 +03:00
Péter Szilágyi
8681a2536c
Merge pull request #22777 from karalabe/snapshots-abort-resume-on-sync
...
core, eth: abort snapshot generation on snap sync and resume later
2021-04-30 17:04:05 +03:00
Péter Szilágyi
745757ac6b
core, eth: abort snapshot generation on snap sync and resume later
2021-04-30 17:03:10 +03:00
Péter Szilágyi
871f50b911
Merge pull request #22765 from karalabe/revert-eth-hashrate
...
eth: restore eth_hashrate API endpoint
2021-04-29 12:03:15 +03:00
Péter Szilágyi
06f44c0fd4
eth: restore eth_hashrate API endpoint
2021-04-29 12:02:30 +03:00
Péter Szilágyi
64b60c7995
Merge pull request #22762 from karalabe/snap-lower-complexity
...
core, eth, ethdb, trie: simplify range proofs
2021-04-29 11:29:28 +03:00
Péter Szilágyi
fae165a5de
core, eth, ethdb, trie: simplify range proofs
2021-04-29 10:59:08 +03:00
Péter Szilágyi
abb6cfae6a
Merge pull request #22761 from karalabe/snap-small-packets
...
eth/protocols/snap: lower the packet size to avoid overloading link
2021-04-28 22:40:38 +03:00
Péter Szilágyi
558bff4008
eth/protocols/snap: lower the packet size to avoid overloading link
2021-04-28 21:40:06 +03:00
Péter Szilágyi
d9c9ee5ac9
Merge pull request #22753 from karalabe/p2p-tracker-stopfix
...
p2p/tracker: only reschedule wake if previous didn't run
2021-04-27 21:49:54 +03:00
Péter Szilágyi
ff3535e8e0
p2p/tracker: only reschedule wake if previous didn't run
2021-04-27 21:47:59 +03:00
Péter Szilágyi
55043eec45
Merge pull request #22751 from holiman/tracker_fix
...
p2p/tracker: properly clean up fulfilled requests
2021-04-27 21:43:07 +03:00
Péter Szilágyi and Martin Holst Swende
caea6c4661
eth/protocols/snap: generate storage trie from full dirty snap data ( #22668 )
...
* eth/protocols/snap: generate storage trie from full dirty snap data
* eth/protocols/snap: get rid of some more dead code
* eth/protocols/snap: less frequent logs, also log during trie generation
* eth/protocols/snap: implement dirty account range stack-hashing
* eth/protocols/snap: don't loop on account trie generation
* eth/protocols/snap: fix account format in trie
* core, eth, ethdb: glue snap packets together, but not chunks
* eth/protocols/snap: print completion log for snap phase
* eth/protocols/snap: extended tests
* eth/protocols/snap: make testcase pass
* eth/protocols/snap: fix account stacktrie commit without defer
* ethdb: fix key counts on reset
* eth/protocols: fix typos
* eth/protocols/snap: make better use of delivered data (#44 )
* eth/protocols/snap: make better use of delivered data
* squashme
* eth/protocols/snap: reduce chunking
* squashme
* eth/protocols/snap: reduce chunking further
* eth/protocols/snap: break out hash range calculations
* eth/protocols/snap: use sort.Search instead of looping
* eth/protocols/snap: prevent crash on storage response with no keys
* eth/protocols/snap: nitpicks all around
* eth/protocols/snap: clear heal need on 1-chunk storage completion
* eth/protocols/snap: fix range chunker, add tests
Co-authored-by: Péter Szilágyi <peterke@gmail.com >
* trie: fix test API error
* eth/protocols/snap: fix some further liter issues
* eth/protocols/snap: fix accidental batch reuse
Co-authored-by: Martin Holst Swende <martin@swende.se >
2021-04-27 17:19:59 +03:00
Péter Szilágyi
85a0bab6d7
Merge pull request #21467 from holiman/minor_ethashfix
...
consensus/ethash: less lookups of block data
2021-04-27 12:26:46 +03:00
Péter Szilágyi
1fb9a6dd32
eth/protocols, prp/tracker: add support for req/rep rtt tracking ( #22608 )
...
* eth/protocols, prp/tracker: add support for req/rep rtt tracking
* p2p/tracker: sanity cap the number of pending requests
* pap/tracker: linter <3
* p2p/tracker: disable entire tracker if no metrics are enabled
2021-04-22 11:42:46 +03:00
Péter Szilágyi
e43ac53264
Merge pull request #22686 from holiman/minor_fixes
...
core/state/snapshot: avoid copybytes for stacktrie
2021-04-18 17:53:01 +03:00
Péter Szilágyi
f8afb681dd
Merge pull request #22678 from karalabe/snap-ephemeral-channels
...
eth/protocols/snap: use ephemeral channels to avoid cross-sync delveries
2021-04-16 09:27:39 +03:00
Péter Szilágyi
9553c98de8
eth/protocols/snap: use ephemeral channels to avoid cross-sync delveries
2021-04-15 21:16:54 +03:00
Péter Szilágyi
1e207342b5
all: make logs a bit easier on the eye to digest ( #22665 )
...
* all: add thousandths separators for big numbers on log messages
* p2p/sentry: drop accidental file
* common, log: add fast number formatter
* common, eth/protocols/snap: simplifty fancy num types
* log: handle nil big ints
2021-04-15 20:35:00 +03:00
Péter Szilágyi
d8ff53dfb8
Merge pull request #22666 from karalabe/remove-stale-datatype
...
core/types: drop some relice data types
2021-04-15 02:14:09 +03:00
Péter Szilágyi
d5e57948d1
core/types: drop some relice data types
2021-04-14 23:39:42 +03:00
Péter Szilágyi
9c653ff662
Merge pull request #22636 from karalabe/drop-eth64
...
eth, les: drop support for eth/64
2021-04-09 13:52:21 +03:00
Péter Szilágyi
fe1586b094
eth, les: drop support for eth/64, fix eth/66 tests
2021-04-09 10:39:45 +03:00
Péter Szilágyi
a665f5d2d6
Merge pull request #22632 from karalabe/cht-1.10.2
...
params: update CHTs for v1.10.2
2021-04-08 13:27:01 +03:00
Péter Szilágyi
e3ff37c47a
params: update CHTs for v1.10.2
2021-04-08 13:23:34 +03:00
Péter Szilágyi
264fff7dd4
Merge pull request #22629 from karalabe/fix-chain-tracing-from-0
...
eth: fix tracing state retrieval if requesting the non-dirty genesis
2021-04-07 18:52:29 +03:00
Péter Szilágyi
2a7c4b62a9
eth: fix tracing state retrieval if requesting the non-dirty genesis
2021-04-07 18:35:25 +03:00
Péter Szilágyi
73ed68988f
Merge pull request #22604 from karalabe/hashrate-capitalization-fix
...
all: fix miner hashRate -> hashrate on API calls
2021-03-31 19:27:23 +03:00
Péter Szilágyi
55300d4fdb
all: fix miner hashRate -> hashrate on API calls
2021-03-31 10:56:51 +03:00
Péter Szilágyi
61ff3e86b2
core/state/snapshot, ethdb: track deletions more accurately ( #22582 )
...
* core/state/snapshot, ethdb: track deletions more accurately
* core/state/snapshot: don't reset the iterator, leveldb's screwy
* ethdb: don't mess with the insert batches for now
2021-03-30 19:04:22 +03:00
Péter Szilágyi
43a3768066
Merge pull request #22596 from holiman/snap_timelimits
...
eth/protocols/snap: try to prevent requests timing out
2021-03-30 14:49:59 +03:00
Péter Szilágyi
e7f3962612
Merge pull request #22591 from karalabe/snap-detailed-timeout-logs
...
eth/protocols/snap: add peer id and req id to the timeout logs
2021-03-26 23:14:16 +02:00
Péter Szilágyi
099be04100
eth/protocols/snap: add peer id and req id to the timeout logs
2021-03-26 22:29:22 +02:00
Péter Szilágyi
063f78c6ba
Merge pull request #22590 from karalabe/nil-histogram
...
metrics/influxdb: don't push empty histograms, no measurement != 0
2021-03-26 21:43:09 +02:00
Péter Szilágyi
62379f02c6
metrics/influxdb: don't push empty histograms, no measurement != 0
2021-03-26 21:13:52 +02:00
Péter Szilágyi
6477ea6502
Merge pull request #22586 from karalabe/resettting-histogram
...
eth/protocols, metrics: use resetting histograms for rare packets
2021-03-26 16:49:37 +02:00
Péter Szilágyi
2550e46269
eth/protocols, metrics: use resetting histograms for rare packets
2021-03-26 16:14:12 +02:00
Péter Szilágyi
efe0229768
Merge pull request #22581 from karalabe/network-latency-monitoring
...
eth/protocols, metrics, p2p: add handler performance metrics
2021-03-26 14:26:51 +02:00
Péter Szilágyi
6d7ff6acea
eth/protocols, metrics, p2p: add handler performance metrics
2021-03-26 14:00:06 +02:00
Péter Szilágyi
4adf0b9187
Merge pull request #22573 from holiman/checkfreq
...
core: fix condition on header verification
2021-03-25 13:33:53 +02:00
Péter Szilágyi
477ec75323
Merge pull request #22513 from holiman/no_snap_bloom
...
eth/protocols/snap, eth/downloader: don't use bloom filter in snap sync
2021-03-23 11:37:32 +02:00
Péter Szilágyi
f304290b7d
Merge pull request #22551 from karalabe/snapshot-parent-get-panic
...
core/state/snapshot: fix panic on missing parent
2021-03-22 23:34:12 +02:00
Péter Szilágyi
a31f6d54df
core/state/snapshot: fix panic on missing parent
2021-03-22 22:41:28 +02:00
Péter Szilágyi
182670849e
params: begin v1.10.2 release cycle
2021-03-08 11:34:08 +02:00
Péter Szilágyi
c2d2f4ed8f
params: release Geth v1.10.1
2021-03-08 11:32:20 +02:00
Péter Szilágyi
5aba946164
Merge pull request #22452 from holiman/testupdate_berlin
...
tests: update reference tests with 2315 removed from Berlin
2021-03-07 22:27:53 +02:00
Péter Szilágyi
44c0bb2b44
Merge pull request #22426 from ethereum/revert-22413-unship-berlin
...
Revert "core/forkid, params: unset Berlin fork number"
2021-03-07 19:39:11 +02:00
Péter Szilágyi
658cb9fc4f
Merge pull request #22414 from karalabe/unship-2315
...
core, eth: unship EIP 2315
2021-03-07 19:38:49 +02:00
Péter Szilágyi
dab90e4d42
Merge pull request #22432 from karalabe/add-hirsute
...
build: add support for Ubuntu Hirsute Hippo
2021-03-04 14:03:54 +02:00
Péter Szilágyi
5b95453ef2
build: add support for Ubuntu Hirsute Hippo
2021-03-04 13:57:02 +02:00
Péter Szilágyi
89026d5d70
Merge pull request #22431 from karalabe/builder-fix-ppa
...
build: fix PPA failure due to updated debsrc
2021-03-04 13:12:03 +02:00
Péter Szilágyi
de61da99c4
build: fix PPA failure due to updated debsrc
2021-03-04 13:06:23 +02:00
Péter Szilágyi
9230ca4924
Revert "core/forkid, params: unset Berlin fork number ( #22413 )"
...
This reverts commit ba999105ef .
2021-03-04 10:44:37 +02:00
Péter Szilágyi
ba999105ef
core/forkid, params: unset Berlin fork number ( #22413 )
2021-03-03 12:05:27 +02:00
Péter Szilágyi
430f69e01e
core/vm/runtime: more unshipping
2021-03-02 23:51:03 +02:00
Péter Szilágyi
7834e4a278
core, eth: unship EIP 2315
2021-03-02 23:40:57 +02:00
Péter Szilágyi
744707a490
Merge pull request #22380 from karalabe/berlin
...
all: define and enable the Berlin hard fork on all networks
2021-02-26 15:04:56 +02:00
Péter Szilágyi
0928562670
all: define Berlin hard fork spec
2021-02-26 14:24:07 +02:00
Péter Szilágyi
96d9306413
Merge pull request #22381 from karalabe/lower-error-log
...
eth/protocols/snap: lower abortion and resumption logs to debug
2021-02-25 13:03:07 +02:00
Péter Szilágyi
b2b5c82aca
eth/protocols/snap: lower abortion and resumption logs to debug
2021-02-25 12:56:18 +02:00
Péter Szilágyi
f54dc4ab3d
travis: manually install Android since Travis is stale ( #22373 )
2021-02-24 11:36:08 +02:00
Péter Szilágyi
bf5b379b13
Merge pull request #22369 from karalabe/android-bionic-builder
...
travis: bump builders to Bionic
2021-02-23 20:52:40 +02:00
Péter Szilágyi
70afe15f68
travis: bump builders to Bionic
2021-02-23 20:31:09 +02:00
Péter Szilágyi
b502c86662
Merge pull request #22368 from karalabe/ndk-bump
...
travis: bump Android NDK version
2021-02-23 19:58:37 +02:00
Péter Szilágyi
c9aa267049
travis: bump Android NDK version
2021-02-23 19:57:39 +02:00
Péter Szilágyi
cdb6a84339
Merge pull request #22350 from karalabe/disable-preimage-collection
...
cmd/utils: disable caching preimages by default
2021-02-23 19:29:36 +02:00
Péter Szilágyi
4ee8d2d305
travis, appveyor, build, Dockerfile: bump Go to 1.16 ( #22351 )
...
* travis, appveyor, build: bump Go to 1.16
* accounts/abi/bind: fix up Go mod files for Go 1.16
2021-02-23 18:42:43 +02:00
Péter Szilágyi
2743fb0429
Dockerfile: bump to Go 1.16 base images
2021-02-23 18:28:24 +02:00
Péter Szilágyi
2d1a0e9b03
accounts/abi/bind: fix up Go mod files for Go 1.16
2021-02-23 18:12:25 +02:00
Péter Szilágyi
c5023e1dc5
travis, appveyor, build: bump Go to 1.16
2021-02-19 16:03:17 +02:00
Péter Szilágyi
ca76db6116
cmd/utils: disable caching preimages by default
2021-02-19 15:56:41 +02:00
Péter Szilágyi
1489c3f494
Merge pull request #22334 from karalabe/fix-snap-cancel
...
eth: fix snap sync cancellation
2021-02-16 16:30:07 +02:00
Péter Szilágyi
bfdff4c5b8
eth: fix snap sync cancellation
2021-02-16 16:11:33 +02:00
Péter Szilágyi
6291fc9230
Merge pull request #22331 from karalabe/enforce-min-snap-difflayers
...
core/state/snapshot: ensure Cap retains a min number of layers
2021-02-16 15:26:37 +02:00
Péter Szilágyi
9ec3329899
core/state/snapshot: ensure Cap retains a min number of layers
2021-02-16 15:25:20 +02:00
Péter Szilágyi
915c614959
Merge pull request #22332 from karalabe/fix-fastsync-restart-bloom-crash
...
trie: fix bloom crash on fast sync restart
2021-02-16 13:30:15 +02:00
Péter Szilágyi
e991bdae24
trie: fix bloom crash on fast sync restart
2021-02-16 10:44:38 +02:00
Péter Szilágyi
2fc465a7be
Merge pull request #22319 from karalabe/fix-defer-leak
...
core: fix temp memory blowup caused by defers holding on to state
2021-02-12 15:34:35 +02:00
Péter Szilágyi
ef227c5f42
core: fix temp memory blowup caused by defers holding on to state
2021-02-12 12:45:34 +02:00
Péter Szilágyi
1bbc8a1944
Merge pull request #22293 from karalabe/txunindex-1year
...
cmd/utils, eth/ethconfig: unindex txs older than ~1 year
2021-02-10 16:02:35 +02:00
Péter Szilágyi
409b16e5ab
cmd/utils, eth/ethconfig: unindex txs older than ~1 year
2021-02-10 16:01:37 +02:00
Péter Szilágyi
2fdba3aacb
Merge pull request #22294 from holiman/pruner_compact_fix
...
core/state/pruner: fix compaction range error
2021-02-09 11:01:21 +02:00
Péter Szilágyi
944d901436
Merge pull request #22291 from karalabe/fix-pruner-compaction
...
core/state/pruner: fix compaction after pruning
2021-02-08 19:19:38 +02:00
Péter Szilágyi
2728672c28
core/state/pruner: fix compaction after pruning
2021-02-08 19:18:40 +02:00