mirror of
https://github.com/n0-computer/iroh.git
synced 2026-12-03 08:01:40 +00:00
feat: Use our own ALPN (#155)
This commit is contained in:
+1
-2
@@ -19,8 +19,7 @@ use ssh_key::LineEnding;
|
||||
|
||||
use crate::util;
|
||||
|
||||
// TODO: change?
|
||||
const P2P_ALPN: [u8; 6] = *b"libp2p";
|
||||
const P2P_ALPN: [u8; 9] = *b"n0/iroh/1";
|
||||
|
||||
/// A keypair.
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user