![]() |
Bitcoin Core
22.0.0
P2P Digital Currency
|
Confirmation includes tx status and a triplet of {block height/block hash/tx index in block} at which tx has been confirmed. More...
#include <transaction.h>
Public Member Functions | |
| Confirmation (Status s=UNCONFIRMED, int b=0, uint256 h=uint256(), int i=0) | |
Public Attributes | |
| Status | status |
| int | block_height |
| uint256 | hashBlock |
| int | nIndex |
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 186 of file transaction.h.
|
inline |
Definition at line 191 of file transaction.h.
| int CWalletTx::Confirmation::block_height |
Definition at line 188 of file transaction.h.
| uint256 CWalletTx::Confirmation::hashBlock |
Definition at line 189 of file transaction.h.
| int CWalletTx::Confirmation::nIndex |
Definition at line 190 of file transaction.h.
| Status CWalletTx::Confirmation::status |
Definition at line 187 of file transaction.h.
1.8.14