1. 06 12月, 2017 1 次提交
    • F
      crypto: add DecompressPubkey, VerifySignature (#15615) · e85b68ef
      Felix Lange 提交于
      We need those operations for p2p/enr.
      
      Also upgrade github.com/btcsuite/btcd/btcec to the latest version
      and improve BenchmarkSha3. The benchmark printed extra output 
      that confused tools like benchstat and ignored N.
      e85b68ef
  2. 11 11月, 2017 1 次提交
  3. 05 10月, 2017 1 次提交
  4. 25 9月, 2017 1 次提交
    • L
      p2p: add network simulation framework (#14982) · 9feec51e
      Lewis Marshall 提交于
      This commit introduces a network simulation framework which
      can be used to run simulated networks of devp2p nodes. The
      intention is to use this for testing protocols, performing
      benchmarks and visualising emergent network behaviour.
      9feec51e
  5. 05 9月, 2017 1 次提交
  6. 21 8月, 2017 1 次提交
  7. 18 8月, 2017 1 次提交
  8. 09 8月, 2017 1 次提交
  9. 11 7月, 2017 1 次提交
  10. 21 6月, 2017 1 次提交
  11. 12 4月, 2017 1 次提交
    • F
      cmd/geth: add --config file flag (#13875) · 30d706c3
      Felix Lange 提交于
      * p2p/discover, p2p/discv5: add marshaling methods to Node
      
      * p2p/netutil: make Netlist decodable from TOML
      
      * common/math: encode nil HexOrDecimal256 as 0x0
      
      * cmd/geth: add --config file flag
      
      * cmd/geth: add missing license header
      
      * eth: prettify Config again, fix tests
      
      * eth: use gasprice.Config instead of duplicating its fields
      
      * eth/gasprice: hide nil default from dumpconfig output
      
      * cmd/geth: hide genesis block in dumpconfig output
      
      * node: make tests compile
      
      * console: fix tests
      
      * cmd/geth: make TOML keys look exactly like Go struct fields
      
      * p2p: use discovery by default
      
      This makes the zero Config slightly more useful. It also fixes package
      node tests because Node detects reuse of the datadir through the
      NodeDatabase.
      
      * cmd/geth: make ethstats URL settable through config file
      
      * cmd/faucet: fix configuration
      
      * cmd/geth: dedup attach tests
      
      * eth: add comment for DefaultConfig
      
      * eth: pass downloader.SyncMode in Config
      
      This removes the FastSync, LightSync flags in favour of a more
      general SyncMode flag.
      
      * cmd/utils: remove jitvm flags
      
      * cmd/utils: make mutually exclusive flag error prettier
      
      It now reads:
      
         Fatal: flags --dev, --testnet can't be used at the same time
      
      * p2p: fix typo
      
      * node: add DefaultConfig, use it for geth
      
      * mobile: add missing NoDiscovery option
      
      * cmd/utils: drop MakeNode
      
      This exposed a couple of places that needed to be updated to use
      node.DefaultConfig.
      
      * node: fix typo
      
      * eth: make fast sync the default mode
      
      * cmd/utils: remove IPCApiFlag (unused)
      
      * node: remove default IPC path
      
      Set it in the frontends instead.
      
      * cmd/geth: add --syncmode
      
      * cmd/utils: make --ipcdisable and --ipcpath mutually exclusive
      
      * cmd/utils: don't enable WS, HTTP when setting addr
      
      * cmd/utils: fix --identity
      30d706c3
  12. 11 4月, 2017 1 次提交
  13. 06 4月, 2017 1 次提交
    • P
      .travis, build: autodelete old unstable archives (#13867) · c76ad944
      Péter Szilágyi 提交于
      This commit adds a build step to travis to auto-delete unstable archives older than
      14 days (our regular release schedule) from Azure via ci.go purge.
      
      The commit also pulls in the latest Azure storage code, also switching over from
      the old import path (github.com/Azure/azure-sdk-for-go) to the new split one
      (github.com/Azure/azure-storage-go).
      c76ad944
  14. 09 3月, 2017 2 次提交
  15. 27 2月, 2017 1 次提交
  16. 23 2月, 2017 2 次提交
  17. 18 2月, 2017 1 次提交
  18. 17 2月, 2017 1 次提交
  19. 16 2月, 2017 1 次提交
  20. 13 2月, 2017 1 次提交
  21. 11 1月, 2017 1 次提交
  22. 09 11月, 2016 1 次提交
  23. 04 11月, 2016 1 次提交
  24. 03 11月, 2016 1 次提交
  25. 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