[bisq-network/bisq] Verify maker & taker fee transactions via Mempool lookup (#5160)

Christoph Atteneder notifications at github.com
Wed Mar 17 15:56:42 CET 2021


@ripcurlx commented on this pull request.



> @@ -241,6 +254,15 @@ void initWithData(Offer offer) {
             }
         });
 
+        mempoolStatus.setValue(-1);
+        mempoolService.validateOfferMakerTx(offer.getOfferPayload(), (txValidator -> {
+            mempoolStatus.setValue(txValidator.isFail() ? 0 : 1);
+            if (txValidator.isFail()) {
+                mempoolStatusText = txValidator.toString();
+                log.warn("Mempool check of OfferFeePaymentTxId returned errors: [{}]", mempoolStatusText);

Recognized it as I'm always checking for warning in the log :wink:

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5160#discussion_r596096173
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210317/9664e127/attachment.htm>


More information about the bisq-github mailing list