Skip to content
  1. Oct 19, 2018
    • Svyatoslav Nikolsky's avatar
      Moved DigestItem impl to impl_outer_log (#932) · 2fe31ae0
      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 54304469.
      
      * Revert "moved DigestItem impl to impl_outer_log"
      
      This reverts commit 8872bbee.
      
      * Revert "Revert "moved DigestItem impl to impl_outer_log""
      
      This reverts commit 47afd596.
      
      * Revert "Revert "internal module is not required in impl_outer_log""
      
      This reverts commit 9ae64001.
      
      * More diagnostics
      
      * check if only 1 test fails
      
      * test is back + some "traces"
      
      * removed some traces
      
      * removed "traces"
      2fe31ae0
  2. Oct 18, 2018
    • Wei Tang's avatar
      Multiple storage root support (#902) · 234e31db
      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
      234e31db
    • Chevdor's avatar
      Add docker file for Substrate (#930) · 5a2bf71d
      Chevdor authored
      5a2bf71d
    • Bastian Köcher's avatar
      Fixes tests on master (#929) · be8eab22
      Bastian Köcher authored
      be8eab22
    • Bastian Köcher's avatar
      Move inherent implementation into the modules (#924) · 9c9c5777
      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
      9c9c5777
    • Tomasz Drwięga's avatar
      Pool: parallel ready and runtime changes (#922) · c15f65da
      Tomasz Drwięga authored
      * Revert "Revert runtime changes."
      
      This reverts commit 01a7d1aa.
      
      * Parallel queue reads.
      
      * Avoid recursion in best iterator.
      c15f65da
    • snd's avatar
      Index blocks by number in the DB (#890) · 1e38efd3
      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
      1e38efd3
  3. Oct 17, 2018
  4. Oct 16, 2018
  5. Oct 15, 2018
  6. Oct 14, 2018
  7. Oct 13, 2018
  8. Oct 12, 2018
    • Maciej Hirsz's avatar
      Silence Telemetry WS errors (#904) · 8f30dc0a
      Maciej Hirsz authored
      8f30dc0a
    • Bastian Köcher's avatar
      Adds `construct_simple_protocol` macro for simplifying the creation of protocols (#897) · 5abac6fd
      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
      5abac6fd
    • Tomasz Drwięga's avatar
      Tagged transaction queue integration (#893) · ce598db0
      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
      ce598db0
    • Shawn Tabrizi's avatar
      Adding instructions specific for OS X (#899) · 9aa01df3
      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
      9aa01df3
  9. Oct 10, 2018
  10. Oct 09, 2018
    • Bastian Köcher's avatar
      Runtime API clean up (#892) · 4fc8c98b
      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
      4fc8c98b
    • Bastian Köcher's avatar
      Refactor the runtime API to use traits. (#878) · 3f467478
      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
      3f467478
    • Svyatoslav Nikolsky's avatar
      authorities_at cache update (#836) · 720afa01
      Svyatoslav Nikolsky authored
      * AuthoritiesAt cache update
      
      * fix after merge
      720afa01
    • guanqun's avatar
      fix the overflow issue (#891) · b57a3741
      guanqun authored
      b57a3741
  11. Oct 08, 2018
  12. Oct 05, 2018
    • asynchronous rob's avatar
      Fix grumbles from previous GRANDPA PR (#880) · ac1088dd
      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
      ac1088dd
    • Svyatoslav Nikolsky's avatar
      Filter peers on light nodes (#862) · 718c5860
      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
      718c5860
    • Sergey Pepyakin's avatar
      Add missing `As` imports. (#877) · 7a764cb2
      Sergey Pepyakin authored
      7a764cb2
    • asynchronous rob's avatar
      Initial GRANDPA integration (#866) · 9eeaae8a
      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
      9eeaae8a
    • guanqun's avatar
      Enhance decl storage (#777) · f9f7070e
      guanqun authored
      * enhance macro decl_storage()
      
      * update the state root hash
      
      * fix one comment
      f9f7070e
    • Svyatoslav Nikolsky's avatar
      Extract search of digest item into Digest::log() function (#874) · fe42471b
      Svyatoslav Nikolsky authored
      * Digest::log fn
      
      * change DigestItem::log impl
      fe42471b
    • Svyatoslav Nikolsky's avatar
      Compare digests item-by-item (#869) · 4e61c620
      Svyatoslav Nikolsky authored
      * compare digest item-by-item
      
      * update comment
      4e61c620
  13. Oct 04, 2018