X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fchunked.go;h=dd88ef5124bd1a971be97b56dde5a1188f22d66e;hb=cf9363f956cb2d93a581c11ed65c5b02910d10d5;hp=2e5fb9e36682844923c1dba39ef4a57524de9e02;hpb=dd887c15fa21071a2f4931f7248e10c4ab1029d2;p=nncp.git diff --git a/src/chunked.go b/src/chunked.go index 2e5fb9e..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-2019 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 }