From bfa454d8ec248c2a1216b9a62eaa03ccd3a4a0d1 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Tue, 8 Dec 2020 08:38:15 -0500 Subject: [PATCH] Copyrights --- src/cc/CCGateways.h | 4 +++- src/cc/CCHeir.h | 4 +++- src/cc/CCfaucet.h | 7 +++---- src/cc/eval.cpp | 11 ++--------- src/cc/faucet.cpp | 4 +++- src/cc/heir.cpp | 3 +++ src/cc/heir_validate.h | 3 +++ src/cc/makecclib | 2 ++ 8 files changed, 22 insertions(+), 16 deletions(-) diff --git a/src/cc/CCGateways.h b/src/cc/CCGateways.h index 8793c0dc4..936637a7d 100644 --- a/src/cc/CCGateways.h +++ b/src/cc/CCGateways.h @@ -1,3 +1,6 @@ +// Copyright (c) 2019-2020 The Hush developers +// Distributed under the GPLv3 software license, see the accompanying +// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html /****************************************************************************** * Copyright © 2014-2019 The SuperNET Developers. * * * @@ -13,7 +16,6 @@ * * ******************************************************************************/ - #ifndef CC_GATEWAYS_H #define CC_GATEWAYS_H diff --git a/src/cc/CCHeir.h b/src/cc/CCHeir.h index fa1f72263..34911cc06 100644 --- a/src/cc/CCHeir.h +++ b/src/cc/CCHeir.h @@ -1,3 +1,6 @@ +// Copyright (c) 2019-2020 The Hush developers +// Distributed under the GPLv3 software license, see the accompanying +// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html /****************************************************************************** * Copyright © 2014-2019 The SuperNET Developers. * * * @@ -13,7 +16,6 @@ * * ******************************************************************************/ - #ifndef CC_HEIR_H #define CC_HEIR_H diff --git a/src/cc/CCfaucet.h b/src/cc/CCfaucet.h index af3237ab1..b364e6971 100644 --- a/src/cc/CCfaucet.h +++ b/src/cc/CCfaucet.h @@ -1,3 +1,6 @@ +// Copyright (c) 2019-2020 The Hush developers +// Distributed under the GPLv3 software license, see the accompanying +// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html /****************************************************************************** * Copyright © 2014-2019 The SuperNET Developers. * * * @@ -12,13 +15,9 @@ * Removal or modification of this copyright notice is prohibited. * * * ******************************************************************************/ - - #ifndef CC_FAUCET_H #define CC_FAUCET_H - #include "CCinclude.h" - #define EVAL_FAUCET 0xe4 #define FAUCETSIZE (COIN / 10) diff --git a/src/cc/eval.cpp b/src/cc/eval.cpp index c664dc0a3..0d5b068fa 100644 --- a/src/cc/eval.cpp +++ b/src/cc/eval.cpp @@ -180,9 +180,7 @@ bool Eval::CheckNotaryInputs(const CTransaction &tx, uint32_t height, uint32_t t return CheckTxAuthority(tx, auth); } -/* - * Get MoM from a notarisation tx hash (on KMD) - */ +// Get MoM from a notarisation tx hash (on HUSH) bool Eval::GetNotarisationData(const uint256 notaryHash, NotarisationData &data) const { CTransaction notarisationTx; @@ -218,10 +216,7 @@ bool ParseNotarisationOpReturn(const CTransaction &tx, NotarisationData &data) return out; } - -/* - * Misc - */ +// Misc std::string EvalToStr(EvalCode c) { FOREACH_EVAL(EVAL_GENERATE_STRING); @@ -231,7 +226,6 @@ std::string EvalToStr(EvalCode c) } - uint256 SafeCheckMerkleBranch(uint256 hash, const std::vector& vMerkleBranch, int nIndex) { if (nIndex == -1) @@ -252,7 +246,6 @@ uint256 SafeCheckMerkleBranch(uint256 hash, const std::vector& vMerkleB return hash; } - uint256 GetMerkleRoot(const std::vector& vLeaves) { bool fMutated; diff --git a/src/cc/faucet.cpp b/src/cc/faucet.cpp index 2c0a08451..b581c9a75 100644 --- a/src/cc/faucet.cpp +++ b/src/cc/faucet.cpp @@ -1,3 +1,6 @@ +// Copyright (c) 2019-2020 The Hush developers +// Distributed under the GPLv3 software license, see the accompanying +// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html /****************************************************************************** * Copyright © 2014-2019 The SuperNET Developers. * * * @@ -248,4 +251,3 @@ UniValue FaucetInfo() result.push_back(Pair("funding",numstr)); return(result); } - diff --git a/src/cc/heir.cpp b/src/cc/heir.cpp index 728d82f26..9eee52f45 100644 --- a/src/cc/heir.cpp +++ b/src/cc/heir.cpp @@ -1,3 +1,6 @@ +// Copyright (c) 2019-2020 The Hush developers +// Distributed under the GPLv3 software license, see the accompanying +// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html /****************************************************************************** * Copyright © 2014-2019 The SuperNET Developers. * * * diff --git a/src/cc/heir_validate.h b/src/cc/heir_validate.h index 768390aa3..9e384968a 100644 --- a/src/cc/heir_validate.h +++ b/src/cc/heir_validate.h @@ -1,3 +1,6 @@ +// Copyright (c) 2019-2020 The Hush developers +// Distributed under the GPLv3 software license, see the accompanying +// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html #ifndef HEIR_VALIDATE_H #define HEIR_VALIDATE_H diff --git a/src/cc/makecclib b/src/cc/makecclib index c5e394740..1e03628f3 100755 --- a/src/cc/makecclib +++ b/src/cc/makecclib @@ -1,5 +1,7 @@ #!/bin/bash # Copyright (c) 2019-2020 The Hush developers +# Distributed under the GPLv3 software license, see the accompanying +# file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html rm *.so rogue/rogue games/tetris games/prices