Lightning Network (BOLT)
Clone or download
nayuta-ueno Merge pull request #783 from nayuta-gondo/pr/20180921-getnewaddress
ptarmd: change `btcrpc_getnewaddress`'s output format
Latest commit 2344c38 Sep 21, 2018

README.md

ptarmigan

License PRs Welcome Build Status Coverity Scan Build Status

About

Setup

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

Usage

Build

installation

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