bip158: change swp to flim:sha in +to-range

This commit is contained in:
tinnus-napbus 2021-06-19 03:22:07 +12:00
parent 7ac718a2c7
commit 84ca32aa80

View File

@ -157,7 +157,7 @@
++ to-range ++ to-range
|= [item=byts f=@ k=byts] |= [item=byts f=@ k=byts]
^- @ ^- @
(rsh [0 64] (mul f (swp 3 dat:(siphash k item)))) (rsh [0 64] (mul f +:(flim:sha (siphash k item))))
:: +set-construct: return sorted hashes of scriptpubkeys :: +set-construct: return sorted hashes of scriptpubkeys
:: ::
++ set-construct ++ set-construct