X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fchunked.go;h=dd88ef5124bd1a971be97b56dde5a1188f22d66e;hb=cf9363f956cb2d93a581c11ed65c5b02910d10d5;hp=824f49a5c3bcaba4de0c055e4430a25b09d3ec60;hpb=271870ad4f56253e0918f673b90615e4749cf201;p=nncp.git diff --git a/src/chunked.go b/src/chunked.go index 824f49a..dd88ef5 100644 --- a/src/chunked.go +++ b/src/chunked.go @@ -1,6 +1,6 @@ /* NNCP -- Node to Node copy, utilities for store-and-forward data exchange -Copyright (C) 2016-2020 Sergey Matveev +Copyright (C) 2016-2023 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,8 +18,6 @@ along with this program. If not, see . package nncp var ( - MagicNNCPMv1 [8]byte = [8]byte{'N', 'N', 'C', 'P', 'M', 0, 0, 1} - ChunkedSuffixMeta = ".nncp.meta" ChunkedSuffixPart = ".nncp.chunk" ) @@ -28,5 +26,5 @@ type ChunkedMeta struct { Magic [8]byte FileSize uint64 ChunkSize uint64 - Checksums [][32]byte + Checksums [][MTHSize]byte }