1. 29 May, 2020 1 commit
  2. 27 May, 2020 2 commits
  3. 26 May, 2020 6 commits
  4. 25 May, 2020 6 commits
  5. 22 May, 2020 1 commit
    • Felföldi Zsolt's avatar
      les, les/lespay: implement new server pool (#20758) · b4a26811
      Felföldi Zsolt authored
      This PR reimplements the light client server pool. It is also a first step
      to move certain logic into a new lespay package. This package will contain
      the implementation of the lespay token sale functions, the token buying and
      selling logic and other components related to peer selection/prioritization
      and service quality evaluation. Over the long term this package will be
      reusable for incentivizing future protocols.
      
      Since the LES peer logic is now based on enode.Iterator, it can now use
      DNS-based fallback discovery to find servers.
      
      This document describes the function of the new components:
      https://gist.github.com/zsfelfoldi/3c7ace895234b7b345ab4f71dab102d4
      b4a26811
  6. 20 May, 2020 2 commits
  7. 19 May, 2020 2 commits
  8. 14 May, 2020 1 commit
  9. 13 May, 2020 6 commits
  10. 12 May, 2020 7 commits
  11. 11 May, 2020 6 commits
    • Péter Szilágyi's avatar
      Merge pull request #21061 from karalabe/cht-1.9.14 · 40859a24
      Péter Szilágyi authored
      params: bump CHTs for the v1.9.14 release
      40859a24
    • Martin Holst Swende's avatar
      cmd, core, eth: background transaction indexing (#20302) · 45352300
      Martin Holst Swende authored
      * cmd, core, eth: init tx lookup in background
      
      * core/rawdb: tiny log fixes to make it clearer what's happening
      
      * core, eth: fix rebase errors
      
      * core/rawdb: make reindexing less generic, but more optimal
      
      * rlp: implement rlp list iterator
      
      * core/rawdb: new implementation of tx indexing/unindex using generic tx iterator and hashing rlp-data
      
      * core/rawdb, cmd/utils: fix review concerns
      
      * cmd/utils: fix merge issue
      
      * core/rawdb: add some log formatting polishes
      Co-authored-by: 's avatarrjl493456442 <garyrong0905@gmail.com>
      Co-authored-by: 's avatarPéter Szilágyi <peterke@gmail.com>
      45352300
    • Péter Szilágyi's avatar
      126ac94f
    • Felix Lange's avatar
      p2p: add 0 port check in dialer (#21008) · 6f54ae24
      Felix Lange authored
      * p2p: add low port check in dialer
      
      We already have a check like this for UDP ports, add a similar one in
      the dialer. This prevents dials to port zero and it's also an extra
      layer of protection against spamming HTTP servers.
      
      * p2p/discover: use errLowPort in v4 code
      
      * p2p: change port check
      
      * p2p: add comment
      
      * p2p/simulations/adapters: ensure assigned port is in all node records
      6f54ae24
    • AusIV's avatar
      core/rawdb: stop freezer process as part of freezer.Close() (#21010) · 069a7e1f
      AusIV authored
      * core/rawdb: Stop freezer process as part of freezer.Close()
      
      When you call db.Close(), it was closing the leveldb database first,
      then closing the freezer, but never stopping the freezer process.
      This could cause the freezer to attempt to write to leveldb after
      leveldb had been closed, leading to a crash with a non-zero exit code.
      
      This change adds a quit channel to the freezer, and freezer.Close()
      will not return until the freezer process has stopped.
      
      Additionally, when you call freezerdb.Close(), it will close the
      AncientStore before closing leveldb, to ensure that the freezer goroutine
      will be stopped before leveldb is closed.
      
      * core/rawdb: Fix formatting for golint
      
      * core/rawdb: Use backoff flag to avoid repeating select
      
      * core/rawdb: Include accidentally omitted backoff
      069a7e1f
    • Martin Holst Swende's avatar
      console: fix some crashes/errors in the bridge (#21050) · bd60295d
      Martin Holst Swende authored
      Fixes #21046
      bd60295d