Skip to content
  1. Oct 27, 2018
    • Benjamin Kampmann's avatar
      Consensus Engines Implementation: Aura (#911) · 50adea62
      Benjamin Kampmann authored
      * Generalize BlockImport
      
       - move ImportBlock, BlockOrigin, ImportResult into shared sr-primitives
       - let Consensus provide  and  traits again
       - update consensus traits to latest development
       - implement traits on client::Client, test_client::TestClient
       - update RHD to use the new import_block API
      
      * Move ImportBlock into consensus-common
      * Send import notification in aura tests
      * Integrating aura into service
      * Make Signatures more generic
      * Aura Block Production with the given key
      * run aura on the thread pool
      * start at exact step start in aura
      * Add needed wasm blob, in leiu of better solutions.
      * Make API ids consistent with traits and bring upstream for sharing.
      * Add decrease_free_balance to Balances module
      * Encode `Metadata` once instead of two times
      * Bitops include xor
      * Upgrade key module.
      * Default pages to somewhat bigger.
      * Introduce upgrade key into node
      * Add `Created` event
      50adea62
    • guanqun's avatar
      Remove pub in macros (#1027) · c0f70214
      guanqun authored
      * use :vis in macro_rules!
      
      * use :vis in meta
      c0f70214
  2. Oct 26, 2018
  3. Oct 25, 2018
  4. Oct 23, 2018
  5. Oct 20, 2018
  6. Oct 18, 2018
    • Bastian Köcher's avatar
      Move inherent implementation into the modules (#924) · 4132a49f
      Bastian Köcher authored
      * Adds new `ProvideInherent` trait
      
      Also implements the new trait for `srml/consensus` and `srml/timestamp`.
      
      * Adds `impl_outer_inherent!` macro
      
      * Reexport macros from `alloc`
      
      * Introduce `RuntimeString` and fix `ProvideInherent` on `no_std`
      
      * Replace `VersionString` with `RuntimeString`
      
      * Improvements for `impl_outer_inherent!`
      
      * Make `construct_runtime!` support `impl_outer_inherent!`
      
      * Fixes after rebase
      
      * Whitespace
      4132a49f
    • Tomasz Drwięga's avatar
      Pool: parallel ready and runtime changes (#922) · 36625faa
      Tomasz Drwięga authored
      * Revert "Revert runtime changes."
      
      This reverts commit 01a7d1aa83c2918dd63b7dc54eb688d544cfc649.
      
      * Parallel queue reads.
      
      * Avoid recursion in best iterator.
      36625faa
  7. Oct 17, 2018
  8. Oct 16, 2018
    • Gav Wood's avatar
      Compact format for block number, nonce, balance (#910) · 8bc5242c
      Gav Wood authored
      * Try to make everything compact
      
      * Make `Clone` work
      
      * Fix
      
      * Move contracts and balances over to compact encoding
      
      * Session and timestamp are compact
      
      * Sataking uses compact numbers
      
      * Treasury now compact
      
      * Compact Democracy
      
      * Council is compact
      
      * Fix
      8bc5242c
    • Drew Stone's avatar
      Drew.commentfix: There is no next_era function in staking. (#915) · 54a0f5b2
      Drew Stone authored
      * Change next_era to new_era in comments so there is no confusion
      
      * Change next_era to new_era in comments so there is no confusion
      54a0f5b2
    • Benjamin Kampmann's avatar
      Generalize the Consensus Infrastructure (#883) · ac4bcf87
      Benjamin Kampmann authored
      * Split out Consensus
      * Supply ImportQueue through network-service
        - simplify ImportQueue.import_blocks
        - remove Deadlock on import_block
        - Adding Verifier-Trait
        - Implement import_queue provisioning in service; allow cli to import
      * Allow to actually customize import queue
      * Consensus Gossip: Cache Message hash per Topic
      ac4bcf87
  9. Oct 14, 2018
  10. Oct 13, 2018
  11. Oct 12, 2018
    • Tomasz Drwięga's avatar
      Tagged transaction queue integration (#893) · 671b0e00
      Tomasz Drwięga authored
      * Make the graph generic.
      
      * Adapting pool API for the graph.
      
      * Merge pool & graph.
      
      * Restructure.
      
      * Fix test of transaction pool.
      
      * Get rid of node/transaction-pool.
      
      * Compilation fixes.
      
      * Test7
      
      * Fix compilation of tests.
      
      * Revert runtime changes.
      
      * Add validate_transaction to test-runtime.
      
      * Fix RPC tests.
      
      * Add clearing of the old transactions.
      
      * Trigger pool events.
      
      * Use new queue API.
      
      * Fix wasm build, re-export Hasher.
      
      * No warning if validate transaction fails.
      
      * Get rid of Into<u64> and use As
      671b0e00
  12. Oct 10, 2018
  13. Oct 09, 2018
    • Bastian Köcher's avatar
      Refactor the runtime API to use traits. (#878) · 2c65ad6c
      Bastian Köcher authored
      * Add missing `As` imports.
      
      * Adds new API traits that will be used by the client and runtime
      
      * Switch consensus to new API's
      
      * Switches transaction-pool to new API's
      
      * Move runtime api stuff into its own crate
      
      * Adds `impl_apis!` macro for implementing the new API traits
      
      * Make `metadata` return directly a blob
      
      * Runtime replace `impl_stubs!` with `impl_apis!`
      
      * Switches to none feature based approach for declaring the different API traits
      
      * Fixes compilation error
      
      * Fixes errors
      
      * Make the `decl_apis!` trait usable from the outside
      
      * Make the `test-client` use the new API traits
      
      * Remove last `impl_stubs!` bits and move some of them into wasm executor for tests
      
      * A little bit more documentation
      2c65ad6c
  14. Oct 05, 2018
  15. Oct 03, 2018
  16. Oct 01, 2018
  17. Sep 29, 2018
  18. Sep 28, 2018
    • Arkadiy Paronyan's avatar
      Integration tests (#805) · 9a660f82
      Arkadiy Paronyan authored
      * Started substrate tests
      
      * Sync test
      
      * Test updates
      
      * Improved tests
      
      * Use on-chain block delay
      
      * Parallel test execution
      
      * Otimized tests
      
      * Logging
      
      * Fixed racing test
      
      * Fixed compilation
      
      * Fixed timestamp test
      
      * Removed rlp dependency
      
      * Minor fixes
      
      * Fixed tests
      
      * Removed best_block_id and resolved fdlimit issue
      
      * Whitespace
      
      * Use keyring
      
      * Style
      
      * Added API execution setting
      
      * Removed stale import
      9a660f82
  19. Sep 27, 2018
  20. Sep 26, 2018
    • Guanqun Lu's avatar
      State db random fixes (#802) · 74a5ff7d
      Guanqun Lu authored
      * state-db: typo fixes
      
      * use fmt::Result for 'fmt'
      
      * state-db: typo fixes
      
      * state-db: use the same pattern to pass the parameter
      
      * state-db: follow the same style
      74a5ff7d
  21. Sep 25, 2018
  22. Sep 24, 2018
  23. Sep 21, 2018
    • Gav Wood's avatar
      Bump codec (#786) · f71200ee
      Gav Wood authored
      * Bump codec
      
      * Fix tests
      f71200ee
    • asynchronous rob's avatar
      Introduce notion of finality to substrate (#760) · b7d095a2
      asynchronous rob authored
      * finalization for in_mem
      
      * fetch last finalized block
      
      * pruning: use canonical term instead of final
      
      * finalize blocks in full node
      
      * begin to port light client DB
      
      * add tree-route
      
      * keep number index consistent in full nodes
      
      * fix tests
      
      * disable cache and finish porting light client
      
      * add AsMut to system module
      
      * final leaf is always best
      
      * fix all tests
      
      * Fix comment and trace
      
      * removed unused Into call
      
      * add comment on behavior of `finalize_block`
      b7d095a2