diff --git a/codex/bittorrent/bencoding.nim b/codex/bittorrent/bencoding.nim index 77954bed..1b5c457f 100644 --- a/codex/bittorrent/bencoding.nim +++ b/codex/bittorrent/bencoding.nim @@ -1,3 +1,12 @@ +## Nim-Codex +## Copyright (c) 2025 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. + {.push raises: [].} import std/strformat diff --git a/codex/bittorrent/manifest/decoding.nim b/codex/bittorrent/manifest/decoding.nim index a0bec57b..91cbff5a 100644 --- a/codex/bittorrent/manifest/decoding.nim +++ b/codex/bittorrent/manifest/decoding.nim @@ -1,3 +1,12 @@ +## Nim-Codex +## Copyright (c) 2021 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. + {.push raises: [].} import pkg/libp2p/cid diff --git a/codex/bittorrent/manifest/encoding.nim b/codex/bittorrent/manifest/encoding.nim index 60409d0f..96317d3e 100644 --- a/codex/bittorrent/manifest/encoding.nim +++ b/codex/bittorrent/manifest/encoding.nim @@ -1,3 +1,12 @@ +## Nim-Codex +## Copyright (c) 2021 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. + {.push raises: [].} import pkg/libp2p/cid diff --git a/codex/bittorrent/manifest/manifest.nim b/codex/bittorrent/manifest/manifest.nim index aac180bd..68293803 100644 --- a/codex/bittorrent/manifest/manifest.nim +++ b/codex/bittorrent/manifest/manifest.nim @@ -1,3 +1,12 @@ +## Nim-Codex +## Copyright (c) 2021 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. + {.push raises: [].} import pkg/libp2p diff --git a/codex/bittorrent/piecevalidator.nim b/codex/bittorrent/piecevalidator.nim index f7533a5b..3e9d3902 100644 --- a/codex/bittorrent/piecevalidator.nim +++ b/codex/bittorrent/piecevalidator.nim @@ -1,3 +1,12 @@ +## Nim-Codex +## Copyright (c) 2021 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. + {.push raises: [].} import std/sequtils diff --git a/tests/codex/bittorrent/testtorrentdownloader.nim b/tests/codex/bittorrent/testtorrentdownloader.nim index 29a7ad26..a9bfb1b0 100644 --- a/tests/codex/bittorrent/testtorrentdownloader.nim +++ b/tests/codex/bittorrent/testtorrentdownloader.nim @@ -1,12 +1,3 @@ -## Nim-Codex -## Copyright (c) 2025 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. - import std/importutils # private access import pkg/libp2p/[cid, multicodec, multihash]