mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-12 14:04:23 +00:00
fix(multiaddress): add quic-v1 multiaddress support (#988)
This commit is contained in:
parent
b0964a410a
commit
ff9493190f
@ -398,6 +398,9 @@ const
|
|||||||
MAProtocol(
|
MAProtocol(
|
||||||
mcodec: multiCodec("quic"), kind: Marker, size: 0
|
mcodec: multiCodec("quic"), kind: Marker, size: 0
|
||||||
),
|
),
|
||||||
|
MAProtocol(
|
||||||
|
mcodec: multiCodec("quic-v1"), kind: Marker, size: 0
|
||||||
|
),
|
||||||
MAProtocol(
|
MAProtocol(
|
||||||
mcodec: multiCodec("ip6zone"), kind: Length, size: 0,
|
mcodec: multiCodec("ip6zone"), kind: Length, size: 0,
|
||||||
coder: TranscoderIP6Zone
|
coder: TranscoderIP6Zone
|
||||||
|
@ -193,6 +193,7 @@ const MultiCodecList = [
|
|||||||
("https", 0x01BB),
|
("https", 0x01BB),
|
||||||
("tls", 0x01C0),
|
("tls", 0x01C0),
|
||||||
("quic", 0x01CC),
|
("quic", 0x01CC),
|
||||||
|
("quic-v1", 0x01CD),
|
||||||
("ws", 0x01DD),
|
("ws", 0x01DD),
|
||||||
("wss", 0x01DE),
|
("wss", 0x01DE),
|
||||||
("p2p-websocket-star", 0x01DF), # not in multicodec list
|
("p2p-websocket-star", 0x01DF), # not in multicodec list
|
||||||
|
@ -60,6 +60,7 @@ const
|
|||||||
"/ip4/127.0.0.1/tcp/1234",
|
"/ip4/127.0.0.1/tcp/1234",
|
||||||
"/ip4/127.0.0.1/tcp/1234/",
|
"/ip4/127.0.0.1/tcp/1234/",
|
||||||
"/ip4/127.0.0.1/udp/1234/quic",
|
"/ip4/127.0.0.1/udp/1234/quic",
|
||||||
|
"/ip4/192.168.80.3/udp/33422/quic-v1",
|
||||||
"/ip4/127.0.0.1/ipfs/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC",
|
"/ip4/127.0.0.1/ipfs/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC",
|
||||||
"/ip4/127.0.0.1/ipfs/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC/tcp/1234",
|
"/ip4/127.0.0.1/ipfs/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC/tcp/1234",
|
||||||
"/ip4/127.0.0.1/p2p/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC",
|
"/ip4/127.0.0.1/p2p/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user