Skip to content
  1. Oct 20, 2018
    • Gav Wood's avatar
      Add Assets module (#925) · 583c24f0
      Gav Wood authored
      * Add Assets module
      
      * Fixes
      
      * Fix
      
      * Update comments
      
      * Support `GenesisConfig` without any fields
      
      Fixes: #923
      
      * Do not generate an empty `GenesisConfig`, instead generate no `GenesisConfig`
      583c24f0
  2. Oct 19, 2018
    • Bastian Köcher's avatar
      Remove `node-service` (#933) · 7f6862ba
      Bastian Köcher authored
      * Move `chain_spec` into `node-cli`
      
      * Fixes tests
      
      * Adds `construct_simple_service` and `construct_service_factory` macros
      
      * Remove the `node-service` crate
      
      * Add some documentation
      
      * Fixes compilation on stable
      7f6862ba
    • Svyatoslav Nikolsky's avatar
      Moved DigestItem impl to impl_outer_log (#932) · ca38fd72
      Svyatoslav Nikolsky authored
      * moved DigestItem impl to impl_outer_log
      
      * Enable backtrace collecting on the CI
      
      * internal module is not required in impl_outer_log
      
      * Revert "internal module is not required in impl_outer_log"
      
      This reverts commit 5430446971cdf5fd5735863b86cd08a11d35d1dd.
      
      * Revert "moved DigestItem impl to impl_outer_log"
      
      This reverts commit 8872bbee963dbb4316251222f5c0757303fb3f52.
      
      * Revert "Revert "moved DigestItem impl to impl_outer_log""
      
      This reverts commit 47afd59682f8828665bd9cfb293b40ce4c4787af.
      
      * Revert "Revert "internal module is not required in impl_outer_log""
      
      This reverts commit 9ae640010c00ef134099d5b6a4430d330be134b2.
      
      * More diagnostics
      
      * check if only 1 test fails
      
      * test is back + some "traces"
      
      * removed some traces
      
      * removed "traces"
      ca38fd72
  3. Oct 18, 2018
    • Wei Tang's avatar
      Multiple storage root support (#902) · 26044748
      Wei Tang authored
      * Implement a non generic version of child delta trie
      
      * Use delta_trie_root in state_machine
      
      * Expand InMemory backend to support multi-storage
      
      * Create Consolidate trait
      
      * Fix all crate compile and remove unused OverlayedChanges::drain
      
      * Implement child storage root support and overlay changes
      
      * Add child storage reader
      
      * Add child storage writer
      
      * Implement child storage cleaning
      
      * Fix light backend compile
      
      * Add all required ext functions for wasm executor
      
      * Add ext def to io
      
      * Add all io functions
      
      * Fix nostd compile
      
      * Add simple test
      
      * Remove unnecessary vec copy in child_storage_root_transaction
      
      * Use values_mut/for_each to make it shorter
      
      * Use extend to shorter a for loop
      
      * Move record_all_keys to trie so it's easier to generic them later
      
      * space -> tab
      
      * Remove to_owned in debug format
      
      * Clean out all to_owned
      
      * Break debug_trace to multiple lines
      
      * Remove 0..
      
      * UserError copy/paste typo
      
      * Replace Vec::from_raw_parts by slice::from_raw_parts
      
      * Use iter::empty()
      
      * Wrap some long lines
      
      * Wrap a missing line
      
      * Remove unnecessary map
      
      https://github.com/paritytech/substrate/pull/856#discussion_r226222663
      
      * Call ext_free after from_raw_parts
      
      * Fix tests in other crates
      26044748
    • Chevdor's avatar
      Add docker file for Substrate (#930) · 849506da
      Chevdor authored
      849506da
    • Bastian Köcher's avatar
      Fixes tests on master (#929) · e321a645
      Bastian Köcher authored
      e321a645
    • 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
    • snd's avatar
      Index blocks by number in the DB (#890) · 62c71a31
      snd authored
      * resolve #780
      
      * in import tx insert after retracting so blocks don't disappear
      
      * adapt db/cache to changes to db/utils
      
      * db/light: remove old hash lookup insertion
      
      * renames
      
      * improve naming
      
      * improve naming
      
      * db/utils: improve docs for block lookup key stuff
      
      * db/light/note_finalized: adapt to changes for issue #780
      
      * db/light/cht/tests: add assertions for HASH_LOOKUP
      
      * simplify
      
      addresses
      https://github.com/paritytech/substrate/pull/890#discussion_r226009746
      
      * break long line
      
      addresses
      https://github.com/paritytech/substrate/pull/890#discussion_r226002211
      
      * Whitespace
      62c71a31
  4. Oct 17, 2018
  5. Oct 16, 2018
  6. Oct 15, 2018
  7. Oct 14, 2018
  8. Oct 13, 2018
  9. Oct 12, 2018
    • Maciej Hirsz's avatar
      Silence Telemetry WS errors (#904) · 2be621af
      Maciej Hirsz authored
      2be621af
    • Bastian Köcher's avatar
      Adds `construct_simple_protocol` macro for simplifying the creation of protocols (#897) · db427cb4
      Bastian Köcher authored
      * Make `on_message` take the message as `&mut Option<_>`
      
      * Make `ConsensusGossip` implement `Specialization`
      
      * Move `new_session` into `ConsensusGossip`
      
      * Adds `construct_simple_protocol` macro for simplifying the creation of protocols
      db427cb4
    • 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
    • Shawn Tabrizi's avatar
      Adding instructions specific for OS X (#899) · 2404d3c8
      Shawn Tabrizi authored
      * Adding instructions specific for OS X
      
      * fix link format
      
      * fix link format
      
      * adding mac libraries and how to start testnet
      
      * adding bullets to make it more clear
      
      * typo
      2404d3c8
  10. Oct 10, 2018
  11. Oct 09, 2018
    • Bastian Köcher's avatar
      Runtime API clean up (#892) · 6b4b8b8f
      Bastian Köcher authored
      * Rename `NewTxQueue` to `TaggedTransactionQueue`
      
      * Remove `BlockBuilder` API and support adding documentation to the API functions
      
      * Adds new `BlockBuilder` API
      
      * Fixes compilation with new `BlockBuilder` API
      
      * Some more cleanup
      
      * Cargo.lock update
      
      * Try to fix on stable
      6b4b8b8f
    • 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
    • Svyatoslav Nikolsky's avatar
      authorities_at cache update (#836) · fb058ae2
      Svyatoslav Nikolsky authored
      * AuthoritiesAt cache update
      
      * fix after merge
      fb058ae2
    • guanqun's avatar
      fix the overflow issue (#891) · ceda61f1
      guanqun authored
      ceda61f1
  12. Oct 08, 2018
  13. Oct 05, 2018
    • asynchronous rob's avatar
      Fix grumbles from previous GRANDPA PR (#880) · 02f88976
      asynchronous rob authored
      * implement grandpa client
      
      * consensus gossip with arbitrary topics
      
      * defer GRANDPA messages until referenced blocks imported
      
      * set up communication for voter in a transparent way
      
      * instantiate GRANDPA voter
      
      * keep last round state on disk
      
      * switch back to crates.io finality-grandpa
      
      * update cargo.lock
      
      * use new `collect_garbage` API
      
      * update sync test framework and make public
      
      * test that observers can observe
      
      * fix warning
      
      * use more idiomatic predicate for collecting garbage in gossip
      
      * kill spaces
      
      * fix date
      
      * fatal error when unable to complete
      
      * rename run_voter to run_grandpa
      
      * switch back to crates.io
      02f88976
    • Svyatoslav Nikolsky's avatar
      Filter peers on light nodes (#862) · f851dcf4
      Svyatoslav Nikolsky authored and asynchronous rob's avatar asynchronous rob committed
      * do not send OnDemand request to node who, we believe, can't process it
      
      * ignore peers with too old best block on light nodes
      
      * non-weird temporary
      
      * fix condition
      
      * compilation
      f851dcf4
    • Sergey Pepyakin's avatar
      Add missing `As` imports. (#877) · 36d71cb8
      Sergey Pepyakin authored
      36d71cb8
    • asynchronous rob's avatar
      Initial GRANDPA integration (#866) · 68b4be14
      asynchronous rob authored
      * implement grandpa client
      
      * consensus gossip with arbitrary topics
      
      * defer GRANDPA messages until referenced blocks imported
      
      * set up communication for voter in a transparent way
      
      * instantiate GRANDPA voter
      
      * keep last round state on disk
      
      * switch back to crates.io finality-grandpa
      
      * update cargo.lock
      
      * use new `collect_garbage` API
      
      * update sync test framework and make public
      
      * test that observers can observe
      
      * fix warning
      
      * use more idiomatic predicate for collecting garbage in gossip
      
      * kill spaces
      
      * fix date
      68b4be14
    • guanqun's avatar
      Enhance decl storage (#777) · 1cc0e3b6
      guanqun authored
      * enhance macro decl_storage()
      
      * update the state root hash
      
      * fix one comment
      1cc0e3b6
    • Svyatoslav Nikolsky's avatar
      Extract search of digest item into Digest::log() function (#874) · 200a716a
      Svyatoslav Nikolsky authored
      * Digest::log fn
      
      * change DigestItem::log impl
      200a716a