Skip to content
  1. Feb 26, 2019
  2. Feb 25, 2019
  3. Feb 22, 2019
  4. Feb 21, 2019
  5. Feb 20, 2019
  6. Feb 19, 2019
    • André Silva's avatar
      Import multiple authority set change blocks (#1808) · 18bbe130
      André Silva authored
      * core: implement logic for tracking dag of possible pending changes
      
      * core: move pending justifications dag to its own crate
      
      * core: remove unnecessary clone bounds on dag
      
      * core: request justifications in-order from the dag
      
      * core: dag: rename changes variables to node
      
      * core: dag: allow finalizing blocks not part of dag
      
      * core: dag: track best finalized number
      
      * core: dag: add more tests
      
      * core: sync: clean up pending justifications dag
      
      * core: dag: derive codec decode encode
      
      * core: dag: better error support
      
      * core: dag: add finalization guarded by predicate
      
      * core: grandpa: track multiple authority set changes in dag
      
      * core: dag: add pre-order iterator
      
      * core: grandpa: request justifications on startup
      
      * core: dag: rearrange order of definitions
      
      * core: rename util/dag to util/fork_tree
      
      * core: fork_tree: add docs
      
      * core: fork_tree: add more tests
      
      * core: fork_tree: fix issues found in tests
      
      * core: grandpa: fix authorities tests
      
      * core: grandpa: add docs for is_descendent_of
      
      * core: sync: add docs for PendingJustifications
      
      * core: sync: add test for justification requests across forks
      
      * core: sync: don't resend import or finality notifications in tests
      
      * core: grandpa: add test for importing multiple change blocks
      
      * core: grandpa: fix logic for checking if a block enacts a change
      
      * core: grandpa: fix authorities tests
      18bbe130
    • Toralf Wittner's avatar
      Small refactoring. (#1826) · b7bb3600
      Toralf Wittner authored and asynchronous rob's avatar asynchronous rob committed
      b7bb3600
    • thiolliere's avatar
      Improve fees module (#1821) · efd5224b
      thiolliere authored
      * remove amount associated
      * make a new trait to bound some arithmetics to balances or assets:
        It also remove arithmetic bounds of srml-support::traits::Currency.
      
        To update your code then use srml_support::traits::ArithmeticType like:
        `type Currency: ArithmeticType + Currency<Self::AccountId, Balance=BalanceOf<Self>>; ` 
        with `type BalanceOf<T> = <<T as Trait>::Currency as ArithmeticType>::Type; `
      
      * improve decl_storage when it explicit serde bound: basically don't try to be smarter than rust and just use where clause.
      efd5224b