good morning!!!!

Skip to content
Snippets Groups Projects
  1. Oct 31, 2018
  2. Oct 29, 2018
  3. Oct 27, 2018
    • Ferenc Szabo's avatar
      swarm: clean up unused private types and functions (#17989) · 54f650a3
      Ferenc Szabo authored
      * swarm: clean up unused private types and functions
      
      Those that were identified by code inspection tool.
      
      * swarm/storage: move/add Proximity GoDoc from deleted private function
      
      The mentioned proximity() private function was deleted in:
      1ca8fc1e6fa0ab4ab1aaca06d6fb32e173cd5f2f
      54f650a3
  4. Oct 25, 2018
    • holisticode's avatar
      p2p accounting (#17951) · 8ed47391
      holisticode authored
      * p2p/protocols: introduced protocol accounting
      
      * p2p/protocols: added TestExchange simulation
      
      * p2p/protocols: add accounting simulation
      
      * p2p/protocols: remove unnecessary tests
      
      * p2p/protocols: comments for accounting simulation
      
      * p2p/protocols: addressed PR comments
      
      * p2p/protocols: finalized accounting implementation
      
      * p2p/protocols: removed unused code
      
      * p2p/protocols: addressed @nonsense PR comments
      8ed47391
    • Johns Beharry's avatar
      cmd/clef: replace password arg with prompt (#17897) · 80d39077
      Johns Beharry authored
      * cmd/clef: replace password arg with prompt (#17829)
      
      Entering passwords on the command line is not secure as it is easy to recover from bash_history or the process table.
      1. The clef command addpw was renamed to setpw to better describe the functionality
      2. The <password> argument was removed and replaced with an interactive prompt
      
      * cmd/clef: remove undeclared variable
      80d39077
  5. Oct 23, 2018
  6. Oct 21, 2018
  7. Oct 19, 2018
  8. Oct 18, 2018
    • Simon Jentzsch's avatar
      EIP-1186 eth_getProof (#17737) · 97fb0834
      Simon Jentzsch authored
      * first impl of eth_getProof
      
      * fixed docu
      
      * added comments and refactored based on comments from holiman
      
      * created structs
      
      * handle errors correctly
      
      * change Value to *hexutil.Big in order to have the same output as parity
      
      * use ProofList as return type
      97fb0834
  9. Oct 17, 2018
  10. Oct 16, 2018
  11. Oct 15, 2018
  12. Oct 12, 2018
  13. Oct 11, 2018
    • Felix Lange's avatar
      p2p/simulations: fix a deadlock and clean up adapters (#17891) · dcae0d34
      Felix Lange authored
      This fixes a rare deadlock with the inproc adapter:
      
      - A node is stopped, which acquires Network.lock.
      - The protocol code being simulated (swarm/network in my case)
        waits for its goroutines to shut down.
      - One of those goroutines calls into the simulation to add a peer,
        which waits for Network.lock.
      
      The fix for the deadlock is really simple, just release the lock
      before stopping the simulation node.
      
      Other changes in this PR clean up the exec adapter so it reports
      node startup errors better and remove the docker adapter because
      it just adds overhead.
      
      In the exec adapter, node information is now posted to a one-shot
      server. This avoids log parsing and allows reporting startup
      errors to the simulation host.
      
      A small change in package node was needed because simulation
      nodes use port zero. Node.{HTTP,WS}Endpoint now return the live
      endpoints after startup by checking the TCP listener.
      dcae0d34
  14. Oct 10, 2018
  15. Oct 09, 2018
    • Felix Lange's avatar
      rpc: fix subscription corner case and speed up tests (#17874) · 4e474c74
      Felix Lange authored
      Notifier tracks whether subscription are 'active'. A subscription
      becomes active when the subscription ID has been sent to the client. If
      the client sends notifications in the request handler before the
      subscription becomes active they are dropped. The tests tried to work
      around this problem by always waiting 5s before sending the first
      notification.
      
      Fix it by buffering notifications until the subscription becomes active.
      This speeds up all subscription tests.
      
      Also fix TestSubscriptionMultipleNamespaces to wait for three messages
      per subscription instead of six. The test now finishes just after all
      notifications have been received and doesn't hit the 30s timeout anymore.
      4e474c74
    • Elad's avatar
      cmd/swarm: speed up tests (#17878) · da290e97
      Elad authored
      These minor changes already shaved off around 30s.
      da290e97
    • Anton Evangelatov's avatar
      swarm, swarm/storage: lower constants for faster tests (#17876) · 0fe9a372
      Anton Evangelatov authored
      * swarm/storage: lower constants for faster tests
      
      * swarm: reduce test size for TestLocalStoreAndRetrieve
      
      * swarm: reduce nodes for dec_inc_node_count
      0fe9a372
    • Martin Holst Swende's avatar
      cmd/clef: encrypt the master seed on disk (#17704) · d5c7a605
      Martin Holst Swende authored
      
      * cmd/clef: encrypt master seed of clef
      
      Signed-off-by: default avatarYaoZengzeng <yaozengzeng@zju.edu.cn>
      
      * keystore: refactor for external use of encryption
      
      * clef: utilize keystore encryption, check flags correctly
      
      * clef: validate master password
      
      * clef: add json wrapping around encrypted master seed
      d5c7a605
Loading