1. 30 1月, 2017 2 次提交
  2. 27 1月, 2017 1 次提交
  3. 26 1月, 2017 1 次提交
  4. 25 1月, 2017 1 次提交
  5. 24 1月, 2017 3 次提交
  6. 23 1月, 2017 4 次提交
  7. 21 1月, 2017 2 次提交
    • P
      accounts/abi/bind, internal/ethapi: binary search gas estimation (#3587) · 682875ad
      Péter Szilágyi 提交于
      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.
      682875ad
    • B
      0126d014
  8. 20 1月, 2017 3 次提交
  9. 18 1月, 2017 2 次提交
  10. 17 1月, 2017 6 次提交
  11. 16 1月, 2017 5 次提交
  12. 13 1月, 2017 9 次提交
  13. 12 1月, 2017 1 次提交