Reduce our JoinSplitty-ness

This commit is contained in:
Duke Leto
2020-10-25 22:49:49 -04:00
parent 15138dc3ce
commit f510034fc3
2 changed files with 4 additions and 20 deletions

View File

@@ -5,21 +5,10 @@
#include "prf.h"
#include "sodium.h"
#include "zcash/util.h"
#include <memory>
#include <boost/foreach.hpp>
#include <boost/format.hpp>
#include <boost/optional.hpp>
#include <fstream>
#include "tinyformat.h"
#include "sync.h"
#include "amount.h"
#include "librustzcash.h"
#include "streams.h"
#include "version.h"
namespace libzcash {

View File

@@ -11,7 +11,6 @@
#include "Note.hpp"
#include "IncrementalMerkleTree.hpp"
#include "NoteEncryption.hpp"
#include "uint256.h"
#include "uint252.h"
@@ -27,19 +26,15 @@ static constexpr size_t GROTH_PROOF_SIZE = (
typedef std::array<unsigned char, GROTH_PROOF_SIZE> GrothProof;
typedef boost::variant<PHGRProof, GrothProof> SproutProof;
class JSInput {
};
class JSInput { };
class JSOutput {
};
class JSOutput { };
template<size_t NumInputs, size_t NumOutputs>
class JoinSplit {
};
class JoinSplit { };
}
typedef libzcash::JoinSplit<ZC_NUM_JS_INPUTS,
ZC_NUM_JS_OUTPUTS> ZCJoinSplit;
typedef libzcash::JoinSplit<ZC_NUM_JS_INPUTS, ZC_NUM_JS_OUTPUTS> ZCJoinSplit;
#endif // ZC_JOINSPLIT_H_