[bisq-network/bisq] Add tx fee rate api methods: gettxfeerate, settxfeerate, unsettxfeerate (#4858)

Stan notifications at github.com
Wed Dec 2 01:17:38 CET 2020


@ghubstan commented on this pull request.



> @@ -185,6 +196,37 @@ void sendBsq(String address,
         }
     }
 
+    TxFeeRateInfo getTxFeeRate() {
+        try {
+            CompletableFuture<Void> feeRequestFuture = CompletableFuture.runAsync(feeService::requestFees);
+            feeRequestFuture.get();  // Block until async fee request is complete.

Commit 987d89319e8a824033879846ac43003ea219cfd0 is a solution to the blocking problem.  I don't pass an error handler to keep it simple, and not do that before I understand how it would help here.

-- 
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/4858#discussion_r533809301
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201201/b0d08a7c/attachment-0001.htm>


More information about the bisq-github mailing list