chore: add n2n handshake version 14 to default options (#665)
This commit is contained in:
parent
b7b64977e4
commit
d09677bdd4
1 changed files with 19 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ const PROTOCOL_V10: u64 = 10;
|
|||
const PROTOCOL_V11: u64 = 11;
|
||||
const PROTOCOL_V12: u64 = 12;
|
||||
const PROTOCOL_V13: u64 = 13;
|
||||
const PROTOCOL_V14: u64 = 14;
|
||||
|
||||
const PEER_SHARING_DISABLED: u8 = 0;
|
||||
|
||||
|
|
@ -99,6 +100,15 @@ impl VersionTable {
|
|||
Some(false),
|
||||
),
|
||||
),
|
||||
(
|
||||
PROTOCOL_V14,
|
||||
VersionData::new(
|
||||
network_magic,
|
||||
true,
|
||||
Some(PEER_SHARING_DISABLED),
|
||||
Some(false),
|
||||
),
|
||||
),
|
||||
]
|
||||
.into_iter()
|
||||
.collect::<HashMap<u64, VersionData>>();
|
||||
|
|
@ -135,6 +145,15 @@ impl VersionTable {
|
|||
Some(false),
|
||||
),
|
||||
),
|
||||
(
|
||||
PROTOCOL_V14,
|
||||
VersionData::new(
|
||||
network_magic,
|
||||
true,
|
||||
Some(PEER_SHARING_DISABLED),
|
||||
Some(false),
|
||||
),
|
||||
),
|
||||
]
|
||||
.into_iter()
|
||||
.collect::<HashMap<u64, VersionData>>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue