- Apr 29, 2020
-
-
pscott authored
Co-Authored-By: Pierre Krieger <[email protected]>
-
Benjamin Kampmann authored
Co-Authored-By: Bastian Köcher <[email protected]>
-
Benjamin Kampmann authored
-
Arkadiy Paronyan authored
-
- Apr 28, 2020
-
-
André Silva authored
-
Pierre Krieger authored
* Add metrics about block requests * Apply suggestions from code review Co-Authored-By: Max Inden <[email protected]> Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Max Inden <[email protected]>
-
Web3 Philosopher authored
* Drop client from sc-network and sc-client-db, move LongestChain to sc-client-api * move leaves, cht, in_mem to sc-client-api, drop client from sc-finality-grandpa * drop sc-service from sc-rpc * drop sc-service from sc-consensus-aura * drop sc-client from manual-seal and babe * drop sc-client from utils/frame/rpc/system and utils/frame/benchmarking-cli * drop sc-client from bin/node and bin/node-template * drop sc-client * fix tests * remove check -p sc-client from gitlab.yml * fix warnings * fixes ui test * fix light client tests * adds associated Client type to AbstractService * adds UsageProvider to Client * fixed ui test, again * tried and failed to get node-cli to compile for wasm * thanks to tomaka for helping me get node-cli to compile for wasmm * ui test pls pas
🙏🏾 * all tests passing 🪄 * no_run documentation code * rm -f documentation code * ClientProvider * fix mega trait * move LongestChain to sc-consensus, use adds minimal bounds to AbstractService::Client * adds license to sc-consensus Co-authored-by: Benjamin Kampmann <[email protected]> -
Wei Tang authored
-
Cecile Tonglet authored
* Initial commit Forked at: bf61cece Parent branch: origin/master * Fix remaining issues with unsafe_pruning * Revert "Fix remaining issues with unsafe_pruning" This reverts commit 9c42c2f9b361b13ee19f39b264e52dfaa46cfcbb. * Just remove is_dev
-
- Apr 27, 2020
-
-
André Silva authored
-
Cecile Tonglet authored
* Initial commit Forked at: 64ed36d0 Parent branch: origin/master * Add method with_default_block_announcer to ServiceBuilder
-
Arkadiy Paronyan authored
* Optimize pinning * Ref counting state backend * Style Co-Authored-By: Wei Tang <[email protected]> * Update Cargo.lock * Handle empty node Co-authored-by: Wei Tang <[email protected]>
-
Pierre Krieger authored
-
- Apr 25, 2020
-
-
Joshy Orndorff authored
-
- Apr 24, 2020
-
-
André Silva authored
* babe: remove error fallbacks from threshold calculation * babe: fix indent * babe: fix domain * babe: fix compilation * babe: improve expect * babe: add one more note about p's limit
-
Max Inden authored
Instead of logging value-found-event-handling failures or value-put failures on error level, log them on debug level only additionally recording them via Prometheus. Motivation is that both events can happen in "normal" operations and thus clutter the logs.
-
Wei Tang authored
* babe: secondary blocks with VRF * Fix node runtime compile * Fix test-utils runtime interface * Fix babe tests * typo: v == 2 * babe: support online configuration upgrades * Fix rpc tests * Fix runtime version tests * Switch to use NextConfigDescriptor instead of changing runtime interface * Fix tests * epoch-changes: map function that allows converting with different epoch types * Add migration script for the epoch config change * Fix docs for PrimaryAndSecondaryVRFSlots * Add docs of `SecondaryVRF` in babe crate * babe-primitives: Secondary -> SecondaryPlain * babe-client: Secondary -> SecondaryPlain * Fix migration tests * test-utils-runtime: Secondary -> SecondaryPlain * Fix missing name change in test-utils-runtime * Fix migration: Epoch should be EpochV0 * Update client/consensus/babe/src/lib.rs Co-Authored-By: André Silva <[email protected]> * Fix new epochChanges version * Fix babe-primitives naming changes * Fix merge issues in babe-client Co-authored-by: André Silva <[email protected]> Co-authored-by: André Silva <[email protected]>
-
Bernhard Schuster authored
Co-Authored-By: Kian Paimani <[email protected]> Co-Authored-By: Tomasz Drwięga <[email protected]>
-
Pierre Krieger authored
-
Wei Tang authored
* babe: support online configuration upgrades * Switch to use NextConfigDescriptor instead of changing runtime interface * Fix tests * epoch-changes: map function that allows converting with different epoch types * Add migration script for the epoch config change * Fix migration tests * Fix migration: Epoch should be EpochV0 * Update client/consensus/babe/src/lib.rs Co-Authored-By: André Silva <[email protected]> * Fix new epochChanges version * Fix unused imports Co-authored-by: André Silva <[email protected]>
-
Pierre Krieger authored
* Use new block requests protocol * Tweak comment
-
- Apr 23, 2020
-
-
Chevdor authored
* Fix error message when providing an incorrect peer-id * Fix error message to cover all cases Co-authored-by: Pierre Krieger <[email protected]>
-
Arkadiy Paronyan authored
-
Bastian Köcher authored
-
Svyatoslav Nikolsky authored
-
Benjamin Kampmann authored
-
Max Inden authored
* client/network-gossip/src/state_machine: Add unit test for on_incoming Add two unit tests to ensure `on_incoming` is ingoring discarded messages and reports and ignores messages from unknown peers. * client/network-gossip/state_machine: Reduce indentation level * client/network-gossip/bridge: Remove unnecessary into_iter * client/network-gossip/state_machine: Report success after register check * client/network-gossip/state_machine: Error not report on unregistered `peers` contains all the peers we're connected to. If we receive a message from a peer not in this list, that means there's an internal problem within the local client. It's not the fault of the peer in question. With the above in mind instead of reducing the reputation of such peer, log an error.
-
Toralf Wittner authored
* network: Only insert global addresses into the DHT. Currently every address reported via libp2p-identify is inserted into the DHT which thus contains a multitude of unreachable addresses such as from 127.0.0.0/8 or 10.0.0.0/8. Issue #5099 suggested a dedicated service over UDP to gauge the reachability of an address, which would however incur extra I/O costs and be of limited use. As an alternative and simpler tactic, this PR only allows global IP addresses to be inserted into the DHT unless an explicit command-line flag `--allow-non-global-addresses-in-dht` is given or a node is started with `--dev`. This opt-in behaviour is meant to allow site-local networks to still make use of a DHT. * Enable non-global in more test setups. * Replace command-line option with different name. * Another test fix.
-
André Silva authored
* slots: extract slot lenience from babe and aura * slots: add tests for slot lenience * slots: fix comment in test
-
- Apr 22, 2020
-
-
Pierre Krieger authored
* Enable yamux flow control by default * Tweak description * Apply suggestions from code review
-
Pierre Krieger authored
* Add a protocol that answers finality proofs * Fix documentation * Use Toggle
-
Pierre Krieger authored
* Send a status message on block announce handshake * Make sure to send the handshake to all handlers
-
- Apr 21, 2020
-
-
Pierre Krieger authored
-
pscott authored
* Remove TaskManagerBuilder * Clean up use declaration fo SpawnTaskHandle Co-Authored-By: Pierre Krieger <[email protected]> Co-authored-by: Pierre Krieger <[email protected]>
-
Max Inden authored
Expose the amount of addresses that are passed from the authority discovery module down to the network peer set manager as a priority group in order to connect to the corresponding nodes. ``` authority_discovery_priority_group_size 10 ```
-
Pierre Krieger authored
-
- Apr 20, 2020
-
-
Max Inden authored
* client/network-gossip: Move sink IO outside of state_machine `ConsensusGossip` is supposed to be a deterministic state machine. `GossipEngine` wrapping `ConsensusGossip` should handle IO operations. This commit moves the `message_sink` IO operations to `GossipEngine`. More specifically on incoming messages a `GossipEngine` calls `ConsensusGossip::on_incoming` to validate and register the messages. `ConsensusGossip` returns the valid messages which are then forwarded by `GossipEngine` to the upper layer via the `message_sinks`. * client/network-gossip: Adjust and extend tests * Update client/network-gossip/src/bridge.rs Co-authored-by: Benjamin Kampmann <[email protected]>
-
Yuanchao Sun authored
* Add RPC function state_getProof, resolves #1110 * Apply suggestions from code review * Update client/rpc/src/state/state_full.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update Cargo.lock * Make block hash optional * Wrap StorageProof as Bytes * Add struct ReadProof * Fix typo Co-authored-by: Bastian Köcher <[email protected]>
-
cheme authored
Co-Authored-By: thiolliere <[email protected]>
-
Bastian Köcher authored
* Improve tracing implementation * Enable tracing in runtime interfaces * Switch to `TRACE` level
-