Skip to content
  1. Oct 15, 2019
  2. Oct 14, 2019
  3. Oct 13, 2019
  4. Oct 12, 2019
  5. Oct 11, 2019
  6. Oct 10, 2019
  7. Oct 09, 2019
    • Demi Obenour's avatar
      Bump dependencies (#3787) · 4da48dd9
      Demi Obenour authored
      * Update dependencies, respecting semver
      
      * Bump dependencies
      
      * Don’t patch tiny-bip39 dependency
      4da48dd9
    • Bastian Köcher's avatar
      Move `Externalities` into its own crate (#3775) · 8a39be47
      Bastian Köcher authored
      * Move `Externalities` into `substrate-externalities`
      
      - `Externalities` now support generic extensions
      - Split of `primtives-storage` for storage primitive types
      
      * Move the externalities scoping into `substrate-externalities`
      
      * Fix compilation
      
      * Review feedback
      
      * Adds macro for declaring extensions
      
      * Fix benchmarks
      
      * Introduce `ExtensionStore` trait
      
      * Last review comments
      
      * Implement it for `ExtensionStore`
      8a39be47
  8. Oct 08, 2019
  9. Oct 07, 2019
  10. Oct 06, 2019
  11. Oct 05, 2019
  12. Oct 04, 2019
  13. Oct 03, 2019
    • Gavin Wood's avatar
      Split off TypeId so as not to pull in sr-io (#3740) · 251d33cb
      Gavin Wood authored
      * Add type-id
      
      * Builds with std now.
      
      * Fix for cargo
      
      * Remove unneeded stuff
      
      * Move TypeId.
      251d33cb
    • Wei Tang's avatar
      Cumulative fixes to make working with consensus-pow easier (#3617) · 18fa1d15
      Wei Tang authored
      
      
      * consensus-pow: add difficulty data to auxiliary
      
      * Timestamp api
      
      * Implement FinalityProofProvider for ()
      
      * Add DifficultyApi
      
      * Remove assumption that Difficulty is u128
      
      * Use a separate trait for add instead of hard-code it as Saturating
      
      * Some convenience functions to work with PowVerifier
      
      * Try to fix mining unstability
      
      * Fix generic resolution
      
      * Unused best_header variable
      
      * Fix hash calculation
      
      * Remove artificial sleep
      
      * Tweak proposer waiting time
      
      * Revert sleep removal
      
      The reason why it was there is because when mine_loop returns, it means an error
      happened. In that case, we'd better sleep for a moment before trying again,
      because immediately trying would most likely just fail.
      
      * Pass sync oracle to mining
      
      So that it does not mine when major syncing
      
      * Expose build time as a parameter
      
      Instead of hardcode it as previously 100ms.
      
      * Update lock file
      
      * Fix compile
      
      * Support skipping check_inherents for ancient blocks
      
      For PoW, older blocks are secured by the work, and can mostly be considered to
      be finalized. Thus we can save both code complexity and validation time by
      skipping checking inherents for them.
      
      * Move difficulty fetch function out of loop
      
      To make things faster
      
      * Remove seed from mining
      
      Each engine can use its own Rng source.
      
      * Better comments
      
      * Add TotalDifficulty definition for U256 and u128
      
      * Update core/consensus/pow/src/lib.rs
      
      Co-Authored-By: default avatarAndré Silva <[email protected]>
      
      * Rename TotalDifficulty::add -> increment
      
      * Use SelectChain to fetch the best header/hash
      
      * Update lock file
      18fa1d15