Bitcoin ABC  0.24.7
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CWalletTx::Confirmation Struct Reference

Confirmation includes tx status and a triplet of {block height/block hash/tx index in block} at which tx has been confirmed. More...

#include <wallet.h>

Collaboration diagram for CWalletTx::Confirmation:
[legend]

Public Member Functions

 Confirmation (Status s=UNCONFIRMED, int b=0, BlockHash h=BlockHash(), int i=0)
 

Public Attributes

Status status
 
int block_height
 
BlockHash hashBlock
 
int nIndex
 

Detailed Description

Confirmation includes tx status and a triplet of {block height/block hash/tx index in block} at which tx has been confirmed.

All three are set to 0 if tx is unconfirmed or abandoned. Meaning of these fields changes with CONFLICTED state where they instead point to block hash and block height of the deepest conflicting tx.

Definition at line 403 of file wallet.h.

Constructor & Destructor Documentation

◆ Confirmation()

CWalletTx::Confirmation::Confirmation ( Status  s = UNCONFIRMED,
int  b = 0,
BlockHash  h = BlockHash(),
int  i = 0 
)
inline

Definition at line 408 of file wallet.h.

Member Data Documentation

◆ block_height

int CWalletTx::Confirmation::block_height

Definition at line 405 of file wallet.h.

◆ hashBlock

BlockHash CWalletTx::Confirmation::hashBlock

Definition at line 406 of file wallet.h.

◆ nIndex

int CWalletTx::Confirmation::nIndex

Definition at line 407 of file wallet.h.

◆ status

Status CWalletTx::Confirmation::status

Definition at line 404 of file wallet.h.


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