Skip to content
  1. Dec 11, 2020
  2. Dec 10, 2020
  3. Dec 09, 2020
    • Max Inden's avatar
      *: Update to libp2p v0.32.0 (#7696) · 0a2636d2
      Max Inden authored
      * *: Update to libp2p v0.32.0
      
      * Cargo.lock: Update async-tls to 0.10.2
      
      * client/network/request_response: Adjust to new request response events
      
      * client/network/request_response.rs: Clean up silently failing responses
      
      * client/network/discovery: Lazily instantiate mdns
      
      * client/network/discovery: Exclude MdnsWrapper for target_os unknown
      
      * client/network/discovery: Fix indentation
      
      * client/network/request-response: Use LruCache to track pending resp time
      
      * client/network/request_responses: Fix early connection closed error
      
      * client/network/request-response: Replace debug_assert with debug
      
      * client/network/request-response: Fix typo
      
      * client/network/request-response: Don't emit event on send_response fail
      
      * client/network/request-response: Revert waker.wake_by_ref()
      
      * client/network/request-resp: Make duration in InboundRequest optional
      
      * client/network/req-resp: Don't emit two events for busy builder
      
      When a response builder is busy incoming requests are dropped.
      Previously this was reported both via a `ResponseFailure::Busy` and a
      `ReponseFailure::Network(InboundFailure::Omisssion)` event.
      
      With this commit the former is removed, leaving only the latter in
      place.
      0a2636d2
    • Tomasz Drwięga's avatar
      Merkle Mountain Range pallet (#7312) · 02f66e88
      Tomasz Drwięga authored
      
      
      * Add MMR pallet.
      
      * WiP
      
      * Working on testing.
      
      * WiP - test
      
      * Tests passing.
      
      * Add proof generation.
      
      * Generate and verify proofs.
      
      * Allow verification of older proofs.
      
      * Move stuff to a module.
      
      * Split MMR stuff to it's own module.
      
      * Add docs.
      
      * Make parent hash optional.
      
      * LeafData failed approach.
      
      * Finally implement Compact stuff.
      
      * Compact encoding WiP
      
      * Implement remaining pieces.
      
      * Fix tests
      
      * Add docs to compact.
      
      * Implement for tuples.
      
      * Fix documentation.
      
      * Fix warnings and address review suggestion.
      
      * Update frame/merkle-mountain-range/src/primitives.rs
      
      Co-authored-by: default avatarcheme <[email protected]>
      
      * Address review grumbles.
      
      * Removing missing crate.
      
      * Fix test.
      
      * Add some docs and test.
      
      * Add multiple instances.
      
      * Cargo.toml sync.
      
      * Fix no_std compilation.
      
      * More no_std stuff.
      
      * Rename MMR struct.
      
      * Addressing other grumbles.
      
      * Fix test.
      
      * Remove format for no_std compat.
      
      * Add test for MMR pallet.
      
      * Fix std feature.
      
      * Update versions.
      
      * Add to node/runtime.
      
      * Add hook to insert digest.
      
      * Make primitives public.
      
      * Update lib.rs
      
      tech spec/typos etc
      
      * Use WeightInfo and benchmarks.
      
      * Fix test.
      
      * Fix benchmarks.
      
      * Trait -> Config.
      
      * Fix typo.
      
      * Fix tests.
      
      Co-authored-by: default avatarcheme <[email protected]>
      Co-authored-by: default avatarAddie Wagenknecht <[email protected]>
      02f66e88
    • Benjamin Kampmann's avatar
      Expand remote keystore interface to allow for hybrid mode (#7628) · 5ce8c333
      Benjamin Kampmann authored
      * update to latest master
      
      * updates on docs, license, meta
      
      * hide ssrs behind feature flag
      
      * implement remaining functions on the server
      
      * sign server line length fix
      
      * fix tests
      
      * fixup in-memory-keystore
      
      * adding failsafe
      
      * skipping ecdsa test for now
      
      * remote keystore param
      
      * remote sign urls made available
      
      * integrating keystore remotes features
      
      * don't forget the dependency
      
      * remove old cruft
      
      * reset local keystore
      
      * applying suggestions
      
      * Switch to single remote, minor grumbles
      
      * minor grumbles, docs
      5ce8c333
    • Alexander Theißen's avatar
      Allow capping the amount of work performed when deleting a child trie (#7671) · 9ce24fe1
      Alexander Theißen authored
      
      
      * Allow Backend::for_keys_in_child_storage to be aborted by the closure
      
      * Ext::kill_child_storage now takes an upper limit for backend deletion
      
      * Add Storage::storage_kill_limited() runtime interface
      
      * review: Use a new version of kill_storage instead of a new interface
      
      * review: Simplify boolean expression
      
      Co-authored-by: default avatarcheme <[email protected]>
      
      * review: Rename for_keys_in_child_storage
      
      Co-authored-by: default avatarcheme <[email protected]>
      9ce24fe1
  4. Dec 08, 2020
  5. Dec 07, 2020
  6. Dec 06, 2020
  7. Dec 03, 2020
    • mattrutherford's avatar
      RPC to allow setting the log filter (#7474) · 56c97ce6
      mattrutherford authored
      
      
      * Add filter reload handle
      
      * add RPC, move logging module from cli to tracing
      
      * remove dup fn
      
      * working example
      
      * Update client/rpc-api/src/system/mod.rs
      
      Co-authored-by: default avatarPierre Krieger <[email protected]>
      
      * Prefer "set" to "reload"
      
      * Re-enable the commented out features of the logger
      
      * Remove duplicate code
      
      * cleanup
      
      * unneeded lvar
      
      * Bump to latest patch release
      
      * Add new CLI option to disable log filter reloading,
      
      Move profiling CLI options to SharedParams
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Applied suggestions from reviews
      
      * Fix calls to init_logger()
      
      * Handle errors when parsing logging directives
      
      * Deny `system_setLogFilter` RPC by default
      
      * One more time
      
      * Don't ignore parse errors for log directives set via CLI or RPC
      
      * Improve docs
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update client/cli/src/config.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * fix merge errors
      
      * include default directives with system_setLogFilter RPC,
      
      implement system_rawSetLogFilter RPC to exclude defaults
      
      * docs etc...
      
      * update test
      
      * refactor: rename fn
      
      * Add a test for system_set_log_filter – NOTE: the code should likely change to return an error when bad directives are passed
      
      * Update client/cli/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Address review grumbles
      
      * Add doc note on panicking behaviour
      
      * print all invalid directives before panic
      
      * change RPCs to: addLogFilter and resetLogFilter
      
      * make CLI log directives default
      
      * add comments
      
      * restore previous behaviour to panic when hard-coded directives are invalid
      
      * change/refactor directive parsing
      
      * fix line width
      
      * add test for log filter reloading
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * finish up suggestions from code review
      
      * improve test
      
      * change expect message
      
      * change fn name
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * add docs, remove unused fn
      
      * propagate Err on invalid log directive
      
      * Update tracing-subscriber version
      
      * Improve docs for `disable_log_reloading` CLI param
      
      Co-authored-by: default avatarMatt <[email protected]>
      Co-authored-by: default avatarDavid <[email protected]>
      Co-authored-by: default avatarPierre Krieger <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      56c97ce6
    • Krishna Singh's avatar
      Changed map to filter map so that Phragmen ignores empty voters (#7378) · f717a204
      Krishna Singh authored
      * Changed map to filter map so that Phragmen ignores empty voters
      
      * Resolve flaws and added test case
      
      * Updated test
      f717a204
  8. Dec 02, 2020
  9. Dec 01, 2020
  10. Nov 30, 2020
  11. Nov 28, 2020
  12. Nov 27, 2020
  13. Nov 26, 2020
    • Bastian Köcher's avatar
      Inform sync explicitly about new best block (#7604) · d698d013
      Bastian Köcher authored
      * Inform sync explicitly about new best block
      
      Instead of "fishing" the new best block out of the processed blocks, we
      now tell sync directly that there is a new best block. It also makes
      sure that we update the corresponding sync handshake to the new best
      block. This is required for parachains as they first import blocks and
      declare the new best block after being made aware of it by the relay chain.
      
      * Adds test
      
      * Make sure async stuff had time to run
      d698d013
  14. Nov 25, 2020
  15. Nov 24, 2020
  16. Nov 23, 2020
  17. Nov 22, 2020
  18. Nov 19, 2020
    • Shawn Tabrizi's avatar
      More Extensible Multiaddress Format (#7380) · 4637100a
      Shawn Tabrizi authored
      * More extensible multiaddress format
      
      * update name
      
      * Don't depend on indices to define multiaddress type
      
      * Use MultiAddress in Node Template too!
      
      * reduce traits, fix build
      
      * support multiple `StaticLookup`
      
      * bump tx version
      
      * feedback
      4637100a
  19. Nov 16, 2020
  20. Nov 14, 2020
  21. Nov 05, 2020
  22. Nov 03, 2020