1. Oct 12, 2019
  2. Oct 11, 2019
  3. Oct 10, 2019
  4. Oct 09, 2019
    • Demi Obenour's avatar
      Bump dependencies (#3787) · e44bd441
      Demi Obenour authored
      * Update dependencies, respecting semver
      
      * Bump dependencies
      
      * Don’t patch tiny-bip39 dependency
      e44bd441
    • Bastian Köcher's avatar
      Move `Externalities` into its own crate (#3775) · 79c776af
      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`
      79c776af
  5. Oct 08, 2019
  6. Oct 07, 2019
  7. Oct 06, 2019
  8. Oct 05, 2019
  9. Oct 04, 2019
  10. Oct 03, 2019
    • Gavin Wood's avatar
      Split off TypeId so as not to pull in sr-io (#3740) · 73104d3a
      Gavin Wood authored
      * Add type-id
      
      * Builds with std now.
      
      * Fix for cargo
      
      * Remove unneeded stuff
      
      * Move TypeId.
      73104d3a
    • Wei Tang's avatar
      Cumulative fixes to make working with consensus-pow easier (#3617) · ddd7368b
      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
      ddd7368b
    • Xiliang Chen's avatar
      Minor fixes (#3751) · 8492a268
      Xiliang Chen authored and Shawn Tabrizi's avatar Shawn Tabrizi committed
      * fix warning
      
      * use compact for balance type
      
      * bump version
      8492a268
    • Yash Garg's avatar
      Update README.adoc (#3744) · f04d7de1
      Yash Garg authored and Shawn Tabrizi's avatar Shawn Tabrizi committed
      
      
      * Update README.adoc
      
      * Update README.adoc
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update README.adoc
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update README.adoc
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update README.adoc
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      f04d7de1
  11. Oct 02, 2019
    • DemiMarie-parity's avatar
      Upgrade dependencies whenever “easy” (#3556) · 0cfe7438
      DemiMarie-parity authored
      * Update all dependencies
      
      * Upgrade dependencies whenever “easy”
      
      “easy” means that there are no major changes required.
      
      * Fix build and bump paste dependency to 0.1.6
      
      * Remove dead code
      
      * Re-add = dependency for futures-preview
      
      * Add missing std features for runtime-io
      
      * Remove git dependencies
      
      as updated versions have been published to crates.io
      
      * try to debug bug
      
      * For sr-io, "std" should imply "no_oom" and "no_panic_handler".
      
      Otherwise, rustc complains (correctly) about duplicate lang items.
      
      * Add missing "runtime-io/std" features
      
      * Fix compilation errors
      
      * Prevent duplicate lang items
      
      Rust does not allow duplicate lang items.  When compiled without the
      `std` feature, `sr-io` defines two lang items.  Therefore, `sr-io`
      compiled without `feature = "std"` must not be linked with `std`.
      
      However, `pwasm-utils` and `wasmi-validation` both bring in `std` unless
      compiled with `default-features = "false"`.  This caused a duplicate
      lang item error.  Building both with `default-features = "false"`
      prevents this error.  When building with `feature = "std"`, they should
      both be built with the `std` feature, so this feature needs to be
      explicitly depended on.
      
      * Bump `impl_version`
      
      * Make tests pass
      
      Three tests used 1 less gas than they had previously.
      
      * Try to un-break build
      
      * Add a Cargo.lock file
      
      * Revert offchain code
      
      * Revert "Revert offchain code"
      
      This reverts commit d216d08c
      
      .
      
      * Don’t try to send a body with a GET request
      
      without adding a Transfer-Encoding or Content-Length header.
      
      This has always been wrong, but hyperium/hyper#1925 hid the bug until
      hyper was upgraded to 0.12.35.
      
      * Change some more GET requests to POST requests
      
      * Fix excess line width and remove an `extern crate`
      
      * Delete commented-out extern crate
      
      Co-Authored-By: default avatarSergei Pepyakin <[email protected]>
      
      * Fix regression in Cargo.toml files
      
      dev-dependencies need `default-features = false`, too.
      
      * Bump parity-wasm dependency
      
      * Bump `futures-preview`
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update Cargo.lock files
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update core/service/src/chain_ops.rs
      
      Co-Authored-By: default avatarSergei Pepyakin <[email protected]>
      0cfe7438
    • Marcio Diaz's avatar
      Optimize tree route to sync faster (#3665) · d7be2906
      Marcio Diaz authored
      * Introduce HeaderMetadata and use it for tree_route. Add lowest_common_ancestor.
      * Add tests.
      d7be2906
    • DemiMarie-parity's avatar
      BABE refactoring: split out verification (#3658) · 7010ec77
      DemiMarie-parity authored and asynchronous rob's avatar asynchronous rob committed
      * Refactor parts of BABE verification into separate module
      
      * Fix silly compiler error
      
      * Move more of the verification code to verification.rs
      
      * Remove some unused imports
      
      * Fix line width
      
      * fix testsuite compile error
      
      * Fix compile errors in tests
      
      * Move authorship-related code to its own files
      
      * fix compile errors in tests
      
      * Respond to review comments by @rphmeier
      
      * improve docs
      
      * fix compile error
      
      * Add missing doc comment
      7010ec77
    • thiolliere's avatar
      Fix quantization from OnDilution in treasury (#3736) · 27a86ed7
      thiolliere authored
      * fix
      
      * bump version
      
      * remove println
      27a86ed7