1. Jan 08, 2019
    • Arkadiy Paronyan's avatar
      State cache and other performance optimizations (#1345) · 5dd23c2c
      Arkadiy Paronyan authored
      * State caching
      
      * Better code caching
      
      * Execution optimizaton
      
      * More optimizations
      
      * Updated wasmi
      
      * Caching test
      
      * Style
      
      * Style
      
      * Reverted some minor changes
      
      * Style and typos
      
      * Style and typos
      
      * Removed panics on missing memory
      5dd23c2c
    • Wei Tang's avatar
      Expose all authorship APIs (#1366) · a456f8f1
      Wei Tang authored and asynchronous rob's avatar asynchronous rob committed
      a456f8f1
    • Shawn Tabrizi's avatar
      Updating parking_lot dependencies to 0.7.1 (#1361) · aeff8259
      Shawn Tabrizi authored and Benjamin Kampmann's avatar Benjamin Kampmann committed
      aeff8259
    • Wei Tang's avatar
      Make AuthorityId generic (#1296) · bc25da55
      Wei Tang authored and Benjamin Kampmann's avatar Benjamin Kampmann committed
      * BlockAuthorityId convenience type
      
      * Rename AuthorityId -> Ed25519AuthorityId to make it more precise
      
      * Generalize AuthorityId up to substrate-client
      
      * Fix in client-db
      
      * rename: BlockAuthorityId -> AuthorityIdFor
      
      * typo: should be digest item
      
      * Fix test-runtime authorityId mismatch
      
      One states that AuthorityId is u64 while the other states that it's Ed25519AuthorityId.
      
      * Fix more u64 - Ed25519AuthorityId mismatch
      
      * Fix compile of most of the srml modules
      
      * Continue to pin aura and grandpa with ed25519 and fix compile
      
      * Add MaybeHash trait
      
      * Fix node-runtime compile
      
      * Fix network tests
      bc25da55
  2. Jan 07, 2019
    • Gav Wood's avatar
      Invulnerabiity from slashing for certain validators (#1355) · 754f28d8
      Gav Wood authored
      
      
      * Invulnerabiity from slashing
      
      * Update srml/staking/src/lib.rs
      
      Co-Authored-By: default avatargavofyork <[email protected]>
      754f28d8
    • cheme's avatar
      Decl_storage macro : force traits. (#1317) · 6cef98d1
      cheme authored
      * Missing trait def on two calls.
      
      Slight mcla refact on transfo.
      
      * Allways provide GenesisConfig even when useless (for runtime module
      export).
      
      * Revert "Allways provide GenesisConfig even when useless (for runtime module"
      
      This reverts commit 84a29bc5.
      
      * Fix Vec usage (from rstd).
      6cef98d1
    • Wei Tang's avatar
      Use primitive-types crate to unify Parity Ethereum primitives (#1187) · 91b6c79c
      Wei Tang authored
      * Unify primitive types with parity-ethereum
      
      * Update primtive-types patch version
      
      * Fix merge issue
      
      * Add necessary fixed-hash features
      
      * Fix node-primitives compile
      
      * Reexport impl_serde::serialize as bytes to avoid path changes
      91b6c79c
    • Luke Schoen's avatar
      Update SRML Council: prevent excess votes/computation (#1162) · f2440660
      Luke Schoen authored
      * fix: Add assertions to prevent excess votes and computation, and to end council seat election when no empty seats
      
      * Add assertion to prevent a vote from voters that provide a list of votes that exceeds the desired seats length, since otherise an attacker may be able to submit a very long list of `votes` that far exceeds the amount of candidates and waste more computation than a reasonable voting bond would cover. Added additional associated test that may be run with `cargo test -p srml-council`
      
      * Add assertion so expired council seats are not up for election when desired seat count changes during the voting period such that there are no longer any empty seats
      
      * Update comment to refer to `reporter` instead of `who` (target of inactivity), since the origin is the `reporter`
      
      * Update commment to refer more specifically to how many vote indexes, since `InactiveGracePeriod` is measured in vote indexes
      
      * Update comment for `ApprovalsOf` since previously the comment was a duplicate of the comment for `LastActiveOf`'s
      
      * Create variable to refer to `retaining_seats` to improve readability
      
      * Reference Notes: https://hackmd.io/nr6kPD2sR4urmljtvHs0CQ
      
      * WIP - length votes should be less than length candidates. pushing changes for reference so can fix
      
      * fix: Amount of candidate approval votes cannot exceed candidates amount. Candidates amount must be over zero.
      
      * Fix so that amount of candidate approval votes cannot exceed amount of candidates (instead of desired seats)
      
      * Add assertion to `set_approvals` such that amount of candidates to receive approval votes must be greater than zero. Add associated test
      
      * fix: Remove assertion preventing votes when empty seats is 0
      
      * review-fix: Replace with is_zero and add corresponding test
      
      * Update seats.rs
      
      * Update seats.rs
      f2440660
    • asynchronous rob's avatar
      log on reorganization (#1356) · 486cfafd
      asynchronous rob authored
      486cfafd
    • Aton's avatar
      fix bug for revert (#1341) · d87fb066
      Aton authored
      * must pass sub_matches to function, so that could get `<num>` in revert
      * revert should del current best index block, not prev block
      d87fb066
  3. Jan 06, 2019
  4. Jan 04, 2019
  5. Dec 31, 2018
  6. Dec 29, 2018
  7. Dec 27, 2018
  8. Dec 23, 2018
  9. Dec 22, 2018
  10. Dec 21, 2018
  11. Dec 20, 2018
  12. Dec 19, 2018
  13. Dec 17, 2018