Skip to content

Commit f348ef7

Browse files
committed
Add extended rpc support to lnd
1 parent 7dc6943 commit f348ef7

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 2019-12-02
4+
- Add extended rpc support to `lnd`, including hold invoice.
5+
36
## 2019-11-16 (breaking changes)
47
- Fast deployment! Reorganised files & upload precompiled images to Docker hub.
58
- Update `bitcoin`, `elements` and `clightning` images to `alpine` linux reducing container size by 50-75%. (h/t to @ruipmarinho for https://github.com/ruimarinho/docker-bitcoin-core/tree/master/0.18/alpine)

bin/stack

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,15 @@ function passthru_command() {
125125
docker-compose exec -T --user bitcoin $NODE bitcoin-cli \
126126
-rpcuser=$BITCOIN_RPC_USER \
127127
-rpcpassword=$BITCOIN_RPC_PASSWORD \
128+
-rpcconnect=$BITCOIN_HOST \
128129
-rpcport=$BITCOIN_RPC_PORT \
129130
$ARGS
130131
;;
131132
elements)
132133
docker-compose exec -T --user elements $NODE elements-cli \
133134
-rpcuser=$ELEMENTS_RPC_USER \
134135
-rpcpassword=$ELEMENTS_RPC_PASSWORD \
136+
-rpcconnect=$ELEMENTS_HOST \
135137
-rpcport=$ELEMENTS_RPC_PORT \
136138
$ARGS
137139
;;

docker-compose.bitcoin.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ services:
88
bitcoin:
99
container_name: ${COMPOSE_PROJECT_NAME}_bitcoin
1010
image: bitcoinstack/bitcoin:0.18.1-alpine
11+
restart: unless-stopped
1112
command: [
1213
"-regtest=1",
1314
"-upnp=0",

lnd/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ ENV GODEBUG netdns=cgo
99
RUN apk add --no-cache --update alpine-sdk git make \
1010
&& git clone -n https://github.com/lightningnetwork/lnd . \
1111
&& git checkout v0.8.1-beta \
12-
&& make && make install
12+
&& make \
13+
&& make install tags="autopilotrpc chainrpc invoicesrpc routerrpc signrpc walletrpc watchtowerrpc wtclientrpc"
1314

1415
# Start a new, final image to reduce size.
1516
FROM alpine as final

0 commit comments

Comments
 (0)