ptarmd
can't start if database file version not match.- Ptarmigan sometime changes database structure and update file version.
- GitHub DB version: LN_DB_VERSION in ln/ln_version.h
ptarmd
DB version:ptarmd --version
- current DB file version:
showdb --version
- There are two ways:
- A: pay all BTC to
bitcoind
and create new database file.- Close all channels and return BTC using
ptarmcli --paytowallet
.
- Close all channels and return BTC using
- B: Use previous version
ptarmd
if you use same database file.
- A: pay all BTC to
- Ptarmigan sometime changes database structure and update file version.
sudo apt install -y git autoconf pkg-config build-essential libtool python3 wget jq bc
git clone https://github.com/nayutaco/ptarmigan.git
cd ptarmigan
make full
(takes a lot of time...)
cd ptarmigan
git pull
make
Please be careful about update
cd ptarmigan
git pull
./update_libs.sh
make full
cd ptarmigan
make clean
cd ptarmigan
make distclean