Skip to content

Instantly share code, notes, and snippets.


Taariq Lewis taariq

View GitHub Profile

Keybase proof

I hereby claim:

  • I am taariq on github.
  • I am taariq ( on keybase.
  • I have a public key ASBJhkiayICkFWpFYXIL__Zm4Q96FDfP0WiJSRjYsISEFAo

To claim this, I am signing this object:

taariq /
Last active May 22, 2018
Mimblewimble Discreet Log Contracts with Adaptor Signatures by Ruben Somsen

Hi all,

Tadge Dryja's Discreet Log Contracts (DLC) can be combined with Andrew Poelstra's Adaptor Signatures (AS). I'm simply describing the combination of the two existing concepts without any fundamental changes, but I thought it was worth writing out explicitly since I haven't seen any write-up. Hopefully it doesn't contain any errors.

Starting from Schnorr signature [R, s].

In DLC, the oracle will reveal one of multiple possible s values as part of signing the outcome of an event. This s is essentially a private key for which the public key S can be calculated ahead of time (because R is committed to in advance).

In AS, instead of just R (essentially a public key), you add a second public key P of which the payer wishes to obtain the private key p from the payee. Only by revealing p can the payee make the signature valid, and thus receive the payment.

taariq / brew_doctor_cg_miner_error
Last active Dec 25, 2015
cgimer fails on autreconf
View brew_doctor_cg_miner_error
taariqlewis@Playa-Den-Bossa-770~: brew doctor
Your system is ready to brew.
taariqlewis@Playa-Den-Bossa-770~: brew --config
HEAD: 793ee9d7714a336da3c37b4b24272101f854a86c
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
View LogisticPerformance
Orb Python
Optimization terminated successfully.
Current function value: 4191.796170
Iterations 14
INFO:q2Logger: Logit Regression Results
Dep. Variable: offer No. Observations: 380583
Model: Logit Df Residuals: 380567
Method: MLE Df Model: 15
Date: Tue, 27 Aug 2013 Pseudo R-squ.: 0.1061