1. Apr 01, 2020
  2. Mar 31, 2020
  3. Mar 30, 2020
  4. Mar 29, 2020
    • Bastian Köcher's avatar
      Add method to `sc-cli` to reset the `SIGPIPE` signal handler (#5447) · 44e2e1d9
      Bastian Köcher authored
      The signal handler will be reset to the default system one. This means
      the program will be exited instead of panicking. This is required to
      support piping in the console.
      44e2e1d9
    • Joseph Mark's avatar
      Extend PerThing + Saturating (#5281) · 2206e52d
      Joseph Mark authored
      
      
      * Extend PerThing + Saturating
      
      * Add saturating_pow to Saturating
      * Add saturating_truncating_mul to PerThing (rounding-down mul)
      * Add saturating_reciprocal_mul to PerThing (divide x by perthing)
      * Provide default methods where possible
      
      * Restore const functions
      
      * Fix test
      
      * Update primitives/arithmetic/src/per_things.rs
      
      Co-Authored-By: default avatarKian Paimani <[email protected]>
      
      * Add comment and test verifying no overflow
      
      * Formatting
      
      * Fix possible overflow and change type constraint
      
      * Use overflow pruning for all mul
      
      * Formatting and comments
      
      * Improve comments and names
      
      * Comments in `rational_mul_correction` explain overflow aversion.
      
      * Test rational_mul_correction
      
      * Formatting
      
      * Docs and formatting
      
      * Add new trait methods to Perthing type impl
      
      * Fix signature
      
      * saturating_pow for Delegations
      
      * Add missing trait method to impl
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      2206e52d
    • Nikolay Volf's avatar
      don't use delays in tests (#5404) · 7a96d621
      Nikolay Volf authored
      7a96d621
  5. Mar 28, 2020
  6. Mar 27, 2020