![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "sapling/saplingscriptpubkeyman.h"#include "chain.h"#include "primitives/transaction.h"#include "consensus/params.h"#include "primitives/block.h"#include "sapling/incrementalmerkletree.h"#include "uint256.h"#include "validation.h"#include "wallet/wallet.h"#include <algorithm>#include <map>#include <string>#include <vector>Go to the source code of this file.
Functions | |
| template<typename NoteDataMap > | |
| void | CopyPreviousWitnesses (NoteDataMap ¬eDataMap, int indexHeight, int64_t nWitnessCacheSize) |
| void | AppendNoteCommitment (SaplingNoteData *nd, int indexHeight, int64_t nWitnessCacheSize, const uint256 ¬e_commitment) |
| template<typename Witness > | |
| void | WitnessNoteIfMine (SaplingNoteData *nd, int indexHeight, int64_t nWitnessCacheSize, const Witness &witness) |
| template<typename NoteDataMap > | |
| void | UpdateWitnessHeights (NoteDataMap ¬eDataMap, int indexHeight, int64_t nWitnessCacheSize) |
| void | ResetNoteWitnesses (std::map< SaplingOutPoint, SaplingNoteData > ¬eDataMap, std::map< uint256, std::list< SaplingWitness >> &cachedWitnessMap, int indexHeight) |
| template<typename NoteDataMap > | |
| void | DecrementNoteWitnesses (NoteDataMap ¬eDataMap, int indexHeight, int64_t nWitnessCacheSize) |
| void AppendNoteCommitment | ( | SaplingNoteData * | nd, |
| int | indexHeight, | ||
| int64_t | nWitnessCacheSize, | ||
| const uint256 & | note_commitment | ||
| ) |
Definition at line 161 of file saplingscriptpubkeyman.cpp.
| void CopyPreviousWitnesses | ( | NoteDataMap & | noteDataMap, |
| int | indexHeight, | ||
| int64_t | nWitnessCacheSize | ||
| ) |
Definition at line 133 of file saplingscriptpubkeyman.cpp.
| void DecrementNoteWitnesses | ( | NoteDataMap & | noteDataMap, |
| int | indexHeight, | ||
| int64_t | nWitnessCacheSize | ||
| ) |
Definition at line 426 of file saplingscriptpubkeyman.cpp.
| void ResetNoteWitnesses | ( | std::map< SaplingOutPoint, SaplingNoteData > & | noteDataMap, |
| std::map< uint256, std::list< SaplingWitness >> & | cachedWitnessMap, | ||
| int | indexHeight | ||
| ) |
Definition at line 399 of file saplingscriptpubkeyman.cpp.
| void UpdateWitnessHeights | ( | NoteDataMap & | noteDataMap, |
| int | indexHeight, | ||
| int64_t | nWitnessCacheSize | ||
| ) |
Definition at line 207 of file saplingscriptpubkeyman.cpp.
| void WitnessNoteIfMine | ( | SaplingNoteData * | nd, |
| int | indexHeight, | ||
| int64_t | nWitnessCacheSize, | ||
| const Witness & | witness | ||
| ) |
Definition at line 175 of file saplingscriptpubkeyman.cpp.