File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,20 @@ QString TransactionDesc::FormatTxStatus(const interfaces::WalletTxStatus& status
36
36
{
37
37
int depth = status.depth_in_main_chain ;
38
38
if (depth < 0 ) {
39
+ // : This status represents an unconfirmed transaction that conflicts with another
39
40
return tr (" conflicted with a transaction with %1 confirmations" ).arg (-depth);
40
41
} else if (depth == 0 ) {
41
42
const QString abandoned{status.is_abandoned ? QLatin1String (" , " ) + tr (" abandoned" ) : QString ()};
42
- return tr (" 0/unconfirmed, %1" ).arg (inMempool ? tr (" in memory pool" ) : tr (" not in memory pool" )) + abandoned;
43
+ return tr (" 0/unconfirmed, %1" ).arg (
44
+ // : This status represents an unconfirmed transaction that is in the memory pool
45
+ inMempool ? tr (" in memory pool" ) :
46
+ // : This status represents an unconfirmed transaction that is not in the memory pool, possibly abandoned
47
+ tr (" not in memory pool" )) + abandoned;
43
48
} else if (depth < 6 ) {
49
+ // : This status represents a transaction confirmed in at least one block, but less than 6 blocks
44
50
return tr (" %1/unconfirmed" ).arg (depth);
45
51
} else {
52
+ // : This status represents a transaction confirmed in 6 or more blocks
46
53
return tr (" %1 confirmations" ).arg (depth);
47
54
}
48
55
}
You can’t perform that action at this time.
0 commit comments