PIVX Core  5.6.99
P2P Digital Currency
Classes | Enumerations | Functions
sapling_operation.cpp File Reference
#include "sapling/sapling_operation.h"
#include "coincontrol.h"
#include "net.h"
#include "policy/policy.h"
#include "sapling/key_io_sapling.h"
#include "script/standard.h"
#include "utilmoneystr.h"
Include dependency graph for sapling_operation.cpp:

Go to the source code of this file.

Classes

struct  TxValues
 

Enumerations

enum  CacheCheckResult { OK , SPENT , INVALID }
 

Functions

OperationResult loadKeysFromShieldedFrom (const CWallet *pwallet, const libzcash::SaplingPaymentAddress &addr, libzcash::SaplingExpandedSpendingKey &expskOut, uint256 &ovkOut)
 
TxValues calculateTarget (const std::vector< SendManyRecipient > &recipients, const CAmount &fee)
 
OperationResult GetMemoFromString (const std::string &s, std::array< unsigned char, ZC_MEMO_SIZE > &memoRet)
 
OperationResult CheckTransactionSize (std::vector< SendManyRecipient > &recipients, bool fromTaddr)
 

Enumeration Type Documentation

◆ CacheCheckResult

Enumerator
OK 
SPENT 
INVALID 

Definition at line 396 of file sapling_operation.cpp.

Function Documentation

◆ calculateTarget()

TxValues calculateTarget ( const std::vector< SendManyRecipient > &  recipients,
const CAmount fee 
)

Definition at line 67 of file sapling_operation.cpp.

Here is the caller graph for this function:

◆ CheckTransactionSize()

OperationResult CheckTransactionSize ( std::vector< SendManyRecipient > &  recipients,
bool  fromTaddr 
)

Definition at line 561 of file sapling_operation.cpp.

Here is the caller graph for this function:

◆ GetMemoFromString()

OperationResult GetMemoFromString ( const std::string &  s,
std::array< unsigned char, ZC_MEMO_SIZE > &  memoRet 
)

Definition at line 540 of file sapling_operation.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadKeysFromShieldedFrom()

OperationResult loadKeysFromShieldedFrom ( const CWallet pwallet,
const libzcash::SaplingPaymentAddress addr,
libzcash::SaplingExpandedSpendingKey expskOut,
uint256 ovkOut 
)

Definition at line 52 of file sapling_operation.cpp.

Here is the call graph for this function: