Reduce our JoinSplitty-ness
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user