good morning!!!!

Skip to content
Snippets Groups Projects
  1. Feb 02, 2021
  2. Feb 01, 2021
  3. Jan 29, 2021
  4. Jan 28, 2021
    • Zsolt Felföldi's avatar
      les/utils: UDP rate limiter (#21930) · 7a800f98
      Zsolt Felföldi authored
      * les/utils: Limiter
      
      * les/utils: dropped prior weight vs variable cost logic, using fixed weights
      
      * les/utils: always create node selector in addressGroup
      
      * les/utils: renamed request weight to request cost
      
      * les/utils: simplified and improved the DoS penalty mechanism
      
      * les/utils: minor fixes
      
      * les/utils: made selection weight calculation nicer
      
      * les/utils: fixed linter warning
      
      * les/utils: more precise and reliable probabilistic test
      
      * les/utils: fixed linter warning
      7a800f98
    • Sina Mahmoodi's avatar
      cmd,core,eth,params,tests: define yolov3 + enable EIP-2565 (#22213) · eb21c652
      Sina Mahmoodi authored
      Removes the yolov2 definition, adds yolov3, including EIP-2565. This PR also disables some of the erroneously generated blockchain and statetests, and adds the new genesis hash + alloc for yolov3. 
      This PR disables the CLI switches for yolo, since it's not complete until we merge support for 2930. 
      eb21c652
  5. Jan 27, 2021
  6. Jan 26, 2021
  7. Jan 25, 2021
  8. Jan 24, 2021
  9. Jan 22, 2021
  10. Jan 21, 2021
  11. Jan 20, 2021
  12. 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
  13. Jan 18, 2021
  14. 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
Loading