Skip to content
  1. Jun 27, 2019
    • cheme's avatar
      Refacto of keyspace to use static creation unique info. · fc034fb7
      cheme authored
      Expose a method to access a keyspace for a parent trie path,
      that way the keyspace is not into the state.
      This is a TODO as the structure to store it is pretty similar to
      state trie without usage of crypto proof, this could be plugged in
      when it exists.
      fc034fb7
  2. Jun 25, 2019
  3. Jun 24, 2019
  4. Jun 22, 2019
    • DemiMarie-parity's avatar
      Relative slots (#2820) · 2d7b4fe8
      DemiMarie-parity authored
      
      
      * Initial work on relative slots for BABE
      
      * More work
      
      * Update core/consensus/babe/src/lib.rs
      
      `Aura` → `Babe`
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * More work on relative slots
      
      * Add missing field in test-runtime
      
      * Bump `impl_version` and `authoring_version`
      
      * Fix compile errors and warnings
      
      * Upgrade dependencies
      
      * Update dependencies more
      
      * Revert some updates to dependencies
      
      Somehow, those broke the build
      
      * Fix compilation errors
      
      * `Duration` → `u128` in calculations
      
      * `slot_duration` is in milleseconds, not seconds
      
      * Median algorithm: ignore blocks with slot_num < sl
      
      * Fix silly compile error
      
      * Store a duration, rather than an instant
      
      It is more useful
      
      * Fix compilation errors
      
      * `INVERSE_NANO` → `NANOS_PER_SEC`
      
      Also: `1000_000_000` → `1_000_000_000`
      
      Suggested-by: default avatarNiklas Adolfsson <[email protected]>
      
      * Un-bump `authoring_version`
      
      * Disable median algorithm when `median_required_blocks` is 0
      
      Otherwise it would panic.
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Simplify panic
      
      * Fix build error
      
      * Create `SignedDuration` struct
      
      for signed `Duration` values.
      
      Suggested-by: Bastian Köcher
      
      * Refactor median algorithm into separate function
      
      * Add issues for FIXMEs and respond to code review
      
      * Fix minor warnings
      2d7b4fe8
  5. Jun 21, 2019
  6. Jun 20, 2019
  7. Jun 19, 2019
  8. Jun 18, 2019
  9. Jun 17, 2019
  10. Jun 15, 2019