good morning!!!!

Skip to content
Snippets Groups Projects
  1. Aug 15, 2018
  2. Aug 14, 2018
    • Zsolt Felföldi's avatar
    • 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
    • Gary Rong's avatar
      miner: move agent logic to worker (#17351) · a1783d16
      Gary Rong authored
      * miner: move agent logic to worker
      
      * miner: polish
      
      * core: persist block before reorg
      a1783d16
    • Gary Rong's avatar
      crypto: change formula for create2 (#17393) · e0e0e534
      Gary Rong authored
      e0e0e534
    • Anton Evangelatov's avatar
      swarm/network, swarm/storage: validate chunk size (#17397) · 97887d98
      Anton Evangelatov authored
      * swarm/network, swarm/storage: validate default chunk size
      
      * swarm/bmt, swarm/network, swarm/storage: update BMT hash initialisation
      
      * swarm/bmt: move segmentCount to tests
      
      * swarm/chunk: change chunk.DefaultSize to be untyped const
      
      * swarm/storage: add size validator
      
      * swarm/storage: add chunk size validation to localstore
      
      * swarm/storage: move validation from localstore to validator
      
      * swarm/storage: global chunk rules in MRU
      97887d98
    • Yao Zengzeng's avatar
      README.md: fix some typos (#17381) · 8a040de6
      Yao Zengzeng authored
      
      Signed-off-by: default avatarYaoZengzeng <yaozengzeng@zju.edu.cn>
      8a040de6
  3. Aug 13, 2018
  4. Aug 10, 2018
  5. Aug 09, 2018
  6. Aug 08, 2018
  7. Aug 07, 2018
  8. Aug 06, 2018
Loading