plugeth/internal/ethapi
Marius van der Wijden 0921f8a74f
internal/ethapi: add optional parameter blockNrOrHash to estimateGas (#21545)
This allows users to estimate gas on top of arbitrary blocks as well as pending and latest.
Tracing on pending is useful for most users as it takes into account the current txpool while
tracing on latest might be useful for users that have little to know knowledge of the current
transactions in the network.

If blockNrOrHash is not specified, estimateGas defaults to pending
2020-09-23 10:29:48 +02:00
..
addrlock.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
api.go internal/ethapi: add optional parameter blockNrOrHash to estimateGas (#21545) 2020-09-23 10:29:48 +02:00
backend.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00