good morning!!!!

Skip to content
Snippets Groups Projects
  1. Nov 19, 2019
  2. Nov 18, 2019
    • Felix Lange's avatar
      consensus/clique: fix struct tags for status API (#20316) · c5c5e0db
      Felix Lange authored
      Also unexport the status struct.
      c5c5e0db
    • Martin Holst Swende's avatar
      consensus/clique: add clique_status API method (#20103) · 3f4a875b
      Martin Holst Swende authored
      This PR introduces clique_status which gives info about the health of
      the clique network.
      
      It's currently a bit PITA to find out how a clique network is
      performing, and it can easily happen that sealers drop off -- and
      everything is 'fine' until one more signer drops off, and the network
      suddenly halts.
      
      The new method provides the following stats:
      
      - Which signers are currently active, and have signed blocks in the last
        N (set to 64) blocks?
      - How many blocks has each signer signed?
      - What is the difficulty in the last N blocks, compared to the
        theoretical maximum?
      3f4a875b
    • Felix Lange's avatar
      cmd/clef: fix staticcheck warnings (#20314) · a3d263dd
      Felix Lange authored
      a3d263dd
    • meowsbits's avatar
      build: add test cmd flag -v for verbose logs (#20298) · 190fb818
      meowsbits authored
      Adds flags akin to -coverage flag enabling the test runner
      to use go test's -v flag, signaling verbose test log output.
      190fb818
    • Guillaume Ballet's avatar
    • Zsolt Felföldi's avatar
    • meowsbits's avatar
      core: s/isEIP155/isHomestead/g (fix IntrinsicGas signature var name) (#20300) · 57d69762
      meowsbits authored
      * core: s/isEIP155/isEIP2/ (fix)
      
      This signature variable name reflects a spec'd change
      in gas cost for creating contracts as documented in EIP2 (Homestead HF).
      
      https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2.md#specification
      
      * core: s/isEIP2/sIsHomestead/g
      
      Use isHomestead since Homestead is what the caller
      and rest of the code uses.
      57d69762
    • Guillaume Ballet's avatar
      travis: remove traces and use travis_wait in ARM build (#20296) · 11d09fd3
      Guillaume Ballet authored
      * travis: remove debug traces
      
      * travis: Add travis_wait to the test run
      
      * travis: increase travis_wait time
      11d09fd3
    • Felix Lange's avatar
      build: use golangci-lint (#20295) · 68948644
      Felix Lange authored
      * build: use golangci-lint
      
      This changes build/ci.go to download and run golangci-lint instead
      of gometalinter.
      
      * core/state: fix unnecessary conversion
      
      * p2p/simulations: fix lock copying (found by go vet)
      
      * signer/core: fix unnecessary conversions
      
      * crypto/ecies: remove unused function cmpPublic
      
      * core/rawdb: remove unused function print
      
      * core/state: remove unused function xTestFuzzCutter
      
      * core/vm: disable TestWriteExpectedValues in a different way
      
      * core/forkid: remove unused function checksum
      
      * les: remove unused type proofsData
      
      * cmd/utils: remove unused functions prefixedNames, prefixFor
      
      * crypto/bn256: run goimports
      
      * p2p/nat: fix goimports lint issue
      
      * cmd/clef: avoid using unkeyed struct fields
      
      * les: cancel context in testRequest
      
      * rlp: delete unreachable code
      
      * core: gofmt
      
      * internal/build: simplify DownloadFile for Go 1.11 compatibility
      
      * build: remove go test --short flag
      
      * .travis.yml: disable build cache
      
      * whisper/whisperv6: fix ineffectual assignment in TestWhisperIdentityManagement
      
      * .golangci.yml: enable goconst and ineffassign linters
      
      * build: print message when there are no lint issues
      
      * internal/build: refactor download a bit
      68948644
    • Felix Lange's avatar
      rpc, p2p/simulations: use github.com/gorilla/websocket (#20289) · 7c4a4eb5
      Felix Lange authored
      * rpc: improve codec abstraction
      
      rpc.ServerCodec is an opaque interface. There was only one way to get a
      codec using existing APIs: rpc.NewJSONCodec. This change exports
      newCodec (as NewFuncCodec) and NewJSONCodec (as NewCodec). It also makes
      all codec methods non-public to avoid showing internals in godoc.
      
      While here, remove codec options in tests because they are not
      supported anymore.
      
      * p2p/simulations: use github.com/gorilla/websocket
      
      This package was the last remaining user of golang.org/x/net/websocket.
      Migrating to the new library wasn't straightforward because it is no
      longer possible to treat WebSocket connections as a net.Conn.
      
      * vendor: delete golang.org/x/net/websocket
      
      * rpc: fix godoc comments and run gofmt
      7c4a4eb5
  3. Nov 17, 2019
  4. Nov 15, 2019
  5. Nov 14, 2019
  6. Nov 13, 2019
  7. Nov 08, 2019
    • Guillaume Ballet's avatar
      travis: enable test suite on ARM64 (#20219) · de2259d2
      Guillaume Ballet authored
      * travis: Enable ARM support
      
      * Include fixes from 20039
      
      * Add a trace to debug the invalid lookup issue
      
      * Try increasing the timeout to see if the arm test passes
      
      * Investigate the resolver issue
      
      * Increase arm64 timeout for clique test
      
      * increase timeout in tests for arm64
      
      * Only test the failing tests
      
      * Review feedback: don't export epsilon
      
      * Remove investigation tricks+include fjl's feeback
      
      * Revert the retry ahead of using the mock resolver
      
      * Fix rebase errors
      de2259d2
  8. Nov 07, 2019
  9. Nov 06, 2019
  10. Nov 05, 2019
  11. Nov 04, 2019
  12. Nov 02, 2019
  13. Oct 31, 2019
    • Gary Rong's avatar
      accounts/abi: add internalType information and fix issues (#20179) · 44b74cfc
      Gary Rong authored
      * accounts/abi: fix various issues
      
      The fixed issues include:
      
      (1) If there is no return in a call function, unpack should
      return nil error
      
      (2) For some functions which have struct array as parameter,
      it will also be detected and generate the struct definition
      
      (3) For event, if it has non-indexed parameter, the parameter
      name will also be assigned if empty. Also the internal struct
      will be detected and generate struct defition if not exist.
      
      (4) Fix annotation generation in event function
      
      * accounts/abi: add new abi field internalType
      
      * accounts: address comments and add tests
      
      * accounts/abi: replace strings.ReplaceAll with strings.Replace
      44b74cfc
    • Martin Holst Swende's avatar
      params, core/forkid: configure mainnet istanbul block 9069K (#20222) · 9278951a
      Martin Holst Swende authored
      * params: configure mainnet istanbul block 9069K
      
      * core/forkid: add some more test items for mainnet istanbul
      9278951a
Loading