Bitcoin Core 31.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | Private Attributes | List of all members
wallet::WalletDescriptor Class Reference

Descriptor with some wallet metadata. More...

#include <walletutil.h>

Collaboration diagram for wallet::WalletDescriptor:
[legend]

Public Member Functions

int32_t GetStart () const
 
int32_t GetNext () const
 
int32_t GetEnd () const
 
void IncNext ()
 Increments the next_index of the descriptor. More...
 
void DecNext ()
 Increments the next_index of the descriptor. More...
 
void SetEnd (int32_t end)
 Sets the range_end of the descriptor. More...
 
void DeserializeDescriptor (const std::string &str)
 
 SERIALIZE_METHODS (WalletDescriptor, obj)
 
 WalletDescriptor ()=default
 
 WalletDescriptor (std::shared_ptr< Descriptor > descriptor, uint64_t creation_time, int32_t range_start, int32_t range_end, int32_t next_index)
 

Public Attributes

std::shared_ptr< Descriptordescriptor
 
uint256 id
 
uint64_t creation_time = 0
 
DescriptorCache cache
 

Private Attributes

int32_t range_start = 0
 
int32_t next_index = 0
 
int32_t range_end = 0
 

Detailed Description

Descriptor with some wallet metadata.

Definition at line 63 of file walletutil.h.

Constructor & Destructor Documentation

◆ WalletDescriptor() [1/2]

wallet::WalletDescriptor::WalletDescriptor ( )
default

◆ 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

Definition at line 124 of file walletutil.h.

Member Function Documentation

◆ DecNext()

void wallet::WalletDescriptor::DecNext ( )
inline

Increments the next_index of the descriptor.

Definition at line 86 of file walletutil.h.

◆ DeserializeDescriptor()

void wallet::WalletDescriptor::DeserializeDescriptor ( const std::string &  str)
inline

Definition at line 100 of file walletutil.h.

Here is the call graph for this function:

◆ GetEnd()

int32_t wallet::WalletDescriptor::GetEnd ( ) const
inline

Definition at line 77 of file walletutil.h.

Here is the caller graph for this function:

◆ GetNext()

int32_t wallet::WalletDescriptor::GetNext ( ) const
inline

Definition at line 76 of file walletutil.h.

◆ GetStart()

int32_t wallet::WalletDescriptor::GetStart ( ) const
inline

Definition at line 75 of file walletutil.h.

Here is the caller graph for this function:

◆ IncNext()

void wallet::WalletDescriptor::IncNext ( )
inline

Increments the next_index of the descriptor.

Definition at line 80 of file walletutil.h.

◆ SERIALIZE_METHODS()

wallet::WalletDescriptor::SERIALIZE_METHODS ( WalletDescriptor  ,
obj   
)
inline

Definition at line 115 of file walletutil.h.

◆ SetEnd()

void wallet::WalletDescriptor::SetEnd ( int32_t  end)
inline

Sets the range_end of the descriptor.

Definition at line 92 of file walletutil.h.

Member Data Documentation

◆ cache

DescriptorCache wallet::WalletDescriptor::cache

Definition at line 73 of file walletutil.h.

◆ creation_time

uint64_t wallet::WalletDescriptor::creation_time = 0

Definition at line 72 of file walletutil.h.

◆ descriptor

std::shared_ptr<Descriptor> wallet::WalletDescriptor::descriptor

Definition at line 70 of file walletutil.h.

◆ id

uint256 wallet::WalletDescriptor::id

Definition at line 71 of file walletutil.h.

◆ next_index

int32_t wallet::WalletDescriptor::next_index = 0
private

Definition at line 67 of file walletutil.h.

◆ range_end

int32_t wallet::WalletDescriptor::range_end = 0
private

Definition at line 68 of file walletutil.h.

◆ range_start

int32_t wallet::WalletDescriptor::range_start = 0
private

Definition at line 66 of file walletutil.h.


The documentation for this class was generated from the following file: