Skip to content

Instantly share code, notes, and snippets.

@nicolasochem
nicolasochem / dictator_values.yaml
Last active July 19, 2022 21:02
Dictator key test
accounts:
archive-baking-node-0:
bootstrap_balance: '4000000000000'
is_bootstrap_baker_account: true
key: edsk4X99zYzn5TLCbARNqggTxaCpJTma6k5j9VTXddwCktytV2q24R
type: secret
archive-baking-node-1:
bootstrap_balance: '4000000000000'
is_bootstrap_baker_account: true
key: edsk34DuVDY1wgvYGTLJpUZj4xDrJPiMzMXc7YoKkNXRYETtDHgocm
@nicolasochem
nicolasochem / windmill.md
Last active September 15, 2021 23:27
Windmill.tools

The Tezos Windmill

                  ,             ,
                 / '.         .' \
                /    '.     .'    \
                 '-._  '. .'  _.-'
                     '-. ; .-'
                    _.-;(_);-._
 _.-' .'_'. '-._
@nicolasochem
nicolasochem / bakers.yaml
Created February 11, 2021 03:15
List of bakers that have been contacted wrt edo upgrade
tz1gg5bjopPcr9agjamyu9BbXKLibNc2rbAq: |
is aware of the issue and will upgrade to v8.2
@nicolasochem
nicolasochem / gist:57372721212680f381c5fbf7ef4723b1
Created June 7, 2020 11:24
polkadot sentry when private disconects with obsolete timeout
2020-06-07 11:11:48.858 tokio-runtime-worker TRACE sync Announcing block 0xf1120071f36fae8eb46d9d0f216069be7255f3bacb3c06ae6262f7e4e58db3bf to 12D3KooWNMUcqwSj38oEq1zHeGnWKmMvrCFnpMftw7JzjAtRj2rU
2020-06-07 11:11:48.858 tokio-runtime-worker TRACE sync Announcing block 0xf1120071f36fae8eb46d9d0f216069be7255f3bacb3c06ae6262f7e4e58db3bf to 12D3KooWHzbpzUoL3ramcV1Xa6kPycH6wCqeDurR9oeg4bUMA4fW
2020-06-07 11:11:48.858 tokio-runtime-worker TRACE sync Announcing block 0xf1120071f36fae8eb46d9d0f216069be7255f3bacb3c06ae6262f7e4e58db3bf to 12D3KooWDs6LnpmWDWgZyGtcLVr3E75CoBxzg1YZUPL5Bb1zz6fM
2020-06-07 11:11:48.858 tokio-runtime-worker TRACE sync Announcing block 0xf1120071f36fae8eb46d9d0f216069be7255f3bacb3c06ae6262f7e4e58db3bf to 12D3KooWScX6rVAwfqG37KZGY9vgvFAHAPHVdgVEnpngwzQpUYk7
2020-06-07 11:11:48.859 tokio-runtime-worker TRACE sync Announcing block 0xf1120071f36fae8eb46d9d0f216069be7255f3bacb3c06ae6262f7e4e58db3bf to 12D3KooWCZz41Zzgp8tZqLwwQtypnXnzcfrrEMpdeFhKcsBHYSUV
2020-06-07 11:11:48.862 tokio-runtime-w
@nicolasochem
nicolasochem / private-node
Created June 7, 2020 05:26
polkadot-obsolete-timeout-trace
2020-06-07 05:09:55.59 tokio-runtime-worker INFO polkadot_validation::validation_service Starting parachain attestation session on top of parent 0x48e4c247ff65fea63d48db6eb38805ba6782fb58f190af8209d69b550b21b88e. Local parachain duty is None
2020-06-07 05:09:55.59 tokio-runtime-worker INFO substrate ✨ Imported #166527 (0x48e4…b88e)
2020-06-07 05:09:55.59 tokio-runtime-worker TRACE sync Received block response from peer 12D3KooWMQhbWkv5Pk1ctbF1su322SWVQxNPaegB16yqohuBjyTD with 2 blocks
2020-06-07 05:09:55.60 tokio-runtime-worker TRACE sync BlockResponse 6 from 12D3KooWMQhbWkv5Pk1ctbF1su322SWVQxNPaegB16yqohuBjyTD with 2 blocks (166526..166527)
2020-06-07 05:09:55.60 tokio-runtime-worker TRACE sync Drained 2 blocks
2020-06-07 05:09:55.60 tokio-runtime-worker TRACE sync Accepted 2 blocks (0x48e4c247ff65fea63d48db6eb38805ba6782fb58f190af8209d69b550b21b88e) with origin NetworkBroadcast
2020-06-07 05:09:55.60 tokio-runtime-worker TRACE sync Scheduling 2 blocks for import
2020-06-07 05:09:55.61 tokio-runtime-
@nicolasochem
nicolasochem / polkadot-private-node-0.logs
Created June 7, 2020 03:21
polkadot 0.8.3 unknownParent error
2020-06-07 03:16:07.755 tokio-runtime-worker TRACE sync Downloading requested fork 0xdca041b37c3f97a5466e94ca89d0c49e253fc7572e8cf55f96bd1fdbb8356229 from 12D3KooWMQhbWkv5Pk1ctbF1su322SWVQxNPaegB16yqohuBjyTD, 1 blocks
2020-06-07 03:16:07.755 tokio-runtime-worker TRACE sync Downloading fork 0xdca041b37c3f97a5466e94ca89d0c49e253fc7572e8cf55f96bd1fdbb8356229 from 12D3KooWMQhbWkv5Pk1ctbF1su322SWVQxNPaegB16yqohuBjyTD
2020-06-07 03:16:07.756 tokio-runtime-worker TRACE sync Enqueueing block request to PeerId("12D3KooWMQhbWkv5Pk1ctbF1su322SWVQxNPaegB16yqohuBjyTD"): BlockRequest { fields: 318767104, to_block: [], direction: Descending, max_blocks: 1, from_block: Some(Hash([220, 160, 65, 179, 124, 63, 151, 165, 70, 110, 148, 202, 137, 208, 196, 158, 37, 63, 199, 87, 46, 140, 245, 95, 150, 189, 31, 219, 184, 53, 98, 41])) }
2020-06-07 03:16:07.846 tokio-runtime-worker DEBUG sync Received block announcement 0xdca041b37c3f97a5466e94ca89d0c49e253fc7572e8cf55f96bd1fdbb8356229 with number 165389 from 12D3KooWCfy79XHd1TUj
@nicolasochem
nicolasochem / lightning.md
Last active March 29, 2018 05:52
lightning mainnet experiment
  1. setup a bitcoind container following the guide on https://medium.com/@dougvk/run-your-own-mainnet-lightning-node-2d2eab628a8b Also setup bitcoin-cli. sync the chain

  2. clone https://github.com/lightningnetwork/lnd, cd to the folder

  3. do docker-compose run -d --name alice lnd_btc. It will create a lnd container and a btcd container. docker rm them (instead, it would be possible to just create the lnd container and not start it)

  4. go to /scratch, edit the bitcoind configuration following instructions on that other guide: https://gist.github.com/itoonx/618ab3cba41252ccadcbf9ec54ecb71c

Keybase proof

I hereby claim:

  • I am nicolasochem on github.
  • I am nicolasochem (https://keybase.io/nicolasochem) on keybase.
  • I have a public key whose fingerprint is 3413 FAE8 B970 D218 F976 76D5 0957 1413 93AB BBAD

To claim this, I am signing this object:

@nicolasochem
nicolasochem / gist:43106d16aed8bdbf804013f538273e34
Created May 5, 2016 16:27
all git aliases I will ever need
git config --global alias.logg "log --graph --oneline --decorate"
git config --global alias.branchh "for-each-ref --sort='-authordate:iso8601' --format=' %(authordate:relative)%09%(refname:short)' refs/heads"