Copyrights
This commit is contained in:
@@ -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. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
@@ -13,7 +16,6 @@
|
|||||||
* *
|
* *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef CC_GATEWAYS_H
|
#ifndef CC_GATEWAYS_H
|
||||||
#define CC_GATEWAYS_H
|
#define CC_GATEWAYS_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. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
@@ -13,7 +16,6 @@
|
|||||||
* *
|
* *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef CC_HEIR_H
|
#ifndef CC_HEIR_H
|
||||||
#define CC_HEIR_H
|
#define CC_HEIR_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. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
@@ -12,13 +15,9 @@
|
|||||||
* Removal or modification of this copyright notice is prohibited. *
|
* Removal or modification of this copyright notice is prohibited. *
|
||||||
* *
|
* *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef CC_FAUCET_H
|
#ifndef CC_FAUCET_H
|
||||||
#define CC_FAUCET_H
|
#define CC_FAUCET_H
|
||||||
|
|
||||||
#include "CCinclude.h"
|
#include "CCinclude.h"
|
||||||
|
|
||||||
#define EVAL_FAUCET 0xe4
|
#define EVAL_FAUCET 0xe4
|
||||||
#define FAUCETSIZE (COIN / 10)
|
#define FAUCETSIZE (COIN / 10)
|
||||||
|
|
||||||
|
|||||||
@@ -180,9 +180,7 @@ bool Eval::CheckNotaryInputs(const CTransaction &tx, uint32_t height, uint32_t t
|
|||||||
return CheckTxAuthority(tx, auth);
|
return CheckTxAuthority(tx, auth);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
// Get MoM from a notarisation tx hash (on HUSH)
|
||||||
* Get MoM from a notarisation tx hash (on KMD)
|
|
||||||
*/
|
|
||||||
bool Eval::GetNotarisationData(const uint256 notaryHash, NotarisationData &data) const
|
bool Eval::GetNotarisationData(const uint256 notaryHash, NotarisationData &data) const
|
||||||
{
|
{
|
||||||
CTransaction notarisationTx;
|
CTransaction notarisationTx;
|
||||||
@@ -218,10 +216,7 @@ bool ParseNotarisationOpReturn(const CTransaction &tx, NotarisationData &data)
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Misc
|
||||||
/*
|
|
||||||
* Misc
|
|
||||||
*/
|
|
||||||
std::string EvalToStr(EvalCode c)
|
std::string EvalToStr(EvalCode c)
|
||||||
{
|
{
|
||||||
FOREACH_EVAL(EVAL_GENERATE_STRING);
|
FOREACH_EVAL(EVAL_GENERATE_STRING);
|
||||||
@@ -231,7 +226,6 @@ std::string EvalToStr(EvalCode c)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
uint256 SafeCheckMerkleBranch(uint256 hash, const std::vector<uint256>& vMerkleBranch, int nIndex)
|
uint256 SafeCheckMerkleBranch(uint256 hash, const std::vector<uint256>& vMerkleBranch, int nIndex)
|
||||||
{
|
{
|
||||||
if (nIndex == -1)
|
if (nIndex == -1)
|
||||||
@@ -252,7 +246,6 @@ uint256 SafeCheckMerkleBranch(uint256 hash, const std::vector<uint256>& vMerkleB
|
|||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
uint256 GetMerkleRoot(const std::vector<uint256>& vLeaves)
|
uint256 GetMerkleRoot(const std::vector<uint256>& vLeaves)
|
||||||
{
|
{
|
||||||
bool fMutated;
|
bool fMutated;
|
||||||
|
|||||||
@@ -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. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
@@ -248,4 +251,3 @@ UniValue FaucetInfo()
|
|||||||
result.push_back(Pair("funding",numstr));
|
result.push_back(Pair("funding",numstr));
|
||||||
return(result);
|
return(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
|
|||||||
@@ -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
|
#ifndef HEIR_VALIDATE_H
|
||||||
#define HEIR_VALIDATE_H
|
#define HEIR_VALIDATE_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Copyright (c) 2019-2020 The Hush developers
|
# 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
|
rm *.so rogue/rogue games/tetris games/prices
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user