Skip to content
  1. Jan 24, 2017
    • keorn's avatar
      ValidatorSet reporting (#4208) · ba020967
      keorn authored
      * remove register_account_provider
      
      * build rpc module
      
      * new dummy client
      
      * common EngineSigner struct
      
      * from -> into
      
      * initial report via call
      
      * separate safe from regular contract
      
      * transact_contract
      
      * fix build
      
      * return Signature, docs
      
      * add sign method to some engines
      
      * add safeContract spec
      
      * update specs to new contracts
      
      * use AuthorityRound for contract spec
      
      * add more reporting
      
      * add reporting test
      
      * use gas floor
      
      * shorter
      ba020967
  2. Jan 23, 2017
  3. Jan 22, 2017
  4. Jan 20, 2017
    • asynchronous rob's avatar
      Memory-based pruning history size (#4114) · 203fd8a4
      asynchronous rob authored
      * prune states based on memory param
      
      * pruning memory CLI and usage in sync
      
      * return purged value from memorydb
      
      * calculate memory used incrementally in overlayrecentdb
      
      * refactor shared history pruning code in client
      
      * Fixed usage alignment
      
      * journal_size function for fast memory calculation
      203fd8a4
    • keorn's avatar
      Common EngineSigner (#4189) · 97a60cea
      keorn authored
      * remove register_account_provider
      
      * build rpc module
      
      * new dummy client
      
      * common EngineSigner struct
      
      * from -> into
      
      * return Signature, docs
      97a60cea
    • asynchronous rob's avatar
      Light protocol syncing improvements (#4212) · a791cb50
      asynchronous rob authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * remove old lint silencer
      
      * dispatch requests only to peers with higher TD
      
      * dynamic target for sync rounds
      
      * use round pivots instead of frames, fix test
      
      * fix total difficulty calculation for test client
      
      * fix broken reorg algorithm
      
      * fork test, fix ancestor search
      a791cb50
    • asynchronous rob's avatar
      LES Peer Info (#4195) · 3ff9324e
      asynchronous rob authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * connected peers function for network service
      
      * get LES peer info in sync API
      
      * new peer info in RPC
      3ff9324e
  5. Jan 18, 2017
  6. Jan 16, 2017
  7. Jan 13, 2017
  8. Jan 12, 2017
    • Gav Wood's avatar
      Improvements and optimisations to estimate_gas (#4142) · 311730ea
      Gav Wood authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Return 0 instead of error with out of gas on estimate_gas
      
      * Fix stuff up.
      
      * Another estimate gas fix.
      
      * Alter balance to maximum possible rather than GP=0.
      
      * Only increase to amount strictly necessary.
      
      * Improvements and optimisations to estimate_gas.
      
      - Introduce proper error type
      - Avoid building costly traces
      
      * Fix tests.
      
      * Actually fix testsActually fix tests
      311730ea
  9. Jan 11, 2017
    • asynchronous rob's avatar
      fix test compilation · 78e67081
      asynchronous rob authored
      78e67081
    • keorn's avatar
      Refactor VoteCollector (#4101) · 844b1f8c
      keorn authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * dir
      
      * simple validator list
      
      * stub validator contract
      
      * make the engine hold Weak<Client> instead of IoChannel
      
      * validator set factory
      
      * register weak client with ValidatorContract
      
      * check chain security
      
      * add address array to generator
      
      * register provider contract
      
      * update validator set on notify
      
      * add validator contract spec
      
      * simple list test
      
      * split update and contract test
      
      * contract change
      
      * use client in tendermint
      
      * fix deadlock
      
      * step duration in params
      
      * adapt tendermint tests
      
      * add storage fields to test spec
      
      * constructor spec
      
      * execute under wrong address
      
      * create under correct address
      
      * revert
      
      * validator contract constructor
      
      * move genesis block lookup
      
      * add removal ability to contract
      
      * validator contract adding validators
      
      * fix basic authority
      
      * validator changing test
      
      * more docs
      
      * update sync tests
      
      * remove env_logger
      
      * another env_logger
      
      * cameltoe
      
      * hold EngineClient instead of Client
      
      * return error on misbehaviour
      
      * nicer return
      
      * sprinkle docs
      844b1f8c
    • Gav Wood's avatar
      Another minor estimation fix (#4133) · 56c546f4
      Gav Wood authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Return 0 instead of error with out of gas on estimate_gas
      
      * Fix stuff up.
      
      * Another estimate gas fix.
      
      * Alter balance to maximum possible rather than GP=0.
      
      * Only increase to amount strictly necessary.
      56c546f4
    • asynchronous rob's avatar
      Test harness for lightsync (#4109) · 7123f19a
      asynchronous rob authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * make on_connect/disconnect public
      
      * free flow params constructor
      
      * Shared ownership of LES handlers
      
      * light provider impl for test client
      
      * skeleton for testing light sync
      
      * have test_client use actual genesis
      
      * fix underflow in provider
      
      * test harnesses for lightsync
      
      * fix tests
      
      * fix test failure caused by test_client changes
      7123f19a
    • Gav Wood's avatar
      Fix call/estimate_gas (#4121) · 7286d42b
      Gav Wood authored
      * Return 0 instead of error with out of gas on estimate_gas
      
      * Fix stuff up.
      7286d42b
    • Tomasz Drwięga's avatar
      Get rid of unsafe code in ethkey, propagate incorrect Secret errors. (#4119) · 21006da1
      Tomasz Drwięga authored
      * Implementing secret
      
      * Fixing tests
      21006da1
  10. Jan 10, 2017
    • Gav Wood's avatar
      Use binary chop to estimate gas accurately (#4100) · 23feb799
      Gav Wood authored
      * Initial sketch.
      
      * Building.
      
      * Fix a few things.
      
      * Fix issue, add tracing.
      
      * Address grumbles
      
      * Raise upper limit if needed
      
      * Fix test.
      23feb799
    • Arkadiy Paronyan's avatar
      v1.6 in master (#4113) · 148ea376
      Arkadiy Paronyan authored
      148ea376
    • Gav Wood's avatar
      Ignore get_price_info test by default. (#4112) · ae144b7f
      Gav Wood authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      ae144b7f
    • keorn's avatar
      Validator/authority contract (#3937) · be30c441
      keorn authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * dir
      
      * simple validator list
      
      * stub validator contract
      
      * make the engine hold Weak<Client> instead of IoChannel
      
      * validator set factory
      
      * register weak client with ValidatorContract
      
      * check chain security
      
      * add address array to generator
      
      * register provider contract
      
      * update validator set on notify
      
      * add validator contract spec
      
      * simple list test
      
      * split update and contract test
      
      * contract change
      
      * use client in tendermint
      
      * fix deadlock
      
      * step duration in params
      
      * adapt tendermint tests
      
      * add storage fields to test spec
      
      * constructor spec
      
      * execute under wrong address
      
      * create under correct address
      
      * revert
      
      * validator contract constructor
      
      * move genesis block lookup
      
      * add removal ability to contract
      
      * validator contract adding validators
      
      * fix basic authority
      
      * validator changing test
      
      * more docs
      
      * update sync tests
      
      * remove env_logger
      
      * another env_logger
      
      * cameltoe
      
      * hold EngineClient instead of Client
      
      * add a comment about lock scope
      be30c441
  11. Jan 09, 2017
  12. Jan 06, 2017
    • asynchronous rob's avatar
      Zero-alloc trie lookups (#3998) · 9c00eb4e
      asynchronous rob authored
      * triedb cleanup
      
      * factor out common portion of trie query
      
      * allocate far fewer times in node decoding
      
      * fix bench compilation
      
      * introduce OwnedNode variant to make iter fast again
      
      * generalize recorder trait to Query
      
      * decode trie outputs cost-free in state
      
      * test for passing closure as query
      9c00eb4e
  13. Jan 05, 2017
  14. Jan 04, 2017