LND
Use non default data directory and lnd.conf position
$ lnd --lnddir path/to/direcotory --configfile path/to/configfile
autopilot
どんな機能なのかわかっていない
特にドキュメントはない
Initialization
code:shell
lnd
lncli create
lncli getinfo
sync するまで待つ
Backup and recovery
Tools???
Seed
wallet 作った時に表示されるのでバックアップをとっておく
SCB
Download SCB file to local
code:shell
scp <user>@<host>:~/.lnd/data/chain/bitcoin/mainnet/channel.backup ./lnd-backup/
Monitor channels
Faraday が公式ツールではある
localhost 以外の接続は tls など面倒
ポートフォワード
ssh -L 10009:127.0.0.1:10009 <hostname>
macaroon
Important: By default, lnd will create the macaroon files during the unlock phase, .......
macaroon を再作成するには、すべての macaroon を削除する。wallet-unlock-password-file での unlock でも生成される。v0.15.5-beta。
docker
NAT, IP address
To open port 9735 is not required, but recommended to accept incoming connections and inbound channels.
Backend Bitcoin server
prune node support
サポートはしている
You may prune your Bitcoin node, though doing so aggressively may impact performance.
LND の seed である aezeed を生成できるページ let's encrypt や外部証明書を使った場合の lncli の使い方はちょっと特殊なので注意