- May 19, 2020
-
-
Arkadiy Paronyan authored
-
- May 15, 2020
-
-
Pierre Krieger authored
* Fix lots of small nits in sc-network * Update client/network/src/protocol/sync/blocks.rs Co-authored-by:
Arkadiy Paronyan <arkady.paronyan@gmail.com> * Fix warning * Yes. The line width. Co-authored-by:
Arkadiy Paronyan <arkady.paronyan@gmail.com>
-
- May 12, 2020
-
-
Pierre Krieger authored
-
- May 07, 2020
-
-
Pierre Krieger authored
-
Nikolay Volf authored
-
- Apr 30, 2020
-
-
Pierre Krieger authored
-
Pierre Krieger authored
-
- Apr 28, 2020
-
-
Pierre Krieger authored
* Add metrics about block requests * Apply suggestions from code review Co-Authored-By:
Max Inden <mail@max-inden.de> Co-authored-by:
Gavin Wood <i@gavwood.com> Co-authored-by:
Max Inden <mail@max-inden.de>
-
- Apr 27, 2020
-
-
Pierre Krieger authored
-
- Apr 24, 2020
-
-
Pierre Krieger authored
* Use new block requests protocol * Tweak comment
-
- Apr 22, 2020
-
-
Pierre Krieger authored
* Add a protocol that answers finality proofs * Fix documentation * Use Toggle
-
- Apr 21, 2020
-
-
Pierre Krieger authored
-
- Apr 17, 2020
-
-
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
-
- Apr 16, 2020
-
-
Toralf Wittner authored
-
- Apr 03, 2020
-
-
Pierre Krieger authored
* Split the Roles bitfield in three * Forgot to include some changes * Fix cli test * More test fixes * Oh God, merging master broke other tests * Didn't run the doctests * Address review * I'm trying to fix the build blindly because it's taking a good hour to compile on my machine * Address some review * Also update the peerset's API to make sense * Fix peerset tests * Fix browser node * client: distinguish between local and network authority Co-authored-by:
André Silva <andre.beat@gmail.com>
-
- Apr 01, 2020
-
-
Pierre Krieger authored
* Switch to the new protocol * Oops, forgot to remove light_dispatch.rs * Fix tests * Address review
-
Pierre Krieger authored
-
- Mar 05, 2020
-
-
Gavin Wood authored
* Add some metrics * Address concerns
-
- Feb 21, 2020
-
-
asynchronous rob authored
* remove networkspecialization * Fix most of the fallout * get all tests compiling Co-authored-by:
Pierre Krieger <pierre.krieger1708@gmail.com>
-
- Feb 17, 2020
-
-
Pierre Krieger authored
* Update libp2p to 0.16 * Actually update to libp2p 0.16
* Fix missed updates * Fix peerset tests
-
- Feb 12, 2020
-
-
Toralf Wittner authored
* network: Use "one shot" protocol handler. Add two new `NetworkBehaviour`s, one handling remote block requests and another one to handle light client requests (both local and from remote). The change is motivated by the desire to use multiple substreams of a single connection for different protocols. To achieve this, libp2p's `OneShotHandler` is used as a protocol handler in each behaviour. It will open a fresh substream for the duration of the request and close it afterwards. For block requests, we currently only handle incoming requests from remote and tests are missing. For light client handling we support incoming requests from remote and also ported a substantial amount of functionality over from `light_dispatch.rs` (including several tests). However the result lacks in at least two aspects: (1) We require external updates w.r.t. the best block per peer and currently nothing updates this information. (2) We carry a lot of peer-related state around. Both aspects could be simplified by externalising peer selection and just requiring a specific peer ID where the request should be sent to. We still have to maintain some peer related state due to the way libp2p's swarm and network behaviour work (e.g. we must make sure to always issue `NetworkBehaviourAction::SendEvent`s to peers we are connected to, otherwise the actions die a silent death. Another change implemented here is the use of protocol buffers as the encoding for network messages. Certain individual fields of messages are still SCALE encoded. There has been some discussion about this in another PR (https://github.com/paritytech/substrate/pull/3452), so far without resolution. * Uncomment `Behaviour::light_client_request`. * Add license headers.
-
- Feb 11, 2020
-
-
Pierre Krieger authored
* Pause Kademlia if too many connections * Fix test * Update client/network/src/discovery.rs Co-Authored-By:
Toralf Wittner <tw@dtex.org> * Change the limit Co-authored-by:
Toralf Wittner <tw@dtex.org>
-
- Feb 06, 2020
-
-
Arkadiy Paronyan authored
-
- Feb 01, 2020
-
-
Pierre Krieger authored
-
- Jan 22, 2020
-
-
asynchronous rob authored
-
- Jan 09, 2020
-
-
Pierre Krieger authored
* Entirely update substrate-telemetry to futures 0.3 * Add a Closed error * Update to libp2p 0.14 * More work * More work * More work * More work * Fix warnings * Remove unwrap() * Work on tests fixing * Fix network tests * Fix external network tests * Update libp2p and restore Yamux in discovery test * Ignore DNS if initializatio nfails * Restore variables ordering * Forgot browser-utils * Fix downfall after merge * Fix tests
-
- Jan 05, 2020
-
-
Shawn Tabrizi authored
-
- Dec 16, 2019
-
-
Tomasz Drwięga authored
* Rename: Phase 1. * Unify codec. * Fixing: Phase 2 * Fixing: Phase 3. * Fixing: Phase 4. * Fixing: Phase 5. * Fixing: Phase 6. * Fixing: Phase 7. * Fixing: Phase 8. Tests * Fixing: Phase 9. Tests!!! * Fixing: Phase 10. Moar tests! * Finally done! * More fixes. * Rename primitives:: to sp_core:: * Apply renames in finality-grandpa. * Fix benches. * Fix benches 2. * Revert node-template. * Fix frame-system in our modules.
-
- Dec 13, 2019
-
-
Pierre Krieger authored
* Extract gossiping system from network * Finish porting GRANDPA tests * Try put correct engine ID * Fix messages encoding * Fix communication tests * Use a threads pool to spawn stuff * Fix compilation everywhere * Fix bad merge conflict * Remove dependency on async-std * Apply suggestions from code review Co-Authored-By:
Robert Habermeier <rphmeier@gmail.com> * More suggestions * Remove network startup GP future * Update to futures_timer * adjust wait_when_behind test * Pass correct Roles after handshake * Revert "adjust wait_when_behind test" This reverts commit 23cb3a0a6d25ed732c2cd648607bc44ef2ab0919. * Crate root documentation * Remove MessageRecipient * Address concerns * Fix more concerns * Forgot Cargo.lock
-
- Dec 02, 2019
-
-
Benjamin Kampmann authored
* Adding script for rename, could be applicable for nodes on top of it, too * add stderr and gitlab ci features * apply script * fix now minor details in expected stderr * Update the Cargo.lock * fix name: sc-transaction -> sc-tracing * fix rename in script, too
-
- Nov 14, 2019
-
-
Benjamin Kampmann authored
* Adding first rough ouline of the repository structure * Remove old CI stuff * add title * formatting fixes * move node-exits job's script to scripts dir * Move docs into subdir * move to bin * move maintainence scripts, configs and helpers into its own dir * add .local to ignore * move core->client * start up 'test' area * move test client * move test runtime * make test move compile * Add dependencies rule enforcement. * Fix indexing. * Update docs to reflect latest changes * Moving /srml->/paint * update docs * move client/sr-* -> primitives/ * clean old readme * remove old broken code in rhd * update lock * Step 1. * starting to untangle client * Fix after merge. * start splitting out client interfaces * move children and blockchain interfaces * Move trie and state-machine to primitives. * Fix WASM builds. * fixing broken imports * more interface moves * move backend and light to interfaces * move CallExecutor * move cli off client * moving around more interfaces * re-add consensus crates into the mix * fix subkey path * relieve client from executor * starting to pull out client from grandpa * move is_decendent_of out of client * grandpa still depends on client directly * lemme tests pass * rename srml->paint * Make it compile. * rename interfaces->client-api * Move keyring to primitives. * fixup libp2p dep * fix broken use * allow dependency enforcement to fail * move fork-tree * Moving wasm-builder * make env * move build-script-utils * fixup broken crate depdencies and names * fix imports for authority discovery * fix typo * update cargo.lock * fixing imports * Fix paths and add missing crates * re-add missing crates
-
- Nov 10, 2019
-
-
* Add a --no-private-ipv4 CLI option * Fix tests * Fix tests
-
- Oct 28, 2019
-
-
Pierre Krieger authored
* Too many addresses for a node is now a debug! rather than warn! * I managed to fail this change
-
- Aug 15, 2019
-
-
Pierre Krieger authored
-
- Jul 29, 2019
-
-
Kian Paimani authored
* refactor sr_primitives. * Fix try build error. * Line-width * Ui test. * Final fixes. * Fix build again. * bring back ui test. * Fix unsigned import. * Another ui fix. * Also refactor substrate-primitives * Fix benchmarks. * Fix doc test. * fix doc tests
-
- Jul 24, 2019
-
-
* Changes for the next libp2p release: * Updates to the Kademlia APIs. * Updated imports due to the extracted libp2p-swarm crate. * ... Still pending at least the following: * rust-libp2p/#1189 * rust-libp2p/#1191 * rust-libp2p/#1194 * Use Quorum::One. The previous choice was apparently arbitrary. * Use libp2p-0.11 from crates.io. Address feedback. * Correct imports after merge.
-
- Jul 15, 2019
-
-
Pierre Krieger authored
* Make mDNS part of DiscoveryBehaviour * Fix tests * Address concern
-
- Jul 08, 2019
-
-
Pierre Krieger authored
* Remove useless internal messages * Remove NetworkService::disconnect_peer * Remove NetworkMsg altogether * Rename ProtocolMsg ServerToWorkerMsg * Remove useless code * Add example for parse_str_addr * Move parse_str_addr and ProtocolId to config * Don't reexport the content of config * Rework the imports * More reexports rework * Add documentation * Move finalization report to network future * Move on_block_imported to worker * get_value/put_value no longer locking * local_peer_id() no longer locks * Remove FetchFuture * Service imports cleanup * Produce the network state in the network task * Merge network task and RPC network task * Move network methods to NetworkWorker * Remove Arc peers system from network * add_reserved_peer now goes through the channel * Remove Mutex around network swarm * Remove the FnOnce alias traits * Replace is_offline with num_connected * Improve style of poll() * Fix network tests * Some doc in service module * Remove macro export * Minor doc changes * Remove the synchronized() method of the import queue * Line width * Line widths * Fix import queue tests * Fix CLI tests
-
- Jul 05, 2019
-
-
Pierre Krieger authored
* Pass the peerset config to ProtocolBehaviour * Don't pass the protocol versions * Move fields from protocol_behaviour.rs to protocol.rs * Remove LocalNetworkOut * Move CustomProtos from protocol_behaviour.rs to protocol.rs * Remove ProtocolBehaviour * Inline poll() * Force Behaviour to use Protocol * Don't even attempt to have working tests * Remove NetworkOut trait * Line widths
-
- Jun 26, 2019
-
-
* Add DHT key-value behaviour * Apply suggestions from code review Co-Authored-By:
Bastian Köcher <bkchr@users.noreply.github.com> * Apply suggestions from code review Co-Authored-By:
Pierre Krieger <pierre.krieger1708@gmail.com> * Return which key failed to be inserted
-