/ptarmigan

Lightning Network (BOLT)

Primary LanguageC++Apache License 2.0Apache-2.0

ptarmigan

License Coverity Scan Build Status

About

Setup

  • bitcoind v0.15 (yet v0.16)
    • for bitcoin testnet/regtest (ptarmigan mainnet not support now)
  • 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 previous dbucoin directory(if you need close, execute ucoincli -x).

update libraries

cd ptarmigan
git pull
make full

deep clean

make distclean

Dependency

libraries

application

  • bitcoind
    • bitcoin-cli
      • getnewaddress
      • addwitnessaddress
      • sendtoaddress
      • gettxout
    • JSON-RPC
      • getblockcount
      • getrawtransaction
      • sendrawtransaction
      • gettxout
      • getblock
      • getnewaddress
      • dumpprivkey (for funding)
      • estimatefee

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)