update copyrights

This commit is contained in:
Duke Leto
2020-12-10 07:45:36 -05:00
parent 94ef41b7c7
commit b58c15b9fb
334 changed files with 360 additions and 380 deletions

View File

@@ -1,8 +1,7 @@
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Copyright (c) 2019-2020 The Hush developers
// Copyright (c) 2016-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. *
* *
@@ -17,25 +16,22 @@
* Removal or modification of this copyright notice is prohibited. *
* *
******************************************************************************/
#ifndef HUSH_CHECKPOINTS_H
#define HUSH_CHECKPOINTS_H
#include "uint256.h"
#include "chainparams.h"
#include <map>
class CBlockIndex;
struct CCheckpointData;
/**
* Block-chain checkpoints are compiled-in sanity checks.
* They are updated every release or three.
*/
// Blockchain checkpoints are compiled-in cyber warfare defenses
// They also change how blocks are validated and have the side effect
// of making block validation faster for blocks that are "protected"
// by a checkpoint block -- Duke Leto
namespace Checkpoints
{
typedef std::map<int, uint256> MapCheckpoints;
struct CCheckpointData {
@@ -45,7 +41,6 @@ struct CCheckpointData {
double fTransactionsPerDay;
};
bool CheckBlock(const CChainParams::CCheckpointData& data, int nHeight, const uint256& hash);
//! Return conservative estimate of total number of blocks, 0 if unknown
int GetTotalBlocksEstimate(const CChainParams::CCheckpointData& data);