diff --git a/buildlightning.sh b/buildlightning.sh index b40d389..bffda3e 100644 --- a/buildlightning.sh +++ b/buildlightning.sh @@ -7,7 +7,7 @@ REPOPATH=$PWD # download lightning git clone https://github.com/ElementsProject/lightning.git lightning cd lightning -git checkout v0.9.3 +git checkout v0.10.0 # set virtualenv for lightning python3 -m virtualenv venv @@ -33,7 +33,7 @@ patch -p1 < ${REPOPATH}/lightning-endian.patch # add esplora plugin git clone https://github.com/lvaccaro/esplora_clnd_plugin.git -cd esplora_clnd_plugin && git checkout v0.9.3 && cd .. +cd esplora_clnd_plugin && git checkout master && cd .. cp esplora_clnd_plugin/esplora.c plugins/ sed -i 's/LDLIBS = /LDLIBS = -lcurl -lssl -lcrypto /g' Makefile patch -p1 < esplora_clnd_plugin/Makefile.patch @@ -44,4 +44,4 @@ make clean -C ccan/ccan/cdump/tools make LDFLAGS="" CC="${CONFIGURATOR_CC}" LDLIBS="-L/usr/local/lib" -C ccan/ccan/cdump/tools make PIE=1 DEVELOPER=0 deactivate -cd .. \ No newline at end of file +cd ..