mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-23 23:41:07 +00:00
Pass an encoded Roles as the notifications protocols handshakes (#5665)
This commit is contained in:
@@ -113,6 +113,8 @@ pub struct GenericProto {
|
||||
legacy_protocol: RegisteredProtocol,
|
||||
|
||||
/// Notification protocols. Entries are only ever added and not removed.
|
||||
/// Contains, for each protocol, the protocol name and the message to send as part of the
|
||||
/// initial handshake.
|
||||
notif_protocols: Vec<(Cow<'static, [u8]>, Vec<u8>)>,
|
||||
|
||||
/// Receiver for instructions about who to connect to or disconnect from.
|
||||
|
||||
Reference in New Issue
Block a user