1 // Copyright (c) 2016 The Zcash developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #include "wallet/wallet.h"
6 #include "zcash/JoinSplit.hpp"
7 #include "zcash/Note.hpp"
8 #include "zcash/NoteEncryption.hpp"
10 CWalletTx GetValidSproutReceive(ZCJoinSplit& params,
11 const libzcash::SproutSpendingKey& sk,
15 libzcash::SproutNote GetSproutNote(ZCJoinSplit& params,
16 const libzcash::SproutSpendingKey& sk,
17 const CTransaction& tx, size_t js, size_t n);
18 CWalletTx GetValidSproutSpend(ZCJoinSplit& params,
19 const libzcash::SproutSpendingKey& sk,
20 const libzcash::SproutNote& note,