go-ethereum/internal/ethapi
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
..
addrlock.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
api.go eth/gasprice: implement feeHistory API (#23033) 2021-06-28 16:16:32 +02:00
backend.go eth/gasprice: implement feeHistory API (#23033) 2021-06-28 16:16:32 +02:00
transaction_args.go core, internal: support various eth_call invocations post 1559 2021-06-10 08:02:51 +03:00