mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-01-11 19:04:26 +00:00
minor style fixes
This commit is contained in:
parent
f9f75254af
commit
464d75d159
@ -17,11 +17,13 @@ import connection,
|
||||
logScope:
|
||||
topic = "Multistream"
|
||||
|
||||
const MsgSize* = 64*1024
|
||||
const Codec* = "/multistream/1.0.0"
|
||||
const MSCodec* = "\x13" & Codec & "\n"
|
||||
const Na = "\x03na\n"
|
||||
const Ls = "\x03ls\n"
|
||||
const
|
||||
MsgSize* = 64*1024
|
||||
Codec* = "/multistream/1.0.0"
|
||||
|
||||
MSCodec* = "\x13" & Codec & "\n"
|
||||
Na = "\x03na\n"
|
||||
Ls = "\x03ls\n"
|
||||
|
||||
type
|
||||
MultisteamSelectException = object of CatchableError
|
||||
|
@ -20,10 +20,11 @@ import ../protobuf/minprotobuf,
|
||||
logScope:
|
||||
topic = "identify"
|
||||
|
||||
const IdentifyCodec* = "/ipfs/id/1.0.0"
|
||||
const IdentifyPushCodec* = "/ipfs/id/push/1.0.0"
|
||||
const ProtoVersion* = "ipfs/0.1.0"
|
||||
const AgentVersion* = "nim-libp2p/0.0.1"
|
||||
const
|
||||
IdentifyCodec* = "/ipfs/id/1.0.0"
|
||||
IdentifyPushCodec* = "/ipfs/id/push/1.0.0"
|
||||
ProtoVersion* = "ipfs/0.1.0"
|
||||
AgentVersion* = "nim-libp2p/0.0.1"
|
||||
|
||||
#TODO: implment push identify, leaving out for now as it is not essential
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user