Skip to content

Instantly share code, notes, and snippets.

View nymkappa's full-sized avatar

nymkappa nymkappa

  • No Shitcoin Co.
  • mempool
View GitHub Profile
@nymkappa
nymkappa / generate_topologies.sh
Created July 24, 2022 15:23
Generate LN history
START=$1
END=$2
END_TIMESTAMP=$(gdate -u +%s -d "$END")
echo "Generating LN topologies between" "$START" to "$END"
DAYS=0
CURRENT_TIMESTAMP=0
while [ "$CURRENT_TIMESTAMP" -lt "$END_TIMESTAMP" ]
do
@nymkappa
nymkappa / regtest.md
Last active June 6, 2022 08:52
Bitcoin regtest gist for command line
  • Run bitcoind for regtest

bitcoind -regtest -rpcport=8332

  • If it's the first time, create a new wallet

bitcoin-cli -regtest -rpcport=8332 createwallet test

  • If it's not the first time, load the wallet. This command may take a while if you have lot of utxos

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: