What is Nostr?
Jeremy Rubin [ARCHIVE] /
npub1xukโ€ฆzef0
2023-06-07 23:06:29

Jeremy Rubin [ARCHIVE] on Nostr: ๐Ÿ“… Original date posted:2022-03-15 ๐Ÿ“ Original message:I've created a prototype ...

๐Ÿ“… Original date posted:2022-03-15
๐Ÿ“ Original message:I've created a prototype of this protocol in Sapio for your perusal:

https://github.com/sapio-lang/sapio/blob/master/sapio-contrib/src/contracts/derivatives/dlc.rs

Feel free to tweak the test and use it as a benchmark, i tested 1 oracle
with 100,000 different payouts and saw it take around 13s on a release
build.

I'll be playing around with this a bit (I doubt Sapio Studio can handle a
gui for 100,000 nodes), but I figured it was worth a share.

Cheers,

Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220315/cabe84ce/attachment.html>;
Author Public Key
npub1xukrzempxc95ags094lgrfvnvwm7gkuwj3d98qwrzgsynskyhp9qkfzef0