Skip to content
  1. May 13, 2019
  2. May 12, 2019
  3. May 11, 2019
  4. May 10, 2019
  5. May 09, 2019
  6. May 08, 2019
  7. May 07, 2019
  8. May 06, 2019
    • Gavin Wood's avatar
      Fix std/core crates (#2489) · 1436e6d7
      Gavin Wood authored
      - Add convert
      - Add btree_set for without_std
      1436e6d7
    • Kian Peymani's avatar
      Move hashing benches to Criterion. (#2487) · 9f61b95e
      Kian Peymani authored and thiolliere's avatar thiolliere committed
      9f61b95e
    • Gavin Wood's avatar
      Clean up random seed to make a bit more flexible (#2456) · adba8991
      Gavin Wood authored and Sergey Pepyakin's avatar Sergey Pepyakin committed
      
      
      * Reformulate random seed to be more random
      
      - First 80 random values come from cycling the incomplete series (
        instead of filling with zeroes)
      - Calculate random material each usage (use a single amalgamated
        ring buffer to store them for avoiding 81 lookups each time)
      - Mutate inputs by hashing each with:
        - its index (into the 81)
        - an additional "subject" key provided by caller
      
      This keeps the final output low-influence while still allowing
      it to be used as the seed to independent contexts. (Hashing the
      result to give the final seed is no better than using parent_hash).
      
      * Docs
      
      * Bump runtime
      
      * Update notes
      
      * Remove feature(alloc)
      
      * Update srml/system/src/lib.rs
      
      Co-Authored-By: default avatargavofyork <[email protected]>
      adba8991