From f510034fc3903b3c48f4b60e8d874a68c99e7f59 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sun, 25 Oct 2020 22:49:49 -0400 Subject: [PATCH] Reduce our JoinSplitty-ness --- src/zcash/JoinSplit.cpp | 11 ----------- src/zcash/JoinSplit.hpp | 13 ++++--------- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/src/zcash/JoinSplit.cpp b/src/zcash/JoinSplit.cpp index f4d558459..f4690f5dd 100644 --- a/src/zcash/JoinSplit.cpp +++ b/src/zcash/JoinSplit.cpp @@ -5,21 +5,10 @@ #include "prf.h" #include "sodium.h" -#include "zcash/util.h" - #include - -#include -#include -#include #include -#include "tinyformat.h" -#include "sync.h" -#include "amount.h" #include "librustzcash.h" -#include "streams.h" -#include "version.h" namespace libzcash { diff --git a/src/zcash/JoinSplit.hpp b/src/zcash/JoinSplit.hpp index 8193ba1bf..ceac79fe4 100644 --- a/src/zcash/JoinSplit.hpp +++ b/src/zcash/JoinSplit.hpp @@ -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 GrothProof; typedef boost::variant SproutProof; -class JSInput { -}; +class JSInput { }; -class JSOutput { -}; +class JSOutput { }; template -class JoinSplit { -}; +class JoinSplit { }; } -typedef libzcash::JoinSplit ZCJoinSplit; +typedef libzcash::JoinSplit ZCJoinSplit; #endif // ZC_JOINSPLIT_H_