ptarmigan
About
- Lightning Network BOLT implementation
- In Japanese,
ptarmigan
is called "雷(thunder)鳥(bird)".
Setup
- bitcoind v0.15 (yet v0.16)
- for bitcoin testnet/regtest (
ptarmigan
mainnet not support now)
- for bitcoin testnet/regtest (
- Ubuntu 16.04
- recently changed
Usage
Build
installation
sudo apt install -y git autoconf pkg-config libcurl4-openssl-dev libjansson-dev libev-dev libboost-all-dev build-essential libtool jq bc
git clone https://github.com/nayutaco/ptarmigan.git
cd ptarmigan
make full
update
cd ptarmigan
git pull
(make clean)
make
NOTICE
- Updating
ptarmigan
sometimes changes the version of internal DB data.
In that case, delete previousdbucoin
directory(if you need close, executeucoincli -x
).
update libraries
cd ptarmigan
git pull
make full
deep clean
make distclean
Dependency
libraries
-
git submodule
-
install
application
- bitcoind
- bitcoin-cli
getnewaddress
addwitnessaddress
sendtoaddress
gettxout
- JSON-RPC
getblockcount
getrawtransaction
sendrawtransaction
gettxout
getblock
getnewaddress
dumpprivkey
(for funding)estimatefee
- bitcoin-cli
Implement status
BOLT | status |
---|---|
1 | partial supported |
2 | partial supported |
3 | partial supported |
4 | partial supported |
5 | partial supported |
6 | (removed from BOLT) |
7 | almost implemated |
8 | supported |
9 | - |
10 | yet |
11 | partial supported |
detail (Japanese)