- Apr 21, 2020
-
-
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 ```
-
Joshy Orndorff authored
-
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]>
-
Vladimir Komendantskiy authored
-
cheme authored
Co-Authored-By: thiolliere <[email protected]>
-
Shawn Tabrizi authored
* impl try_mutate for storage value and storage double map * Docs + Reuse `try_mutate` in `mutate`
-
Ashley authored
Co-Authored-By: Pierre Krieger <[email protected]>
-
Bastian Köcher authored
* Improve tracing implementation * Enable tracing in runtime interfaces * Switch to `TRACE` level
-
Pierre Krieger authored
-
thiolliere authored
-
Jaco Greeff authored
* Pass max-total to RewardRemainder on end_era * add test and event * add doc Co-authored-by: thiolliere <[email protected]>
-
Igor Matuszewski authored
* sc-cli: Use type-safe constructors for RPC/Prometheus interfaces * service: Simplify rpc handler creation Could probably be further simplifies once [this][commit] lands. [commit]: https://github.com/paritytech/jsonrpc/commit/20485387ed06a48f1a70bf4d609a7cde6cf0accf * service: Streamline some HTTP & WS server start logic * client: Introduce a simple RPC policy mechanism * rpc/system: Check unsafe RPCs * rpc/offchain: Check unsafe RPCs * rpc/author: Check unsafe RPCs
-
- Apr 19, 2020
-
-
Joshy Orndorff authored
* Initial attempt to revise docs. * Remove incorrect warning from Babe pallet * Add more hints that collective flip is for low security
-
- Apr 18, 2020
-
-
Pierre Krieger authored
* Refactor misleading log * Forgot to git add the compilation fix
-
- Apr 17, 2020
-
-
Eliott Teissonniere authored
* create moduleid command * fill README * make it work on the last master
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Ashley authored
* Make network_config_path an Option * Fix network tests * Use None as the network config path * Fix cli * Don't make PathBuf an Option in a cli context
-
Alexander Theißen authored
-
Gavin Wood authored
* Add transaction_version * Semantic versioning for runtimes * Move new field to bottom * Versioning * Runtime versioning stuff. * Fix test * Adds tests and fixes bugs * Bump runtime Co-authored-by: Bastian Köcher <[email protected]>
-
Nikolay Volf authored
* make new contructor * add metrics to txpool * fix review * fix doc comment * change to counters * Update client/transaction-pool/src/metrics.rs Co-Authored-By: Max Inden <[email protected]> * Update client/transaction-pool/src/metrics.rs Co-Authored-By: Max Inden <[email protected]> * Update client/transaction-pool/src/metrics.rs Co-Authored-By: Max Inden <[email protected]> * Update client/transaction-pool/src/lib.rs Co-Authored-By: Max Inden <[email protected]> * Update client/transaction-pool/src/lib.rs Co-Authored-By: Max Inden <[email protected]> * use dedicated wrapper Co-authored-by: Max Inden <[email protected]>
-
Xiliang Chen authored
* emit TipClosed event on success tip payout * test for events * bump version
-
Joshy Orndorff authored
-
Shawn Tabrizi authored
-
Bastian Köcher authored
Instead of just listening on ipv4 by default, this enables listening on ipv6 as well. While doing this, it also fixes a bug which lead to always listen on all sockets, even if we specify listen addresses explicitly.
-
Kian Paimani authored
* Clean phragmen API and equalise() * Stabilize new api * Fix phragmen fuzzers * More fixes * Make fuzzers reproducible * improvements * Make equalize update assignments as well. * total function for staked_assignment. * Fix fuzzer build * remvoe TODO * Fix a bunch more. * clean stray debug stuff * Update primitives/phragmen/src/lib.rs Co-Authored-By: thiolliere <[email protected]> * fix range function * fix number generator Co-authored-by: thiolliere <[email protected]>
-
Pierre Krieger authored
* Turn kbuckets_num_nodes into a GaugeVec * random_kademlia_queries -> kademlia_random_queries * kademalia_random_queries_total now a CounterVec * Add metrics about records store
-
Tomasz Drwięga authored
* Validate transaction timeouts * Add timing * Add tracing to transaction validation. * Fix docs. Co-authored-by: NikVolf <[email protected]>
-
- Apr 16, 2020
-
-
Nikolay Volf authored
* create parallel tasks extension * make type system happy * basic externalities * test for dynamic extensions * batching test * remove premature verify_batch * shnschnorrkel batch * alter test * shnschnorrkel test * executive batching * some docs * also multi/any signatgures * error propagation * styling * make verification extension optional * experimental ed25519 parallelization * some merge fallout * utilize task executor * merge fallout * utilize task executor more * another merge fallout * feature-gate sp-io * arrange toml * fix no-std * sr25519 batching and refactoring * add docs * fix name * add newline * fix block import test * long sr25519 test * blocking instead of parking * move everything in crypto * return batch_verify to check :) * use condvars * use multi-threaded executor for benches * don't call via host interface * try no spawning * add true * cleanup * straighten batching * remove signature check from this test (?) * remove now pointless test * remove another now useless test * fix warnings * Revert "remove another now useless test" This reverts commit bbdec24b. * rethink the sp-io-part * Revert "remove now pointless test" This reverts commit 4d553066 . * fix wording * add wording * add todo and fix * return check and fix * add logging in sp-io * Update primitives/io/src/batch_verifier.rs Co-Authored-By: cheme <[email protected]> * address review and use std condvar * account for early exit * address reivew * address review * more suggestions * add docs for batch verification * remove unused * more review suggestions * move to sp-runtime * add expects * remove blocks * use entry * Update primitives/io/src/batch_verifier.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update primitives/externalities/src/extensions.rs Co-Authored-By: Bastian Köcher <[email protected]> * update overlooked note * remove stupid return * Update primitives/io/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update primitives/io/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * fix wording * bump spec_version Co-authored-by: cheme <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Nikolay Volf authored
-
Max Inden authored
* client/authority-discovery: Allow to be run by sentry node When run as a sentry node, the authority discovery module does not publish any addresses to the dht, but still discovers validators and sentry nodes of validators. * client/authority-discovery/src/lib: Wrap lines at 100 characters * client/authority-discovery: Remove TODO and unused import * client/authority-discovery: Pass role to new unit tests * client/authority-discovery: Apply suggestions Co-Authored-By: André Silva <[email protected]> * bin/node/cli/src/service: Use expressions instead of statements Co-authored-by: André Silva <[email protected]>
-
Pierre Krieger authored
* Add alternatives to system_networkState * Fix tests * Apply suggestions from code review Co-Authored-By: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
Max Inden authored
* client/authority-discovery: Rework error handling Instead of `handle_dht_events` returning a `Result<(), Error>`, return a `Poll<Error>` where `Poll::Pending` signals that there are no more events to handle and `Poll::Ready(Error)` signals that a fatal error occured. Non fatal errors are handled within `handle_dht_events` directly, thus looping in `poll` is not necessary anymore. * client/authority-discovery: Return () instead of error on termiantion * Update client/authority-discovery/src/lib.rs Co-Authored-By: André Silva <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: André Silva <[email protected]>
-
Pierre Krieger authored
-
Nikolay Volf authored
-
Bastian Köcher authored
This release includes a fix for an out of bound access that was reported by one of the validators.
-
Nikolay Volf authored
-
Toralf Wittner authored
-