Skip to content

Commit

Permalink
Show "verified via LLMQ based InstantSend" in GUI TX status
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Mar 7, 2019
1 parent 34a8b29 commit 3a6cc2c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/qt/transactiondesc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

#include "instantx.h"

#include "llmq/quorums_instantsend.h"

#include <stdint.h>
#include <string>

Expand Down Expand Up @@ -52,6 +54,11 @@ QString TransactionDesc::FormatTxStatus(const CWalletTx& wtx)
strTxStatus = tr("%1 confirmations").arg(nDepth);
}

if (llmq::quorumInstantSendManager->IsLocked(wtx.GetHash())) {
strTxStatus += tr(" (verified via LLMQ based InstantSend)");
return strTxStatus;
}

if(!instantsend.HasTxLockRequest(wtx.GetHash())) return strTxStatus; // regular tx

int nSignatures = instantsend.GetTransactionLockSignatures(wtx.GetHash());
Expand Down

0 comments on commit 3a6cc2c

Please sign in to comment.