]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/chunked.go
Raise copyright years
[nncp.git] / src / chunked.go
index 573bb9a8f0f636894ab7d03cb171cf81df3cfce8..ffa34554d190ba2cbcf4d588b8a990b0e99173b5 100644 (file)
@@ -1,6 +1,6 @@
 /*
 NNCP -- Node to Node copy, utilities for store-and-forward data exchange
-Copyright (C) 2016-2021 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2016-2022 Sergey Matveev <stargrave@stargrave.org>
 
 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 <http://www.gnu.org/licenses/>.
 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
 }