Skip to content

Instantly share code, notes, and snippets.

View ziggie1984's full-sized avatar

ziggieXXX ziggie1984

View GitHub Profile
@ziggie1984
ziggie1984 / itest-debugging.md
Last active April 19, 2024 12:22
Debug Itests with Delve and VS-Code

This short gist should give LND developers who are using VS-Code and Delve the ability to easily debug itests:

  1. Setup your launch.json with the following content:
    "name": "itest",
      "type": "go",
      "request": "launch",
      "mode": "test",
 "program": "./itest",
@ziggie1984
ziggie1984 / ignition.sh
Created October 4, 2021 15:10
ROF Ingition
#!/bin/bash
# before running this script, the array below must be populated with
# all nodes pub keys that will be part of the route
declare pub_keys=(
020a129f5caf38dc7c52b754a735a7c3c731e031ed5e8e775cf80cebd4e09d85b6
0245a3e3f288924613bcb59ad677efa07474f531022cdd186425b103950c365368
034229fafbc87987ce90ac4168951646a0622ec67c673a9730c5680f04cd1d150e
02b7e92b197ebbd2f633bbf4d7147c70450d2c66f792b6bcbbab3ce12d0df2e817
@ziggie1984
ziggie1984 / charge.config
Created October 2, 2021 12:12
Charge-Lnd config file
#Created by Ziggie, charge.config.example used as template
[default]
# 'default' is special, it is used if no other policy matches a channel
strategy = static
#zerobasefee for Pickhardt Payments
base_fee_msat = 0
fee_ppm = 50
[mydefaults]
@ziggie1984
ziggie1984 / new_bitcoin.update.sh
Last active October 5, 2021 16:00
Update Bitcoin-Core 22.0
#!/bin/bash
#CHANGED
#All Lines which changes compared with the original script precede with a CHANGED Tag
#HOW TO DEPLOY the script
#2 possibilities
#Copy content of this script into a new file
#on raspiblit: cd ~/config.scripts && touch update_bitcoincore_v22.sh
# chmod +x update_bitcoincore_v22.sh
# ~/config.scripts/update_bitcoincore_v22.sh reckless