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

Steven Barclay notifications at github.com
Sat Nov 27 10:37:36 CET 2021


@chimp1984 I've just pushed those two patches now (as a single commit).

Yes, the list of enabled version numbers is in order of preference, so that the first is preferred when creating PoWs and they are both allowed when verifying PoWs. Adding Equihash to the list (in any order) won't cause Hashcash PoWs to be recreated, unless Hashcash is also removed from the list.

Generation times for Hashcash & Equihash are intended to be roughly the same for any given difficulty (at least when it's a power-of-two), with a difficulty of _2 pow n_ meaning the difficulty of finding > _n_ leading zeros for Hashcash (or equivalently finding a hash with exactly _n_ leading zeros), so _2 * (2 pow n)_ Hashcash iterations on average, i.e. 524288 average iterations for a difficulty of 2 pow 18 = 262144.

I can attempt to update the BSQ Swaps wiki, as information there about the difficulty would be out of date with this PR.

-- 
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#issuecomment-980531734
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211127/9c2319ee/attachment.htm>


More information about the bisq-github mailing list