Skip to content

Instantly share code, notes, and snippets.

View taariq's full-sized avatar
🎯
Focusing on shipping

Taariq Lewis taariq

🎯
Focusing on shipping
View GitHub Profile
@taariq
taariq / gist:97904c9622ab0fcc9337e3f41c120920
Created October 4, 2022 18:08
October 4, 2022 Restart Failure
Oct 04 18:07:13 vultr cosmovisor[521008]: {"level":"info","module":"consensus","appHeight":0,"stateHeight":0,"storeHeight":0,"time":"2022-10-04T18:07:13Z","message":"ABCI Replay Blocks"}
Oct 04 18:07:13 vultr cosmovisor[521008]: panic: expected module account was 10000000ugrain but we got
Oct 04 18:07:13 vultr cosmovisor[521008]: goroutine 1 [running]:
Oct 04 18:07:13 vultr cosmovisor[521008]: github.com/cosmos/cosmos-sdk/x/gov.InitGenesis({{0x267d188, 0xc0001ae000}, {0x268af00, 0xc00118de40}, {{0x0, 0x0}, {0xc0001cc2e8, 0x11}, 0x81f94, {0xac92243, ...}, ...}, ...}, ...)
Oct 04 18:07:13 vultr cosmovisor[521008]: /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.8/x/gov/genesis.go:52 +0x739
Oct 04 18:07:13 vultr cosmovisor[521008]: github.com/cosmos/cosmos-sdk/x/gov.AppModule.InitGenesis({{{0x268cb30, 0xc001101df0}, {0x0, 0x0, 0x0}}, {{0x266a700, 0xc00121fce0}, {0x267e148, 0xc0002227e0}, {0x7fb1b8593ef0, ...}, ...}, ...}, ...)
Oct 04 18:07:13 vultr cosmovisor[521008]: /go/pkg/mod/github.com/cosmos
@taariq
taariq / gist:43084d47338453a2f0588aeb43ea7608
Created October 3, 2022 21:43
Palomad restart with downgrade pigeon and upgraded genesis at blockheight 532371
Oct 03 21:41:18 vultr systemd[1]: Stopped Paloma Blockchain.
Oct 03 21:41:18 vultr systemd[1]: Started Paloma Blockchain.
Oct 03 21:41:18 vultr cosmovisor[435012]: 9:41PM INF running app args=["start"] module=cosmovisor path=/home/ubuntu/.paloma/cosmovisor/upgrades/v0.9.0/bin/palomad
Oct 03 21:41:18 vultr cosmovisor[435024]: {"level":"info","time":"2022-10-03T21:41:18Z","message":"starting node with ABCI Tendermint in-process"}
Oct 03 21:41:18 vultr cosmovisor[435024]: {"level":"info","module":"proxy","impl":"multiAppConn","time":"2022-10-03T21:41:18Z","message":"Starting multiAppConn service"}
Oct 03 21:41:18 vultr cosmovisor[435024]: {"level":"info","module":"proxy","connection":"query","module":"abci-client","impl":"localClient","time":"2022-10-03T21:41:18Z","message":"Starting localClient service"}
Oct 03 21:41:18 vultr cosmovisor[435024]: {"level":"info","module":"proxy","connection":"snapshot","module":"abci-client","impl":"localClient","time":"2022-10-03T21:41:18Z","message":"Starting localClient servi

Keybase proof

I hereby claim:

  • I am taariq on github.
  • I am taariq (https://keybase.io/taariq) on keybase.
  • I have a public key ASBJhkiayICkFWpFYXIL__Zm4Q96FDfP0WiJSRjYsISEFAo

To claim this, I am signing this object:

@taariq
taariq / Discreet_log_adaptor_sigs.md
Last active May 22, 2018 18:59
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
taariq / brew_doctor_cg_miner_error
Last active December 25, 2015 11:09
cgimer fails on autreconf
taariqlewis@Playa-Den-Bossa-770~: brew doctor
Your system is ready to brew.
taariqlewis@Playa-Den-Bossa-770~: brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew.git
HEAD: 793ee9d7714a336da3c37b4b24272101f854a86c
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
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