X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fnode.go;h=d71fd294d9ef6d97c903ae83427f8d2edddaddf9;hb=cf9363f956cb2d93a581c11ed65c5b02910d10d5;hp=b2a598546d54b72e41c1fbc05f601a227b6c964c;hpb=1b001e3dc76b6950f6170a1b2f01bf9c50d230ef;p=nncp.git diff --git a/src/node.go b/src/node.go index b2a5985..d71fd29 100644 --- a/src/node.go +++ b/src/node.go @@ -1,6 +1,6 @@ /* NNCP -- Node to Node copy, utilities for store-and-forward data exchange -Copyright (C) 2016-2021 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 @@ -30,6 +30,8 @@ import ( "golang.org/x/crypto/nacl/box" ) +const DummyB32Id = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + type NodeId [blake2b.Size256]byte func (id NodeId) String() string {