good morning!!!!

Skip to content
Snippets Groups Projects
  1. Aug 15, 2018
  2. Aug 14, 2018
    • Zsolt Felföldi's avatar
      les: implement client connection logic (#16899) · b2ddb1fc
      Zsolt Felföldi authored
      This PR implements les.freeClientPool. It also adds a simulated clock
      in common/mclock, which enables time-sensitive tests to run quickly
      and still produce accurate results, and package common/prque which is
      a generalised variant of prque that enables removing elements other
      than the top one from the queue.
      
      les.freeClientPool implements a client database that limits the
      connection time of each client and manages accepting/rejecting
      incoming connections and even kicking out some connected clients. The
      pool calculates recent usage time for each known client (a value that
      increases linearly when the client is connected and decreases
      exponentially when not connected). Clients with lower recent usage are
      preferred, unknown nodes have the highest priority. Already connected
      nodes receive a small bias in their favor in order to avoid accepting
      and instantly kicking out clients.
      
      Note: the pool can use any string for client identification. Using
      signature keys for that purpose would not make sense when being known
      has a negative value for the client. Currently the LES protocol
      manager uses IP addresses (without port address) to identify clients.
      b2ddb1fc
  3. Aug 10, 2018
  4. Aug 03, 2018
    • Gary Rong's avatar
      consensus/ethash: move remote agent logic to ethash internal (#15853) · 51db5975
      Gary Rong authored
      * consensus/ethash: start remote ggoroutine to handle remote mining
      
      * consensus/ethash: expose remote miner api
      
      * consensus/ethash: expose submitHashrate api
      
      * miner, ethash: push empty block to sealer without waiting execution
      
      * consensus, internal: add getHashrate API for ethash
      
      * consensus: add three method for consensus interface
      
      * miner: expose consensus engine running status to miner
      
      * eth, miner: specify etherbase when miner created
      
      * miner: commit new work when consensus engine is started
      
      * consensus, miner: fix some logics
      
      * all: delete useless interfaces
      
      * consensus: polish a bit
      51db5975
  5. Jul 30, 2018
  6. Jul 12, 2018
  7. Jul 04, 2018
  8. Jun 25, 2018
  9. Jun 12, 2018
  10. Jun 05, 2018
  11. May 21, 2018
  12. May 18, 2018
  13. May 09, 2018
  14. May 07, 2018
  15. May 03, 2018
  16. Apr 17, 2018
  17. Apr 11, 2018
  18. Feb 27, 2018
  19. 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
  20. Feb 22, 2018
  21. Feb 19, 2018
  22. Feb 14, 2018
  23. Feb 11, 2018
    • Péter Szilágyi's avatar
      les, light: fix CHT trie retrievals (#16039) · 7a0019c6
      Péter Szilágyi authored
      * les, light: fix CHT trie retrievals
      
      * les, light: minor polishes, test remote CHT retrievals
      
      * les, light: deterministic nodeset rlp, bloombits test skeleton
      
      * les: add an event emission to the les bloombits test
      
      * les: drop dead tester code
      7a0019c6
  24. Feb 10, 2018
  25. Feb 05, 2018
  26. Jan 30, 2018
  27. Jan 26, 2018
  28. Jan 22, 2018
    • Zsolt Felföldi's avatar
      p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200) · 92580d69
      Zsolt Felföldi authored
      This commit affects p2p/discv5 "topic discovery" by running it on
      the same UDP port where the old discovery works. This is realized
      by giving an "unhandled" packet channel to the old v4 discovery
      packet handler where all invalid packets are sent. These packets
      are then processed by v5. v5 packets are always invalid when
      interpreted by v4 and vice versa. This is ensured by adding one
      to the first byte of the packet hash in v5 packets.
      
      DiscoveryV5Bootnodes is also changed to point to new bootnodes
      that are implementing the changed packet format with modified
      hash. Existing and new v5 bootnodes are both running on different
      ports ATM.
      92580d69
  29. Jan 09, 2018
  30. Jan 03, 2018
  31. Dec 28, 2017
  32. Dec 22, 2017
  33. Nov 24, 2017
  34. Nov 21, 2017
Loading