1. 29 Dec, 2018 1 commit
    • Matt K's avatar
      accounts/abi: change unpacking of abi fields w/ underscores (#16513) · a4af7343
      Matt K authored
      * accounts/abi: fix name styling when unpacking abi fields w/ underscores
      
      ABI fields with underscores that are being unpacked
      into structs expect structs with following form:
      
      int_one -> Int_one
      
      whereas in abigen the generated structs are camelcased
      
      int_one -> IntOne
      
      so updated the unpack method to expect camelcased structs as well.
      a4af7343
  2. 28 Dec, 2018 1 commit
  3. 23 Dec, 2018 1 commit
  4. 22 Dec, 2018 4 commits
    • Jeff Prestes's avatar
    • bas-vk's avatar
    • lash's avatar
      swarm/network: Revised depth and health for Kademlia (#18354) · 5e4fd8e7
      lash authored
      * swarm/network: Revised depth calculation with tests
      
      * swarm/network: WIP remove redundant "full" function
      
      * swarm/network: WIP peerpot refactor
      
      * swarm/network: Make test methods submethod of peerpot and embed kad
      
      * swarm/network: Remove commented out code
      
      * swarm/network: Rename health test functions
      
      * swarm/network: Too many n's
      
      * swarm/network: Change hive Healthy func to accept addresses
      
      * swarm/network: Add Healthy proxy method for api in hive
      
      * swarm/network: Skip failing test out of scope for PR
      
      * swarm/network: Skip all tests dependent on SuggestPeers
      
      * swarm/network: Remove commented code and useless kad Pof member
      
      * swarm/network: Remove more unused code, add counter on depth test errors
      
      * swarm/network: WIP Create Healthy assertion tests
      
      * swarm/network: Roll back health related methods receiver change
      
      * swarm/network: Hardwire network minproxbinsize in swarm sim
      
      * swarm/network: Rework Health test to strict
      
      Pending add test for saturation
      And add test for as many as possible up to saturation
      
      * swarm/network: Skip discovery tests (dependent on SuggestPeer)
      
      * swarm/network: Remove useless minProxBinSize in stream
      
      * swarm/network: Remove unnecessary testing.T param to assert health
      
      * swarm/network: Implement t.Helper() in checkHealth
      
      * swarm/network: Rename check back to assert now that we have helper magic
      
      * swarm/network: Revert WaitTillHealthy change (deferred to nxt PR)
      
      * swarm/network: Kademlia tests GotNN => ConnectNN
      
      * swarm/network: Renames and comments
      
      * swarm/network: Add comments
      5e4fd8e7
    • Jerzy Lasyk's avatar
      p2p/protocols: accounting metrics rpc (#18336) · 880de230
      Jerzy Lasyk authored
      * p2p/protocols: accounting metrics rpc added (#847)
      
      * p2p/protocols: accounting api documentation added (#847)
      
      * p2p/protocols: accounting api doc updated (#847)
      
      * p2p/protocols: accounting api doc update (#847)
      
      * p2p/protocols: accounting api doc update (#847)
      
      * p2p/protocols: fix file is not gofmted
      
      * fix lint error
      
      * updated comments after review
      
      * add account balance to rpc
      
      * naming changed after review
      880de230
  5. 21 Dec, 2018 3 commits
    • Wenbiao Zheng's avatar
    • gluk256's avatar
      ca7c13ba
    • lash's avatar
      p2p/simulation: Test snapshot correctness and minimal benchmark (#18287) · e1edfe06
      lash authored
      * p2p/simulation: WIP minimal snapshot test
      
      * p2p/simulation: Add snapshot create, load and verify to snapshot test
      
      * build: add test tag for tests
      
      * p2p/simulations, build: Revert travis change, build test sym always
      
      * p2p/simulations: Add comments, timeout check on additional events
      
      * p2p/simulation: Add benchmark template for minimal peer protocol init
      
      * p2p/simulations: Remove unused code
      
      * p2p/simulation: Correct timer reset
      
      * p2p/simulations: Put snapshot check events in buffer and call blocking
      
      * p2p/simulations: TestSnapshot fail if Load function returns early
      
      * p2p/simulations: TestSnapshot wait for all connections before returning
      
      * p2p/simulation: Revert to before wait for snap load (5e75594)
      
      * p2p/simulations: add "conns after load" subtest to TestSnapshot
      
      and nudge
      e1edfe06
  6. 20 Dec, 2018 2 commits
  7. 18 Dec, 2018 4 commits
  8. 17 Dec, 2018 3 commits
  9. 14 Dec, 2018 7 commits
  10. 13 Dec, 2018 3 commits
  11. 12 Dec, 2018 2 commits
  12. 11 Dec, 2018 7 commits
  13. 10 Dec, 2018 2 commits