Péter Szilágyi
c368f728c1
Revert "eth: drop eth/65, the last non-reqid protocol version" ( #23426 )
3 years ago
chuwt
5566e5d152
eth/downloader: fix typo in comment ( #23413 )
3 years ago
陈佳
57feabea66
eth, internal/ethapi: make RPC block miner field show block sealer correctly ( #23312 )
...
Makes the RPC block return the POA sealer for clique blocks on the 'miner' field (was previously zeroes)
3 years ago
Zachinquarantine
16ecdd5839
cmd/utils: add --nousb to the list of deprecated flags ( #23388 )
...
Adds --nousb as a deprecated flag when someone runs the geth show-deprecated-flags command.
3 years ago
Zachinquarantine
85b9bdd641
cmd, core: remove calaveras testnet ( #23366 )
...
Removes references to the short-lived Calaveras testnet
3 years ago
jwasinger
6902485767
cmd, metrics: add support for influxdb-v2 (cherry-picking from italoacasas' changes), leave existing support for v1 to maintain backwards-compatibility. ( #23194 )
...
This PR adds flag to enable InfluxDB v2 (--metrics.influxdbv2), flags for v2-specific features (--metrics.influxdb.token, --metrics.influxdb.bucket), also carries over addition of support for specifying organization (--metrics.influxdb.organization), but still retains backwards compatibility with InfluxDB v1.
3 years ago
Martin Holst Swende
fb4007bb22
tests: update, enable legacy tests, remove vm tests ( #23350 )
...
* tests: update, enable legacy tests, remove vm tests
* tests: minor fixes
3 years ago
Péter Szilágyi
0a68558e7e
accounts/external: handle 0 chainid as not-set for the Clef API ( #23394 )
...
* accounts/external: handle 0 chainid as not-set for the Clef API
* accounts/external: document SignTx
Co-authored-by: Felix Lange <fjl@twurst.com>
3 years ago
Péter Szilágyi
fd604becbb
Merge pull request #23120 from karalabe/drop-eth-65
...
eth: drop eth/65, the last non-reqid protocol version
3 years ago
Martin Holst Swende
5f98020a21
core/rawdb: implement sequential reads in freezer_table ( #23117 )
...
* core/rawdb: implement sequential reads in freezer_table
* core/rawdb, ethdb: add sequential reader to db interface
* core/rawdb: lint nitpicks
* core/rawdb: fix some nitpicks
* core/rawdb: fix flaw with deferred reads not being performed
* core/rawdb: better documentation
3 years ago
Péter Szilágyi
a580f7d6c5
params: begin v1.10.8 release cycle
3 years ago
Péter Szilágyi
12f0ff40b1
params: release Geth v1.10.7
3 years ago
Péter Szilágyi
971df49fe2
Merge pull request #23385 from karalabe/cht-1.10.7
...
params: update CHTs for the 1.10.7 release
3 years ago
Péter Szilágyi
f4ad493870
params: update CHTs for the 1.10.7 release
3 years ago
Péter Szilágyi
2a451f9eb3
Merge pull request #23384 from holiman/fix_gasfoo
...
internal/ethapi: add back missing check for maxfee < maxPriorityFee
3 years ago
Martin Holst Swende
278ec7176a
internal/ethapi: add back missing check for maxfee < maxPriorityFee
3 years ago
Péter Szilágyi
deff5056fb
Merge pull request #23374 from karalabe/fix-docker-tag
...
build: fix docker tag to include `v` prefix in version string
3 years ago
Péter Szilágyi
c27bd3481e
build: fix docker tag to include `v` prefix in version string
3 years ago
Péter Szilágyi
0fbc94eabc
Merge pull request #23373 from karalabe/docker-flip
...
travis: transition from docker auto builds to manual pushes
3 years ago
Péter Szilágyi
9097d0a325
travis: transition from docker auto builds to manual pushes
3 years ago
Péter Szilágyi
5d0ab07343
Merge pull request #23371 from karalabe/gofmt
...
core/state/snapshot: gofmt
3 years ago
Péter Szilágyi
9d6480c3cd
core/state/snapshot: gofmt
3 years ago
lightclient
a879c42bd3
internal/ethapi, accounts/abi/bind: cap highest gas limit by account balance for 1559 fee parameters ( #23309 )
...
* internal/ethapi/api: cap highest gas limit by account balance for 1559 fee parameters
* accounts/abi/bind: port gas limit cap for 1559 parameters to simulated backend
* accounts/abi/bind: add test for 1559 gas estimates for the simulated backend
* internal/ethapi/api: fix comment
* accounts/abi/bind/backends, internal/ethapi: unify naming style
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
3 years ago
lightclient
39fe7eca6b
internal/ethapi: return maxFeePerGas for gasPrice for EIP-1559 txs ( #23345 )
3 years ago
Tyler Chambers
66948316f7
core/state/snapshot: clarify comment about snapshot repair ( #23305 )
...
Co-authored-by: Tyler Chambers <me@tylerchambers.net>
Co-authored-by: Felix Lange <fjl@twurst.com>
3 years ago
Ziyuan Zhong
57d9e0ac75
core/state/snapshot: fix typo in comment ( #23219 )
3 years ago
Zachinquarantine
e4b687cf46
mobile: remove deprecated code ( #23357 )
3 years ago
gary rong
6d175460df
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
3 years ago
Péter Szilágyi
520f25688a
Merge pull request #23370 from karalabe/windows-pruning-fix-b
...
core/state/pruner: fix state bloom sync permission in Windows
3 years ago
Péter Szilágyi
3b38a83274
core/state/pruner: fix state bloom sync permission in Windows
3 years ago
Felföldi Zsolt
97bd6cd216
internal/ethapi: accept both hex and decimal for blockCount ( #23363 )
3 years ago
shawn
d60cfd2604
core: fix london-check to avoid duplication ( #23333 )
...
Co-authored-by: lxex <liuxmzc1@163.com>
3 years ago
Shihao Xia
9e59474e46
core/rawdb: close database in test to avoid goroutine leak ( #23287 )
...
* add db close to avoid goroutine leak
* core/rawdb: move close to defer
Co-authored-by: Martin Holst Swende <martin@swende.se>
3 years ago
Martin Holst Swende
8a24b56331
cmd/evm: implement input txs via rlp in t8n tool ( #23138 )
...
In many cases, it's desireable to use already-signed transactions as input to the state transition, instead of having the evm sign them internally (for example to use malformed or not-yet-valid transactions). This PR adds support + docs for that feature.
3 years ago
Martin Holst Swende
0658712f65
core: check if sender is EOA ( #23303 )
...
This adds a check to verify that a sender-account does not have code, which means that the codehash is either `emptyCodeHash` _OR_ not present. The latter occurs IFF the sender did not previously exist, a situation which can only occur with zero cost gasprices.
3 years ago
Patrick O'Grady
d3e3a460ec
core/rawdb: fix logs to print block number, not address ( #23328 )
3 years ago
Marius van der Wijden
28ba686cbf
core/state: add trie prefetcher tests ( #23216 )
...
* core/state: add trie prefetcher tests
* core/state: add missing license
3 years ago
gary rong
f311488d2c
internal/ethapi: fix trace log marshalling ( #23292 )
3 years ago
Sina Mahmoodi
c38fab912b
core: get header from block cache ( #23299 )
3 years ago
Martin Holst Swende
4cd6a1458e
cmd/devp2p: fix ping/pong race in discv4 tests ( #23306 )
...
This PR modifies the post-PING-send expectations to both be laxer and stricter: it doesn't care what order the packets arrive, but also verifies that exactly one PING and one PONG is returned.
3 years ago
aaronbuchwald
82c5085399
cre/state: fix outdated statedb Prepare comment ( #23320 )
3 years ago
baptiste-b-pegasys
95bbd46eab
node, cmd/clef: remove term "whitelist" ( #23296 )
...
* node: remove term "whitelist"
* include cmd/clef
3 years ago
baptiste-b-pegasys
85afdeef37
tests: remove whitelist feature ( #23297 )
3 years ago
baptiste-b-pegasys
860184d542
p2p: remove term "whitelist" ( #23295 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
3 years ago
baptiste-b-pegasys
3526f69047
all: remove term "whitelist" in comments and log messages ( #23294 )
3 years ago
Martin Holst Swende
295bc35ecf
signer/core: move API JSON types to separate package ( #23275 )
...
This PR moves (some) account types into a standalone package, to avoid
depending on signer/core from accounts/external.
3 years ago
Evolution404
8f11d279d2
p2p/simulations: fix unlikely crash in probabilistic connect ( #23200 )
...
When the nodeCount is less than 10, it will panic with the out of bound error.
How about we just skip this round, when rand1 and rand2 are equal?
3 years ago
Sina Mahmoodi
b157bae2c9
go.mod: bump golang.org/x/text to v0.3.6 ( #23291 )
3 years ago
ucwong
64a5e125c5
go.mod: upgrade to goupnp v1.0.2 ( #23197 )
3 years ago
Marius van der Wijden
fb8ea5993f
tests: update tests/testdata to v9.0.4 (london) ( #23279 )
3 years ago