/ptarmigan

Lightning Network (BOLT)

Primary LanguageCApache License 2.0Apache-2.0

ptarmigan

Build Status License PRs Welcome Coverity Scan Build Status

About

Setup

  • bitcoind v0.17
    • for bitcoin testnet/regtest (ptarmigan mainnet not support now)
    • nested in BIP16 P2SH
  • Ubuntu 18.04

Usage

Build

installation

  • use bitcoind
sudo apt install -y git autoconf pkg-config build-essential libtool wget jq bc

git clone https://github.com/nayutaco/ptarmigan.git
cd ptarmigan
make full
(takes a lot of time...)

update

cd ptarmigan
git pull
(make clean)
make

after change DB version

  • Updating ptarmigan sometimes changes the version of internal DB data.
    In that case, delete previous dbptarm directory(if you need close, execute ptarmcli -x).

update libraries

cd ptarmigan
git pull
make full

deep clean

make distclean

Dependency

libraries

application

  • bitcoind
    • bitcoin-cli
      • getnewaddress
      • sendtoaddress
      • gettxout
    • JSON-RPC
      • getblockcount
      • getrawtransaction
      • signrawtransaction
      • sendrawtransaction
      • gettxout
      • getblock
      • getnewaddress
      • estimatesmartfee

Security

If you find any issues regarding security, please disclose the information by sending an (possibly encrypted) email to security at nayuta dot co. Our PGP key 3C95B178758342844787766AAF91183E1DCC4222.