mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
Remove sc_network::NetworkService::register_notifications_protocol and partially refactor Grandpa tests (#7646)
* Remove sc_network::NetworkService::register_notifications_protocol * Missing calls to .into() * Wrong crate name * [WIP] Fix Grandpa tests * One more passing * One more. Two to go. * This one was actually already passing 🎉 * Last one compiles * Progress * grandpa: fix voter_persists_its_votes test * Restore other tests * Try spawn future later Co-authored-by: André Silva <andrerfosilva@gmail.com>
This commit is contained in:
@@ -120,8 +120,8 @@ bytes.
|
||||
block announces are pushed to other nodes. The handshake is empty on both sides. The message
|
||||
format is a SCALE-encoded tuple containing a block header followed with an opaque list of
|
||||
bytes containing some data associated with this block announcement, e.g. a candidate message.
|
||||
- Notifications protocols that are registered using the `register_notifications_protocol`
|
||||
method. For example: `/paritytech/grandpa/1`. See below for more information.
|
||||
- Notifications protocols that are registered using `NetworkConfiguration::notifications_protocols`.
|
||||
For example: `/paritytech/grandpa/1`. See below for more information.
|
||||
|
||||
## The legacy Substrate substream
|
||||
|
||||
@@ -223,4 +223,4 @@ dispatching a background task with the [`NetworkWorker`].
|
||||
More precise usage details are still being worked on and will likely change in the future.
|
||||
|
||||
|
||||
License: GPL-3.0-or-later WITH Classpath-exception-2.0
|
||||
License: GPL-3.0-or-later WITH Classpath-exception-2.0
|
||||
|
||||
Reference in New Issue
Block a user