Descriptor with some wallet metadata.
More...
#include <walletutil.h>
Descriptor with some wallet metadata.
Definition at line 63 of file walletutil.h.
◆ WalletDescriptor() [1/2]
| wallet::WalletDescriptor::WalletDescriptor |
( |
| ) |
|
|
delete |
◆ WalletDescriptor() [2/2]
| wallet::WalletDescriptor::WalletDescriptor |
( |
std::shared_ptr< Descriptor > |
descriptor, |
|
|
uint64_t |
creation_time, |
|
|
int32_t |
range_start, |
|
|
int32_t |
range_end, |
|
|
int32_t |
next_index |
|
) |
| |
|
inline |
◆ DecNext()
| void wallet::WalletDescriptor::DecNext |
( |
| ) |
|
|
inline |
Increments the next_index of the descriptor.
Definition at line 90 of file walletutil.h.
◆ FromStream()
template<typename Stream >
◆ GetCanonicalHash()
| uint256 wallet::WalletDescriptor::GetCanonicalHash |
( |
| ) |
const |
|
private |
◆ GetEnd()
| int32_t wallet::WalletDescriptor::GetEnd |
( |
| ) |
const |
|
inline |
◆ GetNext()
| int32_t wallet::WalletDescriptor::GetNext |
( |
| ) |
const |
|
inline |
◆ GetStart()
| int32_t wallet::WalletDescriptor::GetStart |
( |
| ) |
const |
|
inline |
◆ IncNext()
| void wallet::WalletDescriptor::IncNext |
( |
| ) |
|
|
inline |
Increments the next_index of the descriptor.
Definition at line 84 of file walletutil.h.
◆ IsCanonicallyEquivalent()
| bool wallet::WalletDescriptor::IsCanonicallyEquivalent |
( |
const WalletDescriptor & |
other | ) |
const |
◆ Serialize()
template<typename Stream >
| void wallet::WalletDescriptor::Serialize |
( |
Stream & |
s | ) |
const |
|
inline |
◆ SetEnd()
| void wallet::WalletDescriptor::SetEnd |
( |
int32_t |
end | ) |
|
|
inline |
Sets the range_end of the descriptor.
Definition at line 96 of file walletutil.h.
◆ UpdateFrom()
Replaces all metadata (range, start, end, creation time), and cache from another WalletDescriptor if it has the same canonical descriptor string.
The descriptor itself is not replaced to preserve existing serialization to maintain compatibility with previous software versions that expect specific serialization.
Definition at line 88 of file walletutil.cpp.
◆ cache
◆ creation_time
| uint64_t wallet::WalletDescriptor::creation_time = 0 |
◆ descriptor
| const std::shared_ptr<const Descriptor> wallet::WalletDescriptor::descriptor |
◆ m_canonical_hash
| std::optional<uint256> wallet::WalletDescriptor::m_canonical_hash |
|
mutableprivate |
◆ next_index
| int32_t wallet::WalletDescriptor::next_index = 0 |
|
private |
◆ range_end
| int32_t wallet::WalletDescriptor::range_end = 0 |
|
private |
◆ range_start
| int32_t wallet::WalletDescriptor::range_start = 0 |
|
private |
The documentation for this class was generated from the following files: