mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-23 13:20:03 +00:00
Fixed header
This commit is contained in:
parent
07cf184336
commit
5e4c868d08
@ -1,11 +1,9 @@
|
||||
## Nim-LibP2P
|
||||
## Copyright (c) 2020 Status Research & Development GmbH
|
||||
## Licensed under either of
|
||||
## * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||
## * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||
## at your option.
|
||||
## This file may not be copied, modified, or distributed except according to
|
||||
## those terms.
|
||||
# Waku Noise Protocols for Waku Payload Encryption
|
||||
## See spec for more details:
|
||||
## https://github.com/vacp2p/rfc/tree/master/content/docs/rfcs/35
|
||||
##
|
||||
## Implementation partially inspired by noise-libp2p:
|
||||
## https://github.com/status-im/nim-libp2p/blob/master/libp2p/protocols/secure/noise.nim
|
||||
|
||||
{.push raises: [Defect].}
|
||||
|
||||
@ -275,4 +273,4 @@ proc decodeV2*(payload: seq[byte]): Option[PayloadV2] =
|
||||
res.transport_message = payload[i..i+transport_message_len-1]
|
||||
i+=transport_message_len
|
||||
|
||||
return some(res)
|
||||
return some(res)
|
||||
|
Loading…
x
Reference in New Issue
Block a user