Martin Holst Swende
32150f8aa9
cmd/geth, cmd/evm, params: implement Arrow Glacier (EIP 4345) ( #23810 )
...
This PR adds support for ArrowGlacier, as defined by
https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md
https://eips.ethereum.org/EIPS/eip-4345
> Starting with FORK_BLOCK_NUMBER the client will calculate the difficulty based on a fake block number suggesting to the client that the difficulty bomb is adjusting 10,700,000 blocks later than the actual block number.
This also adds support for evm t8n to return the calculated difficulty, so it can be used to construct test.
3 years ago
noam-alchemy
633e7ef478
eth,rpc: allow for flag configured timeouts for eth_call ( #23645 )
...
* eth,rpc: allow for flag configured timeouts for eth_call
* lint: account for package-local import order
* cr: rename `rpc.calltimeout` to `rpc.evmtimeout`
3 years ago
Felföldi Zsolt
f38abc55f1
eth/gasprice: feeHistory improvements ( #23422 )
...
* eth/gasprice: cache feeHistory results
* eth/gasprice: changed feeHistory block count limitation
* eth/gasprice: do not use embedded struct in blockFees
* eth/gasprice: fee processing logic cleanup
* eth/gasprice: purge feeHistory cache at chain reorgs
3 years ago
gary rong
6d175460df
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
3 years ago
Sina Mahmoodi
5441a8fa47
all: remove noop vm config flags ( #23111 )
...
* all: rm external interpreter and ewasm config
* core/vm: rm Interpreter interface
* cmd/geth: deprecate interpreter config fields
3 years ago
ucwong
3b05318525
cmd/evm, eth/ethconfig: regenerate struct codecs ( #23140 )
3 years ago
Felföldi Zsolt
35dbf7a8a3
eth/gasprice: implement feeHistory API ( #23033 )
...
* eth/gasprice: implement feeHistory API
* eth/gasprice: factored out resolveBlockRange
* eth/gasprice: add sanity check for missing block
* eth/gasprice: fetch actual gas used from receipts
* miner, eth/gasprice: add PendingBlockAndReceipts
* internal/ethapi: use hexutil.Big
* eth/gasprice: return error when requesting beyond head block
* eth/gasprice: fixed tests and return errors correctly
* eth/gasprice: rename receiver name
* eth/gasprice: return directly if blockCount == 0
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
3 years ago
Péter Szilágyi
be1267ced5
eth/ethconfig: bump the RPC gas cap to 50M, since 1559 exceeds 25
4 years ago
Péter Szilágyi
9aaa4208a8
eth/ethconfig: flip the default from fast to snap sync
4 years ago
Ryan Schneider
ca98080798
cmd/geth, eth/gasprice: add configurable threshold to gas price oracle ( #22752 )
...
This adds a cmd line parameter `--gpo.ignoreprice`, to make the gas price oracle ignore transactions below the given threshold.
4 years ago
Martin Holst Swende
cc606be74c
all: define London+baikal, undefine yolov3, add london override flag ( #22822 )
...
* all: define London+baikal, undefine yolov3, add london override flag
* cmd, core, params: add baikal genesis definition
4 years ago
Felix Lange
cae6b5527e
cmd/geth, consensus/ethash: add support for --miner.notify.full flag ( #22558 )
...
The PR implements the --miner.notify.full flag that enables full pending block
notifications. When this flag is used, the block notifications sent to mining
endpoints contain the complete block header JSON instead of a work package
array.
Co-authored-by: AlexSSD7 <alexandersadovskyi7@protonmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
4 years ago
Marius van der Wijden
54c0d573d7
eth: dump rpc gas cap and tx fee cap ( #22574 )
4 years ago
Péter Szilágyi
0928562670
all: define Berlin hard fork spec
4 years ago
gary rong
378e961d85
cmd, eth, les: enable serving light clients when non-synced ( #22250 )
...
This PR adds a more CLI flag, so that the les-server can serve light clients even the local node is not synced yet.
This functionality is needed in some testing environments(e.g. hive). After launching the les server, no more blocks will be imported so the node is always marked as "non-synced".
4 years ago
Péter Szilágyi
409b16e5ab
cmd/utils, eth/ethconfig: unindex txs older than ~1 year
4 years ago
gary rong
098a2b6e26
eth: move eth.Config to a common package ( #22205 )
...
This moves the eth config definition into a separate package, eth/ethconfig.
Packages eth and les can now import this common package instead of
importing eth from les, reducing dependencies.
Co-authored-by: Felix Lange <fjl@twurst.com>
4 years ago