Skip to content

Commit 52269b0

Browse files
committed
missing headers
1 parent 38d21d7 commit 52269b0

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

tests/libp2p/multiformat_exts/multibase_exts.nim

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# Nim-LibP2P
2+
# Copyright (c) 2023-2025 Status Research & Development GmbH
3+
# Licensed under either of
4+
# * Apache License, version 2.0 ([LICENSE-APACHE](LICENSE-APACHE))
5+
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
6+
# at your option.
7+
# This file may not be copied, modified, or distributed except according to
8+
# those terms.
9+
110
import stew/byteutils
211

312
proc mb1Decode(
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
# Nim-LibP2P
2+
# Copyright (c) 2023-2025 Status Research & Development GmbH
3+
# Licensed under either of
4+
# * Apache License, version 2.0 ([LICENSE-APACHE](LICENSE-APACHE))
5+
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
6+
# at your option.
7+
# This file may not be copied, modified, or distributed except according to
8+
# those terms.
9+
110
const CodecExts = [("codec_mc1", 0xFF01), ("codec_mc2", 0xFF02), ("codec_mc3", 0xFF03)]

tests/libp2p/multiformat_exts/multihash_exts.nim

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# Nim-LibP2P
2+
# Copyright (c) 2023-2025 Status Research & Development GmbH
3+
# Licensed under either of
4+
# * Apache License, version 2.0 ([LICENSE-APACHE](LICENSE-APACHE))
5+
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
6+
# at your option.
7+
# This file may not be copied, modified, or distributed except according to
8+
# those terms.
9+
110
proc coder1(data: openArray[byte], output: var openArray[byte]) =
211
let n = min(data.len, output.len)
312
if n == 0:

0 commit comments

Comments
 (0)