[bisq-network/bisq] Provide ASIC resistant PoW scheme for BSQ swaps (PR #5858)

Steven Barclay notifications at github.com
Tue Dec 7 04:15:43 CET 2021


@stejbac commented on this pull request.



> @@ -769,7 +769,7 @@ message Filter {
     bool disable_api = 27;
     bool disable_mempool_validation = 28;
     bool disable_pow_message = 29;
-    int32 pow_difficulty = 30;
+    double pow_difficulty = 30;

I was attempting to base it loosely on the Bitcoin difficulty, which is floating point. E.g. in the RPC source code of Bitcoin Core, https://github.com/bitcoin/bitcoin/blob/master/src/rpc/blockchain.cpp, they internally use a double to represent difficulty.

-- 
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/5858#discussion_r763596570
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211206/65c81912/attachment.htm>


More information about the bisq-github mailing list