Skip to content
  1. Feb 08, 2019
  2. Feb 07, 2019
  3. Feb 06, 2019
    • André Silva's avatar
      core: network: fix sync on testing network (#1713) · 11a2418c
      André Silva authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      11a2418c
    • Stanislav Tkach's avatar
    • Stanislav Tkach's avatar
    • Tomasz Drwięga's avatar
      Limit transaction pool size (#1676) · 57a2d819
      Tomasz Drwięga authored
      * Avoid excessive hashing. Store extrinsic len.
      
      * Implement pool limits.
      
      * Fix issues.
      
      * Make sure we return error in case it doesn't make into the pool.
      
      * Pass parameters from CLI.
      
      * Remove redundant todo.
      
      * Fix tests.
      57a2d819
    • Bastian Köcher's avatar
      976a20f8
    • gabriel klawitter's avatar
      build tagged versions (#1712) · a20a7d7f
      gabriel klawitter authored
      a20a7d7f
    • Arkadiy Paronyan's avatar
      Reference counted uncanonicalised overlay (#1695) · 535d8433
      Arkadiy Paronyan authored
      * Refcounted uncanonicalised overlay
      
      * Removed into_iter
      
      * Using free functions
      535d8433
    • Bastian Köcher's avatar
      Moves `node-template` into substrate repo (#1637) · e4c8d74c
      Bastian Köcher authored
      * Make runtime macros work without required `macro_use`
      
      * Adds node-template
      
      * Adds node-template-release tool
      
      * Fixes building `node-template` and improve the release
      
      * Add `profile.release` by release script to remove warning
      
      * Adds script for releasing the node template
      
      * Fixes compilation after master merge
      
      * Port node-template to edition 2018
      
      * Remove license
      
      * Fixes compilation after master merge
      
      * Add `node-template-release.sh` into the CI
      
      * WIP Ci integrate node template (#1701)
      
      * copy artifacts to s3 bucket latest path
      
      * typo
      
      * bucket name
      
      * Update wasm files
      e4c8d74c
    • Pierre Krieger's avatar
      Update libp2p to v0.3 (#1634) · 86f26a7f
      Pierre Krieger authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Update libp2p
      
      * Some more diagnostics
      
      * 30 seconds back to 5 seconds
      
      * Bump libp2p-core and improve test
      
      * Fix runtime Cargo.lock
      
      * More work
      
      * Finish upgrade to libp2p 0.3
      
      * Add a maximum of 60 seconds for the rounds
      
      * Remove env_logger
      
      * Update Cargo.lock
      
      * Update Cargo.lock in test-runtime
      
      * Fix test compilation
      
      * Make the test pass
      
      * Add identify addresses to Kademlia
      
      * Don't connect to nodes we're already connected to
      
      * Add warning for non-Substrate nodes
      
      * Fix external address not added
      
      * Start in Enabled mode
      86f26a7f
    • Sergei Pepyakin's avatar
      Indices maintenance (#1705) · 57cde2f4
      Sergei Pepyakin authored
      * Migrate the indicies crate to 2018 edition.
      
      * Use .cloned() instead of .map(|x| x.clone())
      
      * Update documentation.
      57cde2f4
    • Wei Tang's avatar
      Update trie to v0.11 (#1704) · 2056e4cd
      Wei Tang authored
      * Update trie to v0.11
      
      * Update wasm runtimes
      2056e4cd
    • Gregory Terzian's avatar
      Rewrite network protocol/service to use channels (#1340) · 64cde6f9
      Gregory Terzian authored
      * rewrite network protocol/service to use channels
      
      * remove use of unwrap
      
      * re-introduce with_spec
      
      * remove unnecessary mut
      
      * remove unused param
      
      * improve with_spec, add with_gossip
      
      * rename job to task
      
      * style: re-add comma
      
      * remove extra string allocs
      
      * rename use of channel
      
      * turn TODO into FIXME
      
      * remove mut in match
      
      * remove Self in new
      
      * pass headers by value to network service
      
      * remove network sender from service
      
      * remove TODO
      
      * better expect
      
      * rationalize use of network sender in ondemand
      64cde6f9
    • gabriel klawitter's avatar
      fix cache clearing error (#1703) · be41ec8e
      gabriel klawitter authored
      be41ec8e
    • Bastian Köcher's avatar
      Make API backwards compatible with CC (#1697) · 95e9be2c
      Bastian Köcher authored
      * Rework how a runtime api calls into the runtime
      
      Now we generate a default implementation for each api call that calls
      a generated method `method_runtime_api_impl`. This newly generated
      method is the one that will be implemented by the `impl_runtime_apis`
      macro in the runtime for the client side.
      
      * Support `changed_in` to change runtime api function signatures
      
      * Update documentation
      
      * Fixes tests
      
      * Implement checking the api version with a predicate
      
      * Make the implementation backwards compatible with CC
      
      * Update wasm files after merge
      
      * Check for wasm runtime differences by building master and current branch
      
      * Update spec_version and wasm files
      
      * Fixes
      
      * Revert my changes
      
      * Remove `patch.crates-io` from test-runtime
      v0.10
      95e9be2c
    • Wei Tang's avatar
      Support multi-hash in multi-trie via PlainDB (#1106) · dd3fdeed
      Wei Tang authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Temporarily pin trie to #2
      
      * Use generic and delay trait object casting
      
      Rust does not support super-trait upcasting
      
      * Add PlainDB impl for Ephemeral
      
      * Add PlainDB trait alias for completeness
      
      * Use PlainDB for test TrieBackendStorage fetch
      
      We always check overlay first for a storage fetch, which already checked null data. Using PlainDB here makes it work
      nicer with other PlainDB overlays.
      
      * Update trie reference
      
      * Use HashDBRef in places when approriate
      
      * Use PlainDBRef in places when approriate
      
      * Update trie crate reference
      
      * Remove unused HashDB::keys
      
      * Patch dependencies
      
      * Fix cargolock
      
      * Update cargo lock again
      dd3fdeed
    • Gav Wood's avatar
      Add OnInitialise handler. (#1690) · be46b0c8
      Gav Wood authored
      * Add OnInitialise handler.
      
      Closes #1686
      
      * Fix typo
      
      * Fix wasm build
      
      * Add tests for initialise and finalise.
      be46b0c8
  4. Feb 05, 2019
  5. Feb 04, 2019
    • Andrew Jones's avatar
      Convert to jsonrpc-derive, use jsonrpc-* from crates.io (#1679) · b5587b37
      Andrew Jones authored
      * use local version of jsonrpc to test
      
      * Convert rpcs to test out in progress jsonrpc-derive api
      
      * Revert "Convert rpcs to test out in progress jsonrpc-derive api"
      
      This reverts commit 69231784.
      
      * Convert to new jsonrpc-derive macro
      
      * Add RPC trait Metadata comment
      
      * Break up long pubsub attr lines
      
      * Update to 10.0.1 jsonrpc-* from crates.io
      
      * Remove typed::Subscriber prefixes
      
      * Remove empty comment
      b5587b37
    • André Silva's avatar
      Split substrate-finality-grandpa (#1675) · a880cbcf
      André Silva authored and asynchronous rob's avatar asynchronous rob committed
      * core: grandpa: move consensus_changes to its own submodule
      
      * core: grandpa: move justification to its own submodule
      
      * core: grandpa: move environment to its own submodule
      
      * core: grandpa: move block import to its own submodule
      a880cbcf
    • Michael Müller's avatar
      Replace allocator with freeing-bump allocator (#1656) · 217f2191
      Michael Müller authored
      * Link substrate issue tracker in panic
      
      * Replace allocator with freeing-bump allocator
      
      * Revert me: Panic on double allocate/free
      
      * Revert me: Add shallow benchmark for a first impression
      
      * Revert "Revert me: Add shallow benchmark for a first impression"
      
      This reverts commit 5f0d4df3.
      
      * Revert "Revert me: Panic on double allocate/free"
      
      This reverts commit a114df7d.
      
      * Rename heap to FreeingBumpHeapAllocator
      
      * Rename heap.rs to allocator.rs
      
      * Use sandbox heap
      
      * Move functions
      
      * Move variables into constructor
      
      * Revert "Move variables into constructor"
      
      This reverts commit f46fa0d0.
      
      * Remove unnecessary casts
      
      * Add comment for new parameter
      
      * Improve typing
      
      * Move variables into constructor
      
      * Avoid dynamic allocation
      
      * Remove unused variables
      
      * Revert "Link substrate issue tracker in panic"
      
      This reverts commit 32dfa1d0.
      
      In the meantime this was fixed in https://github.com/paritytech/substrate/pull/1667.
      
      * Improve naming
      
      * Only assert in debug mode
      
      * Remove dynamic allocation
      217f2191