1. 02 Feb, 2021 3 commits
  2. 01 Feb, 2021 1 commit
  3. 29 Jan, 2021 1 commit
  4. 28 Jan, 2021 2 commits
    • Felföldi Zsolt's avatar
      les/utils: UDP rate limiter (#21930) · 7a800f98
      Felföldi Zsolt 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. 27 Jan, 2021 1 commit
  6. 26 Jan, 2021 6 commits
  7. 25 Jan, 2021 9 commits
  8. 24 Jan, 2021 2 commits
  9. 22 Jan, 2021 2 commits
  10. 21 Jan, 2021 2 commits
  11. 20 Jan, 2021 6 commits
  12. 19 Jan, 2021 2 commits
    • 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: 's avatarMartin Holst Swende <martin@swende.se>
      Co-authored-by: 's avatarFelix Lange <fjl@twurst.com>
      24c1e305
  13. 18 Jan, 2021 3 commits