[Qt] Support for abandoned/abandoning transactions

This commit is contained in:
Jonas Schnelli
2016-03-17 17:54:54 +01:00
parent b35a591793
commit 8efed3bc93
12 changed files with 70 additions and 4 deletions

View File

@@ -239,6 +239,8 @@ void TransactionRecord::updateStatus(const CWalletTx &wtx)
else if (status.depth == 0)
{
status.status = TransactionStatus::Unconfirmed;
if (wtx.isAbandoned())
status.status = TransactionStatus::Abandoned;
}
else if (status.depth < RecommendedNumConfirmations)
{