Repository navigation
doc: Fix CWalletTx::Confirmation doc - #23332
Conversation
fa4e8fe to
faf9a9f
Compare
faf9a9f to
fa8fef6
Compare
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Code review ACK fa8fef6 |
|
cc Ryan @ryanofsky |
| /* Used by TransactionAddedToMemorypool/BlockConnected/Disconnected/ScanForWalletTransactions. | ||
| * Should be called with non-zero block_hash and posInBlock if this is for a transaction that is included in a block. */ |
There was a problem hiding this comment.
In commit "doc: Fix CWalletTx::Confirmation doc" (fa8fef6)
Minor: This comment does seem useful to me and I'd probably s/non-zero block_hash and posInBlock/confirmation/ instead of dropping it.
There was a problem hiding this comment.
This is already explained in the Confirmation doc:
/** Confirmation includes tx status and a triplet of {block height/block hash/tx index in block} ...
There was a problem hiding this comment.
If you think this is important to explain, it might be better to put the comment to TxStateConfirmed from #21206?
Follow-up to:
commit 700c42b, which replaced pIndex
with block_hash in AddToWalletIfInvolvingMe.
commit 9700fcb, which replaced
posInBlock with confirm.nIndex.