diff --git a/src/bech32.cpp b/src/bech32.cpp index 78c35b976..ba2ba8904 100644 --- a/src/bech32.cpp +++ b/src/bech32.cpp @@ -1,6 +1,7 @@ // Copyright (c) 2017 Pieter Wuille +// Copyright (c) 2019-2020 The Hush developers // Distributed under the MIT software license, see the accompanying -// file COPYING or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or https://www.opensource.org/licenses/mit-license.php #include "bech32.h" diff --git a/src/bech32.h b/src/bech32.h index 2e2823e97..88a11486f 100644 --- a/src/bech32.h +++ b/src/bech32.h @@ -1,8 +1,9 @@ // Copyright (c) 2017 Pieter Wuille +// Copyright (c) 2019-2020 The Hush developers // Distributed under the MIT software license, see the accompanying -// file COPYING or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or https://www.opensource.org/licenses/mit-license.php -// Bech32 is a string encoding format used in newer address types. +// Bech32 is a string encoding format used in Sapling zaddrs // The output consists of a human-readable part (alphanumeric), a // separator character (1), and a base32 data section, the last // 6 characters of which are a checksum. diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp index 47bbb0f05..7b7529a1f 100644 --- a/src/dbwrapper.cpp +++ b/src/dbwrapper.cpp @@ -1,6 +1,7 @@ // Copyright (c) 2012-2014 The Bitcoin Core developers +// Copyright (c) 2019-2020 The Hush developers // Distributed under the MIT software license, see the accompanying -// file COPYING or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or https://www.opensource.org/licenses/mit-license.php #include "dbwrapper.h" diff --git a/src/hash.cpp b/src/hash.cpp index 7471da8fb..c15212a84 100644 --- a/src/hash.cpp +++ b/src/hash.cpp @@ -1,4 +1,5 @@ // Copyright (c) 2013-2014 The Bitcoin Core developers +// Copyright (c) 2019-2020 The Hush developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/metrics.h b/src/metrics.h index 84ea9ed51..c110573a2 100644 --- a/src/metrics.h +++ b/src/metrics.h @@ -1,4 +1,5 @@ // Copyright (c) 2016 The Zcash developers +// Copyright (c) 2019-2020 The Hush developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/protocol.cpp b/src/protocol.cpp index 36ed63934..77892bae6 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers +// Copyright (c) 2019-2020 The Hush developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/pubkey.cpp b/src/pubkey.cpp index c714c8671..0d9096f61 100644 --- a/src/pubkey.cpp +++ b/src/pubkey.cpp @@ -1,7 +1,8 @@ // Copyright (c) 2009-2014 The Bitcoin Core developers // Copyright (c) 2017 The Zcash developers +// Copyright (c) 2019-2020 The Hush developers // Distributed under the MIT software license, see the accompanying -// file COPYING or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or https://www.opensource.org/licenses/mit-license.php /****************************************************************************** * Copyright © 2014-2019 The SuperNET Developers. * @@ -41,12 +42,12 @@ bool CPubKey::Verify(const uint256 &hash, const std::vector& vchS if (vchSig.size() == 0) { return false; } - /* Zcash, unlike Bitcoin, has always enforced strict DER signatures. */ + /* Hush, unlike Bitcoin, has always enforced strict DER signatures. */ if (!secp256k1_ecdsa_signature_parse_der(secp256k1_context_verify, &sig, &vchSig[0], vchSig.size())) { return false; } /* libsecp256k1's ECDSA verification requires lower-S signatures, which have - * not historically been enforced in Bitcoin or Zcash, so normalize them first. */ + * not historically been enforced in Bitcoin or Hush, so normalize them first. */ secp256k1_ecdsa_signature_normalize(secp256k1_context_verify, &sig, &sig); return secp256k1_ecdsa_verify(secp256k1_context_verify, &sig, hash.begin(), &pubkey); } @@ -142,7 +143,7 @@ bool CExtPubKey::Derive(CExtPubKey &out, unsigned int nChild) const { /* static */ bool CPubKey::CheckLowS(const std::vector& vchSig) { secp256k1_ecdsa_signature sig; - /* Zcash, unlike Bitcoin, has always enforced strict DER signatures. */ + /* Hush, unlike Bitcoin, has always enforced strict DER signatures. */ if (!secp256k1_ecdsa_signature_parse_der(secp256k1_context_verify, &sig, &vchSig[0], vchSig.size())) { return false; } diff --git a/src/sync.cpp b/src/sync.cpp index 31c3301bd..8322a6383 100644 --- a/src/sync.cpp +++ b/src/sync.cpp @@ -1,6 +1,7 @@ // Copyright (c) 2011-2012 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying -// file COPYING or http://www.opensource.org/licenses/mit-license.php. +// Copyright (c) 2019-2020 The Hush developers +// file COPYING or https://www.opensource.org/licenses/mit-license.php /****************************************************************************** * Copyright © 2014-2019 The SuperNET Developers. *