1. 13 2月, 2017 4 次提交
  2. 02 2月, 2017 1 次提交
    • J
      params: core, core/vm, miner: 64bit gas instructions (#3514) · 8b57c494
      Jeffrey Wilcke 提交于
      Reworked the EVM gas instructions to use 64bit integers rather than
      arbitrary size big ints. All gas operations, be it additions,
      multiplications or divisions, are checked and guarded against 64 bit
      integer overflows.
      
      In additon, most of the protocol paramaters in the params package have
      been converted to uint64 and are now constants rather than variables.
      
      * common/math: added overflow check ops
      * core: vmenv, env renamed to evm
      * eth, internal/ethapi, les: unmetered eth_call and cancel methods
      * core/vm: implemented big.Int pool for evm instructions
      * core/vm: unexported intPool methods & verification methods
      * core/vm: added memoryGasCost overflow check and test
      8b57c494
  3. 17 1月, 2017 2 次提交
  4. 12 1月, 2017 1 次提交
  5. 07 1月, 2017 1 次提交
  6. 30 11月, 2016 1 次提交
  7. 29 11月, 2016 1 次提交
  8. 25 11月, 2016 1 次提交
  9. 23 11月, 2016 2 次提交
  10. 10 11月, 2016 2 次提交
  11. 09 11月, 2016 2 次提交
  12. 29 10月, 2016 1 次提交
    • P
      Godeps, vendor: convert dependency management to trash (#3198) · 289b3071
      Péter Szilágyi 提交于
      This commit converts the dependency management from Godeps to the vendor
      folder, also switching the tool from godep to trash. Since the upstream tool
      lacks a few features proposed via a few PRs, until those PRs are merged in
      (if), use github.com/karalabe/trash.
      
      You can update dependencies via trash --update.
      
      All dependencies have been updated to their latest version.
      
      Parts of the build system are reworked to drop old notions of Godeps and
      invocation of the go vet command so that it doesn't run against the vendor
      folder, as that will just blow up during vetting.
      
      The conversion drops OpenCL (and hence GPU mining support) from ethash and our
      codebase. The short reasoning is that there's noone to maintain and having
      opencl libs in our deps messes up builds as go install ./... tries to build
      them, failing with unsatisfied link errors for the C OpenCL deps.
      
      golang.org/x/net/context is not vendored in. We expect it to be fetched by the
      user (i.e. using go get). To keep ci.go builds reproducible the package is
      "vendored" in build/_vendor.
      289b3071
  13. 19 10月, 2016 1 次提交
  14. 16 9月, 2016 1 次提交
  15. 15 9月, 2016 1 次提交
  16. 05 9月, 2016 1 次提交
  17. 30 8月, 2016 1 次提交
  18. 23 8月, 2016 1 次提交
  19. 22 8月, 2016 1 次提交
  20. 17 8月, 2016 1 次提交
    • F
      cmd/utils, node: create account manager in package node · 312263c7
      Felix Lange 提交于
      The account manager was previously created by packge cmd/utils as part
      of flag processing and then passed down into eth.Ethereum through its
      config struct. Since we are starting to create nodes which do not have
      eth.Ethereum as a registered service, the code was rearranged to
      register the account manager as its own service. Making it a service is
      ugly though and it doesn't really fix the root cause: creating nodes
      without eth.Ethereum requires duplicating lots of code.
      
      This commit splits utils.MakeSystemNode into three functions, making
      creation of other node/service configurations easier. It also moves the
      account manager into Node so it can be used by those configurations
      without requiring package eth.
      312263c7
  21. 15 7月, 2016 1 次提交
  22. 12 7月, 2016 1 次提交
  23. 30 6月, 2016 1 次提交
  24. 29 6月, 2016 1 次提交
  25. 23 6月, 2016 1 次提交
  26. 16 6月, 2016 1 次提交
  27. 10 6月, 2016 1 次提交
  28. 09 6月, 2016 1 次提交
  29. 31 5月, 2016 1 次提交
  30. 30 5月, 2016 1 次提交
  31. 25 5月, 2016 1 次提交
    • F
      eth: enable bad block reports · ca18202e
      Felix Lange 提交于
      We used to have reporting of bad blocks, but it was disabled
      before the Frontier release. We need it back because users
      are usually unable to provide the full RLP data of a bad
      block when it occurs.
      
      A shortcoming of this particular implementation is that the
      origin peer is not tracked for blocks received during eth/63
      sync. No origin peer info is still better than no report at
      all though.
      ca18202e
  32. 03 5月, 2016 1 次提交
  33. 02 5月, 2016 1 次提交