25 lines
703 B
C++
25 lines
703 B
C++
// Copyright (c) 2018 The PIVX developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef Agrarian_INVALID_H
|
|
#define Agrarian_INVALID_H
|
|
|
|
#endif //Agrarian_INVALID_H
|
|
|
|
#include <libzerocoin/bignum.h>
|
|
#include <univalue/include/univalue.h>
|
|
#include <primitives/transaction.h>
|
|
|
|
namespace invalid_out
|
|
{
|
|
extern std::set<CBigNum> setInvalidSerials;
|
|
extern std::set<COutPoint> setInvalidOutPoints;
|
|
|
|
UniValue read_json(const std::string& jsondata);
|
|
|
|
bool ContainsOutPoint(const COutPoint& out);
|
|
bool ContainsSerial(const CBigNum& bnSerial);
|
|
bool LoadOutpoints();
|
|
bool LoadSerials();
|
|
} |