sudo apt install inotify-tools
venv | |
*.swo | |
*.swp | |
__pycache__ |
# NOTE: At 17 revision after ~2 weeks I think it's fair to say that this | |
# gist has grown into its own little project. | |
# | |
# Given this, I've moved the project across to its own proper repo now | |
# to facilitate better tracking & development. All further development | |
# can now be found at: https://github.com/vindard/lnd-backup | |
# | |
#--------------------------------------------------------------------------- | |
#!/bin/bash |
Order from Lightning in a Box https://lightninginabox.co/product/btcpi/ | |
or | |
Visit BTCPi.com for DIY instructions. | |
#Install Dot-Net for ARM | |
cd /home/admin | |
sudo apt-get -y install libunwind8 gettext | |
wget https://download.visualstudio.microsoft.com/download/pr/9650e3a6-0399-4330-a363-1add761127f9/14d80726c16d0e3d36db2ee5c11928e4/dotnet-sdk-2.2.102-linux-arm.tar.gz | |
wget https://download.visualstudio.microsoft.com/download/pr/9d049226-1f28-4d3d-a4ff-314e56b223c5/f67ab05a3d70b2bff46ff25e2b3acd2a/aspnetcore-runtime-2.2.1-linux-arm.tar.gz | |
sudo mkdir /opt/dotnet | |
sudo tar -xvf dotnet-sdk-2.2.102-linux-arm.tar.gz -C /opt/dotnet/ | |
sudo tar -xvf aspnetcore-runtime-2.2.1-linux-arm.tar.gz -C /opt/dotnet/ | |
sudo ln -s /opt/dotnet/dotnet /usr/local/bin | |
dotnet --info |
(This is still a work-in-progress)
As of 2019-04-02 the following PR is has been merged into master which implements channel backups
See also https://twitter.com/alexbosworth/status/1112857863393763329
SCB has been merged into the lnd master branch:
lightningnetwork/lnd#2313 …
It allows for a small backup file to be made to recover a
data-lost channel's funds with peer cooperation. The file
This approach is fairly manual, requires the command line, and requires a patched version of Bitcoin Core.
Note: For this guide, code lines prefixed with $
means that the command is typed in the terminal. Lines without $
are output of the commands.
I am not liable for any coins that may be lost through this method. The software mentioned may have bugs. Use at your own risk.
wallet.change_gap_limit(10) | |
wallet.storage.write() | |
wallet.gap_limit |
#jsonrpc.py from https://github.com/JoinMarket-Org/joinmarket/blob/master/joinmarket/jsonrpc.py | |
#copyright # Copyright (C) 2013,2015 by Daniel Kraft <d@domob.eu> and phelix / blockchained.com | |
import base64 | |
import httplib | |
import json | |
class JsonRpcError(Exception): | |
def __init__(self, obj): | |
self.message = obj |