This commit is contained in:
Duke Leto
2020-06-06 20:28:02 -04:00
parent dd95b1471c
commit 0eec14fb01
11 changed files with 17 additions and 2 deletions

View File

@@ -1,6 +1,5 @@
// Copyright (c) 2018 The Zcash developers // Copyright (c) 2018 The Zcash developers
// Copyright (c) 2019-2020 The Hush developers // Copyright (c) 2019-2020 The Hush developers
// Released under the GPLv3
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2018 The Zcash developers // Copyright (c) 2018 The Zcash developers
// Copyright (c) 2019-2020 The Hush developers
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.

View File

@@ -63,7 +63,7 @@ protected:
public: public:
CCoinsViewDB(size_t nCacheSize, bool fMemory = false, bool fWipe = false); CCoinsViewDB(size_t nCacheSize, bool fMemory = false, bool fWipe = false);
bool GetSproutAnchorAt(const uint256 &rt, SproutMerkleTree &tree) const; //bool GetSproutAnchorAt(const uint256 &rt, SproutMerkleTree &tree) const;
bool GetSaplingAnchorAt(const uint256 &rt, SaplingMerkleTree &tree) const; bool GetSaplingAnchorAt(const uint256 &rt, SaplingMerkleTree &tree) const;
bool GetNullifier(const uint256 &nf, ShieldedType type) const; bool GetNullifier(const uint256 &nf, ShieldedType type) const;
bool GetCoins(const uint256 &txid, CCoins &coins) const; bool GetCoins(const uint256 &txid, CCoins &coins) const;

View File

@@ -1,3 +1,5 @@
// Copyright (c) 2019-2020 The Hush developers
#include <stdexcept> #include <stdexcept>
#include <boost/foreach.hpp> #include <boost/foreach.hpp>

View File

@@ -1,3 +1,5 @@
// Copyright (c) 2019-2020 The Hush developers
#ifndef ZC_INCREMENTALMERKLETREE_H_ #ifndef ZC_INCREMENTALMERKLETREE_H_
#define ZC_INCREMENTALMERKLETREE_H_ #define ZC_INCREMENTALMERKLETREE_H_

View File

@@ -1,3 +1,5 @@
// Copyright (c) 2019-2020 The Hush developers
#ifndef ZC_JOINSPLIT_H_ #ifndef ZC_JOINSPLIT_H_
#define ZC_JOINSPLIT_H_ #define ZC_JOINSPLIT_H_

View File

@@ -1,3 +1,5 @@
// Copyright (c) 2019-2020 The Hush developers
#include "Proof.hpp" #include "Proof.hpp"
#include "crypto/common.h" #include "crypto/common.h"

View File

@@ -1,3 +1,5 @@
// Copyright (c) 2019-2020 The Hush developers
#ifndef ZC_PROOF_H_ #ifndef ZC_PROOF_H_
#define ZC_PROOF_H_ #define ZC_PROOF_H_

View File

@@ -1,3 +1,5 @@
// Copyright (c) 2019-2020 The Hush developers
#include "prf.h" #include "prf.h"
#include "crypto/sha256.h" #include "crypto/sha256.h"
#include "hash.h" #include "hash.h"

View File

@@ -1,3 +1,5 @@
// Copyright (c) 2019-2020 The Hush developers
#include "zcash/util.h" #include "zcash/util.h"
#include <algorithm> #include <algorithm>
#include <stdexcept> #include <stdexcept>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2018 The Zcash developers // Copyright (c) 2018 The Zcash developers
// Copyright (c) 2019-2020 The Hush developers
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.