mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
Remove beta tag from gossipsub 1.2 (#6344)
* Remove the beta tag from gossipsub v1.2 * fix clippy * Merge branch 'unstable' into remove-beta-tag
This commit is contained in:
@@ -40,9 +40,9 @@ use void::Void;
|
||||
|
||||
pub(crate) const SIGNING_PREFIX: &[u8] = b"libp2p-pubsub:";
|
||||
|
||||
pub(crate) const GOSSIPSUB_1_2_0_BETA_PROTOCOL: ProtocolId = ProtocolId {
|
||||
pub(crate) const GOSSIPSUB_1_2_0_PROTOCOL: ProtocolId = ProtocolId {
|
||||
protocol: StreamProtocol::new("/meshsub/1.2.0"),
|
||||
kind: PeerKind::Gossipsubv1_2_beta,
|
||||
kind: PeerKind::Gossipsubv1_2,
|
||||
};
|
||||
pub(crate) const GOSSIPSUB_1_1_0_PROTOCOL: ProtocolId = ProtocolId {
|
||||
protocol: StreamProtocol::new("/meshsub/1.1.0"),
|
||||
@@ -74,7 +74,7 @@ impl Default for ProtocolConfig {
|
||||
max_transmit_size: 65536,
|
||||
validation_mode: ValidationMode::Strict,
|
||||
protocol_ids: vec![
|
||||
GOSSIPSUB_1_2_0_BETA_PROTOCOL,
|
||||
GOSSIPSUB_1_2_0_PROTOCOL,
|
||||
GOSSIPSUB_1_1_0_PROTOCOL,
|
||||
GOSSIPSUB_1_0_0_PROTOCOL,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user