![]() |
Bitcoin Core 32.99.0
P2P Digital Currency
|
Wraps a descriptor wallet for fuzzing. More...
#include <wallet.h>
Public Member Functions | |
| FuzzedWallet (interfaces::Chain &chain, const std::string &name, const std::string &seed_insecure) | |
| void | Reset () |
| CTxDestination | GetDestination (FuzzedDataProvider &fuzzed_data_provider) |
| CScript | GetScriptPubKey (FuzzedDataProvider &fuzzed_data_provider) |
| int64_t | RangeTotal () const |
Public Attributes | |
| std::shared_ptr< CWallet > | wallet |
Static Public Attributes | |
| static constexpr size_t | DESTINATION_POOL_SIZE {16} |
| static constexpr uint64_t | REBUILD_INTERVAL {1000} |
Private Types | |
| using | DestinationPool = std::array< std::vector< CTxDestination >, OUTPUT_TYPES.size()> |
| using | PoolCursors = std::array< size_t, OUTPUT_TYPES.size()> |
Private Member Functions | |
| void | Build () |
| void | ImportDescriptors (const std::string &seed_insecure) |
| void | PrecomputeDestinations () |
Static Private Member Functions | |
| static size_t | TypeIndex (OutputType type) |
Private Attributes | |
| interfaces::Chain & | m_chain |
| const std::string | m_name |
| const std::string | m_seed_insecure |
| DestinationPool | m_dests |
| DestinationPool | m_change_dests |
| PoolCursors | m_cursors {} |
| PoolCursors | m_change_cursors {} |
| std::vector< DescriptorScriptPubKeyMan * > | m_spkms |
| uint64_t | m_iterations {0} |
|
private |
|
private |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inlinestaticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |