|
@ -22,7 +22,6 @@ You will need several development libraries: |
|
|
|
|
|
|
|
|
For actually doing development and running the tests, you will also need: |
|
|
For actually doing development and running the tests, you will also need: |
|
|
* pip3: to install python-bitcoinlib |
|
|
* pip3: to install python-bitcoinlib |
|
|
* asciidoc: for formatting the man pages (if you change them) |
|
|
|
|
|
* valgrind: for extra debugging checks |
|
|
* valgrind: for extra debugging checks |
|
|
|
|
|
|
|
|
You will also need a version of bitcoind with segregated witness and `estimatesmartfee` economical node, such as the 0.16 or above. |
|
|
You will also need a version of bitcoind with segregated witness and `estimatesmartfee` economical node, such as the 0.16 or above. |
|
@ -50,8 +49,8 @@ as well: |
|
|
|
|
|
|
|
|
For development or running tests, get additional dependencies: |
|
|
For development or running tests, get additional dependencies: |
|
|
|
|
|
|
|
|
sudo apt-get install -y asciidoc valgrind python3-pip |
|
|
sudo apt-get install -y valgrind python3-pip |
|
|
sudo pip3 install -r tests/requirements.txt |
|
|
sudo pip3 install -r tests/requirements.txt -r doc/requirements.txt |
|
|
|
|
|
|
|
|
Clone lightning: |
|
|
Clone lightning: |
|
|
|
|
|
|
|
@ -83,7 +82,6 @@ $ sudo dnf update -y && \ |
|
|
'C Development Tools and Libraries' \ |
|
|
'C Development Tools and Libraries' \ |
|
|
'Development Tools' && \ |
|
|
'Development Tools' && \ |
|
|
sudo dnf install -y \ |
|
|
sudo dnf install -y \ |
|
|
asciidoc \ |
|
|
|
|
|
clang \ |
|
|
clang \ |
|
|
git \ |
|
|
git \ |
|
|
gmp-devel \ |
|
|
gmp-devel \ |
|
@ -136,7 +134,7 @@ OS version: FreeBSD 11.1-RELEASE or above |
|
|
Get dependencies: |
|
|
Get dependencies: |
|
|
|
|
|
|
|
|
# pkg install -y \ |
|
|
# pkg install -y \ |
|
|
autoconf automake git gmp asciidoc gmake libtool python python3 sqlite3 libsodium py36-mako bash |
|
|
autoconf automake git gmp gmake libtool python python3 sqlite3 libsodium py36-mako bash |
|
|
|
|
|
|
|
|
If you don't have Bitcoin installed locally you'll need to install that |
|
|
If you don't have Bitcoin installed locally you'll need to install that |
|
|
as well: |
|
|
as well: |
|
@ -172,7 +170,7 @@ Use nix-shell launch a shell with a full clightning dev environment: |
|
|
``` |
|
|
``` |
|
|
$ nix-shell -Q -p gdb sqlite autoconf git clang libtool gmp sqlite autoconf \ |
|
|
$ nix-shell -Q -p gdb sqlite autoconf git clang libtool gmp sqlite autoconf \ |
|
|
autogen automake libsodium 'python3.withPackages (p: [p.bitcoinlib])' \ |
|
|
autogen automake libsodium 'python3.withPackages (p: [p.bitcoinlib])' \ |
|
|
valgrind asciidoc --run make |
|
|
valgrind --run make |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
To Build on macOS |
|
|
To Build on macOS |
|
|