go-ethereum/eth
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>
2021-06-28 16:16:32 +02:00
..
catalyst accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
downloader eth/downloader: increase downloader block body allowance (#23074) 2021-06-25 14:53:22 +02:00
ethconfig eth/gasprice: implement feeHistory API (#23033) 2021-06-28 16:16:32 +02:00
fetcher accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
filters accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
gasprice eth/gasprice: implement feeHistory API (#23033) 2021-06-28 16:16:32 +02:00
protocols accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
tracers core, eth: fix precompile addresses for tracers (#23097) 2021-06-28 14:13:27 +02:00
api_backend.go eth/gasprice: implement feeHistory API (#23033) 2021-06-28 16:16:32 +02:00
api_test.go cmd/geth, eth, core: snapshot dump + unify with trie dump (#22795) 2021-05-12 11:05:39 +03:00
api.go cmd/geth, eth, core: snapshot dump + unify with trie dump (#22795) 2021-05-12 11:05:39 +03:00
backend.go all: define London+baikal, undefine yolov3, add london override flag (#22822) 2021-05-06 12:07:42 +03:00
bloombits.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
discovery.go cmd/utils: use eth DNS tree for snap discovery (#22808) 2021-05-04 11:29:32 +02:00
handler_eth_test.go eth: unregister peer only when handler exits (#22908) 2021-05-25 22:20:36 +02:00
handler_eth.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go core, eth, miner: enforce configured mining reward post 1559 too 2021-06-04 10:18:37 +03:00
handler.go core, eth, miner: enforce configured mining reward post 1559 too 2021-06-04 10:18:37 +03:00
peer.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
peerset.go eth: don't wait for snap registration if we're not running snap (#22272) 2021-02-05 14:15:22 +01:00
state_accessor.go all: implement EIP-1559 (#22837) 2021-05-17 15:13:22 +02:00
sync_test.go eth, les: drop support for eth/64, fix eth/66 tests 2021-04-09 10:39:45 +03:00
sync.go core, eth, miner: enforce configured mining reward post 1559 too 2021-06-04 10:18:37 +03:00