good morning!!!!

Skip to content
Snippets Groups Projects
  1. Sep 14, 2020
    • Zsolt Felföldi's avatar
      les, les/lespay/server: refactor client pool (#21236) · 4996fce2
      Zsolt Felföldi authored
      
      * les, les/lespay/server: refactor client pool
      
      * les: use ns.Operation and sub calls where needed
      
      * les: fixed tests
      
      * les: removed active/inactive logic from peerSet
      
      * les: removed active/inactive peer logic
      
      * les: fixed linter warnings
      
      * les: fixed more linter errors and added missing metrics
      
      * les: addressed comments
      
      * cmd/geth: fixed TestPriorityClient
      
      * les: simplified clientPool state machine
      
      * les/lespay/server: do not use goroutine for balance callbacks
      
      * internal/web3ext: fix addBalance required parameters
      
      * les: removed freeCapacity, always connect at minCapacity initially
      
      * les: only allow capacity change with priority status
      
      Co-authored-by: default avatarrjl493456442 <garyrong0905@gmail.com>
      4996fce2
  2. May 22, 2020
    • Zsolt Felföldi's avatar
      les, les/lespay: implement new server pool (#20758) · b4a26811
      Zsolt Felföldi 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
  3. Sep 17, 2019
    • Zsolt Felföldi's avatar
      les: multiple server bugfixes (#20079) · 0ac9bbba
      Zsolt Felföldi authored
      * les: detailed relative cost metrics
      
      * les: filter txpool relative request statistic
      
      * les: initialize price factors
      
      * les: increased connected bias to lower churn rate
      
      * les: fixed clientPool.setLimits
      
      * core: do not use mutex in GetAncestor
      
      * les: bump factor db version again
      
      * les: add metrics
      
      * les, light: minor fixes
      0ac9bbba
  4. Aug 21, 2019
  5. Aug 03, 2019
  6. Jul 03, 2019
  7. Feb 23, 2018
    • Anton Evangelatov's avatar
      metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) · ae9f9722
      Anton Evangelatov authored
      * go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter.
      
      * vendor: change nonsense/go-metrics to ethersphere/go-metrics
      
      * go-metrics: add tests. move ResettingTimer logic from reporter to type.
      
      * all, metrics: pull in metrics package in go-ethereum
      
      * metrics/test: make sure metrics are enabled for tests
      
      * metrics: apply gosimple rules
      
      * metrics/exp, internal/debug: init expvar endpoint when starting pprof server
      
      * internal/debug: tiny comment formatting fix
      ae9f9722
  8. Jan 06, 2017
  9. Nov 09, 2016
Loading