1. 27 1月, 2017 1 次提交
    • N
      cmd/swarm, swarm/api: bzzr improve + networkid prio · 7669c5b5
      nolash 提交于
      fixes #3444
      fixes #3494
      networkid override
      
      Added comments to explain why test against 0 appears twice
      
      * Command line overrides saved config, saved config overrides system default
      
      ---
      
      fixes #3476
      bzzr get with path
      
      Finally a hopefully clean commit for this PR
      Added check for empty path to avoid SIGSEGV in path parser and resolver
      Added requested tests for empty path and non-existing manifest.
      However signature for StartHTTPServer had changed.
      Now it's hacked as so:
      
      	StartHttpServer(api.API, &Server{Addr: "127.0.0.1:8504", CorsString: ""})
      
      * Parse url before resolve when path and ENS is supplied, example
      * swarm/api/http proxy server test for retrieval of subpath through get
      * Removed nil entry assignment on subtrie leaf in recursive key retrieval
      * Cleaned up path-or-no-path condition in proxy server get handler
      * swarm: processed with gofmt refers to lash/go-ethereum@90daa7a
      * swarm: Added public access method Parse alias to parse
      * swarm: processed with gofmt References nolash/go-ethereum@2ec3fd7
      * Rename parse to Parse, removed alias
      7669c5b5
  2. 26 1月, 2017 1 次提交
  3. 25 1月, 2017 1 次提交
  4. 24 1月, 2017 3 次提交
  5. 23 1月, 2017 4 次提交
  6. 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
  7. 20 1月, 2017 3 次提交
  8. 18 1月, 2017 2 次提交
  9. 17 1月, 2017 6 次提交
  10. 16 1月, 2017 5 次提交
  11. 13 1月, 2017 9 次提交
  12. 12 1月, 2017 3 次提交