X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fchunked.go;h=ffa34554d190ba2cbcf4d588b8a990b0e99173b5;hb=0367cce2741e1ce6a89a49fd5c4e9df6005c9744;hp=824f49a5c3bcaba4de0c055e4430a25b09d3ec60;hpb=510478b83a2808262f7167fffe5296b489a2bf03;p=nncp.git diff --git a/src/chunked.go b/src/chunked.go index 824f49a..ffa3455 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-2022 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 }