2016-11-17 01:26:46 -08:00
|
|
|
// Copyright (c) 2016 The Zcash developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#include "wallet/wallet.h"
|
|
|
|
#include "zcash/JoinSplit.hpp"
|
|
|
|
#include "zcash/Note.hpp"
|
|
|
|
#include "zcash/NoteEncryption.hpp"
|
|
|
|
|
|
|
|
CWalletTx GetValidReceive(ZCJoinSplit& params,
|
2018-04-25 18:51:17 -07:00
|
|
|
const libzcash::SproutSpendingKey& sk, CAmount value,
|
2018-07-17 13:21:16 -07:00
|
|
|
bool randomInputs,
|
|
|
|
int32_t version = 2);
|
2018-04-24 21:20:01 -07:00
|
|
|
libzcash::SproutNote GetNote(ZCJoinSplit& params,
|
2018-04-25 18:51:17 -07:00
|
|
|
const libzcash::SproutSpendingKey& sk,
|
2016-11-17 01:26:46 -08:00
|
|
|
const CTransaction& tx, size_t js, size_t n);
|
|
|
|
CWalletTx GetValidSpend(ZCJoinSplit& params,
|
2018-04-25 18:51:17 -07:00
|
|
|
const libzcash::SproutSpendingKey& sk,
|
2018-04-24 21:20:01 -07:00
|
|
|
const libzcash::SproutNote& note, CAmount value);
|