![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <sapling_operation.h>
Public Member Functions | |
| SaplingOperation (const Consensus::Params &consensusParams, CWallet *_wallet) | |
| ~SaplingOperation () | |
| OperationResult | build () |
| OperationResult | send (std::string &retTxHash) |
| OperationResult | buildAndSend (std::string &retTxHash) |
| void | setFromAddress (const CTxDestination &) |
| void | setFromAddress (const libzcash::SaplingPaymentAddress &) |
| void | clearTx () |
| SaplingOperation * | setSelectTransparentCoins (const bool select, const bool _fIncludeDelegated=false) |
| SaplingOperation * | setSelectShieldedCoins (const bool select) |
| SaplingOperation * | setRecipients (std::vector< SendManyRecipient > &vec) |
| SaplingOperation * | setFee (CAmount _fee) |
| SaplingOperation * | setMinDepth (int _mindepth) |
| SaplingOperation * | setTransparentKeyChange (CReserveKey *reserveKey) |
| SaplingOperation * | setCoinControl (const CCoinControl *_coinControl) |
| CAmount | getFee () |
| CTransaction | getFinalTx () |
| CTransactionRef | getFinalTxRef () |
Private Member Functions | |
| OperationResult | loadUtxos (TxValues &values) |
| OperationResult | loadUtxos (TxValues &txValues, const std::vector< COutput > &selectedUTXO, const CAmount selectedUTXOAmount) |
| OperationResult | loadUnspentNotes (TxValues &txValues, uint256 &ovk) |
| OperationResult | checkTxValues (TxValues &txValues, bool isFromtAddress, bool isFromShielded) |
Private Attributes | |
| CWallet * | wallet {nullptr} |
| FromAddress | fromAddress |
| bool | selectFromtaddrs {false} |
| bool | selectFromShield {false} |
| bool | fIncludeDelegated {false} |
| const CCoinControl * | coinControl {nullptr} |
| std::vector< SendManyRecipient > | recipients |
| std::vector< COutput > | transInputs |
| std::vector< SaplingNoteEntry > | shieldedInputs |
| int | mindepth {5} |
| CAmount | fee {0} |
| CReserveKey * | tkeyChange {nullptr} |
| TransactionBuilder | txBuilder |
| CTransactionRef | finalTx |
Definition at line 83 of file sapling_operation.h.
|
explicit |
Definition at line 23 of file sapling_operation.cpp.
| SaplingOperation::~SaplingOperation | ( | ) |
Definition at line 30 of file sapling_operation.cpp.
| OperationResult SaplingOperation::build | ( | ) |
Definition at line 81 of file sapling_operation.cpp.
| OperationResult SaplingOperation::buildAndSend | ( | std::string & | retTxHash | ) |
|
private |
Definition at line 35 of file sapling_operation.cpp.
|
inline |
Definition at line 94 of file sapling_operation.h.
|
inline |
Definition at line 104 of file sapling_operation.h.
|
inline |
Definition at line 105 of file sapling_operation.h.
|
inline |
Definition at line 106 of file sapling_operation.h.
|
private |
Definition at line 431 of file sapling_operation.cpp.
|
private |
|
private |
Definition at line 304 of file sapling_operation.cpp.
| OperationResult SaplingOperation::send | ( | std::string & | retTxHash | ) |
Definition at line 270 of file sapling_operation.cpp.
|
inline |
|
inline |
Definition at line 99 of file sapling_operation.h.
| void SaplingOperation::setFromAddress | ( | const CTxDestination & | _dest | ) |
Definition at line 287 of file sapling_operation.cpp.
| void SaplingOperation::setFromAddress | ( | const libzcash::SaplingPaymentAddress & | _payment | ) |
Definition at line 292 of file sapling_operation.cpp.
|
inline |
|
inline |
|
inline |
| SaplingOperation * SaplingOperation::setSelectTransparentCoins | ( | const bool | select, |
| const bool | _fIncludeDelegated = false |
||
| ) |
|
inline |
|
private |
Definition at line 121 of file sapling_operation.h.
|
private |
Definition at line 126 of file sapling_operation.h.
|
private |
Definition at line 133 of file sapling_operation.h.
|
private |
Definition at line 120 of file sapling_operation.h.
|
private |
Definition at line 116 of file sapling_operation.h.
|
private |
Definition at line 125 of file sapling_operation.h.
|
private |
Definition at line 122 of file sapling_operation.h.
|
private |
Definition at line 119 of file sapling_operation.h.
|
private |
Definition at line 118 of file sapling_operation.h.
|
private |
Definition at line 124 of file sapling_operation.h.
|
private |
Definition at line 129 of file sapling_operation.h.
|
private |
Definition at line 123 of file sapling_operation.h.
|
private |
Definition at line 132 of file sapling_operation.h.
|
private |
Definition at line 114 of file sapling_operation.h.