good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jan 25, 2021
    • Gary Rong's avatar
      eth/tracers: move tracing APIs into eth/tracers (#22161) · adf130de
      Gary Rong authored
      This moves the tracing RPC API implementation to package eth/tracers.
      By doing so, package eth no longer depends on tracing and the duktape JS engine.
      
      The change also enables tracing using the light client. All tracing methods work with the
      light client, but it's a lot slower compared to using a full node.
      adf130de
    • Gary Rong's avatar
      core: reset to genesis when middle block is missing (#22135) · 49cdcf5c
      Gary Rong authored
      When a sethead/rewind finds that the targeted block is missing, it resets to genesis instead of crashing. Closes #22129
      49cdcf5c
    • Melvin Junhee Woo's avatar
    • ucwong's avatar
      go.mod: upgrade github.com/huin/goupnp (#22227) · 59a79137
      ucwong authored
      This updates the goupnp dependency, fixing huin/goupnp#33
      59a79137
    • rene's avatar
      graphql: change receipt status to decimal instead of hex (#22187) · c0862f4f
      rene authored
      
      This PR fixes the receipt status field to be decimal instead of a hex string,
      as called for by the spec.
      
      Co-authored-by: default avatarMartin Holst Swende <martin@swende.se>
      c0862f4f
    • Marius van der Wijden's avatar
      go.mod: update dependencies (#22216) · 1770fe71
      Marius van der Wijden authored
      This updates go module dependencies as discussed in #22050.
      1770fe71
    • Martin Holst Swende's avatar
      eth/protocols/snap: snap sync testing (#22179) · 797b0812
      Martin Holst Swende authored
      
      * eth/protocols/snap: make timeout configurable
      
      * eth/protocols/snap: snap sync testing
      
      * eth/protocols/snap: test to trigger panic
      
      * eth/protocols/snap: fix race condition on timeouts
      
      * eth/protocols/snap: return error on cancelled sync
      
      * squashme: updates + test causing panic + properly serve accounts in order
      
      * eth/protocols/snap: revert failing storage response
      
      * eth/protocols/snap: revert on bad responses (storage, code)
      
      * eth/protocols/snap: fix account handling stall
      
      * eth/protocols/snap: fix remaining revertal-issues
      
      * eth/protocols/snap: timeouthandler for bytecode requests
      
      * eth/protocols/snap: debugging + fix log message
      
      * eth/protocols/snap: fix misspelliings in docs
      
      * eth/protocols/snap: fix race in bytecode handling
      
      * eth/protocols/snap: undo deduplication of storage roots
      
      * synctests: refactor + minify panic testcase
      
      * eth/protocols/snap: minor polishes
      
      * eth: minor polishes to make logs more useful
      
      * eth/protocols/snap: remove excessive logs from the test runs
      
      * eth/protocols/snap: stress tests with concurrency
      
      * eth/protocols/snap: further fixes to test cancel channel handling
      
      * eth/protocols/snap: extend test timeouts on CI
      
      Co-authored-by: default avatarPéter Szilágyi <peterke@gmail.com>
      797b0812
  2. Jan 24, 2021
  3. Jan 22, 2021
  4. Jan 21, 2021
  5. Jan 20, 2021
  6. Jan 19, 2021
    • Gary Rong's avatar
      eth, les: add new config field SyncFromCheckpoint (#22123) · 45cb1a58
      Gary Rong authored
      This PR introduces a new config field SyncFromCheckpoint for light client.
      
      In some special scenarios, it's required to start synchronization from some
      arbitrary checkpoint or even from the scratch. So this PR offers this
      flexibility to users so that the synchronization start point can be configured.
      
      There are two relevant configs: SyncFromCheckpoint and Checkpoint.
      
      - If the SyncFromCheckpoint is true, the light client will try to sync from the
        specified checkpoint.
      
      - If the Checkpoint is not configured, then the light client will sync from the
        scratch(from the latest header if the database is not empty)
      
      Additional notes: these two configs are not visible in the CLI flags but only
      accessable in the config file.
      
      Example Usage:
      
      [Eth]
      SyncFromCheckpoint = true
      
      [Eth.Checkpoint]
      SectionIndex = 100
      SectionHead = "0xabc"
      CHTRoot = "0xabc"
      BloomRoot = "0xabc"
      
      PS. Historical checkpoint can be retrieved from the synced full node or light
      client via les_getCheckpoint API.
      45cb1a58
    • Alex Mazalov's avatar
      cmd/geth: graceful shutdown if disk is full (#22103) · 24c1e305
      Alex Mazalov authored
      
      Adding warnings of free disk space left and graceful shutdown when there is not enough space left.
      This also adds a flag datadir.minfreedisk which can be used to set the trigger for low disk space, and setting it to zero disables the check. 
      
      Co-authored-by: default avatarMartin Holst Swende <martin@swende.se>
      Co-authored-by: default avatarFelix Lange <fjl@twurst.com>
      24c1e305
  7. Jan 18, 2021
  8. Jan 16, 2021
    • Gary Rong's avatar
      les: remove useless protocol defines (#22115) · 034ecc32
      Gary Rong authored
      This PR has two changes in the les protocol:
      
      - the auxRoot is not supported. See ethereum/devp2p#171 for more information
      - the empty response will be returned in GetHelperTrieProofsMsg request if the merkle
         proving is failed. note, for backward compatibility, the empty merkle proof as well as
         the request auxiliary data will still be returned in  les2/3 protocol no matter the proving
         is successful or not. the proving failure can happen e.g. request the proving for a
         non-included entry in helper trie (unstable header).
      034ecc32
    • Dan DeGreef's avatar
      c76573a9
  9. Jan 15, 2021
  10. Jan 14, 2021
  11. Jan 13, 2021
  12. Jan 12, 2021
  13. Jan 11, 2021
Loading