plugeth/accounts
Péter Szilágyi 682875adff accounts/abi/bind, internal/ethapi: binary search gas estimation (#3587)
Gas estimation currently mostly works, but can underestimate for more funky
refunds. This is because various ops (e.g. CALL) need more gas to run than they
actually consume (e.g. 2300 stipend that is refunded if not used). With more
intricate contract interplays, it becomes almost impossible to return a proper
value to the user.

This commit swaps out the simplistic gas estimation to a binary search approach,
honing in on the correct gas use. This does mean that gas estimation needs to
rerun the transaction log(max-price) times to measure whether it fails or not,
but it's a price paid by the transaction issuer, and it should be worth it to
support proper estimates.
2017-01-20 23:39:16 +01:00
..
abi accounts/abi/bind, internal/ethapi: binary search gas estimation (#3587) 2017-01-20 23:39:16 +01:00
testdata accounts: left pad keybytes-to-encrypt, add 30/31 byte keys tests 2016-09-27 13:07:33 -04:00
account_manager.go accounts, mobile: make account manager API a bit more uniform 2017-01-17 13:25:36 +02:00
accounts_test.go accounts, mobile: make account manager API a bit more uniform 2017-01-17 13:25:36 +02:00
addrcache_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
addrcache.go accounts: don't use common.Address for address field 2016-11-28 11:37:13 +01:00
key_store_passphrase_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key_store_passphrase.go mobile: initial wrappers for mobile support 2016-11-14 17:56:58 +02:00
key_store_plain.go all: update license information 2016-04-15 09:48:05 +02:00
key_store_test.go accounts: left pad keybytes-to-encrypt, add 30/31 byte keys tests 2016-09-27 13:07:33 -04:00
key.go accounts: improve API and add documentation 2016-04-12 15:59:18 +02:00
presale.go all: fix ineffectual assignments and remove uses of crypto.Sha3 2017-01-09 16:24:42 +01:00
watch_fallback.go accounts: disable file system watcher on windows 2016-11-28 03:09:58 +01:00
watch.go accounts: disable file system watcher on windows 2016-11-28 03:09:58 +01:00