From 06bd4a23826cb4baaca6c5c80a19c075875c80b4 Mon Sep 17 00:00:00 2001 From: Stephen Friedman <5396652+stephenfriedman@users.noreply.github.com> Date: Wed, 26 Oct 2022 12:02:08 -0400 Subject: [PATCH 1/2] rpc middlware support, port mapping --- docker-compose.yml | 2 +- resources/lnd-150.conf | 5 +++++ resources/lnd-151.conf | 5 +++++ resources/lnd-152.conf | 5 +++++ resources/lnd-153.conf | 5 +++++ resources/lnd.conf | 5 +++++ resources/lnd2.conf | 5 +++++ 7 files changed, 31 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 74810b6..c7fe1a8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -93,7 +93,7 @@ services: stop_grace_period: 5m30s ports: - "9735" # p2p - - "10009" # grpc + - "4000:10009" # grpc lnd-15-3: container_name: lnd-15-3 diff --git a/resources/lnd-150.conf b/resources/lnd-150.conf index 3ceb9c3..c846c6f 100644 --- a/resources/lnd-150.conf +++ b/resources/lnd-150.conf @@ -43,3 +43,8 @@ bitcoind.rpcpass=123 ; likely won't need to be set (other than for a remote bitcoind instance). bitcoind.zmqpubrawblock=tcp://bitcoin:28332 bitcoind.zmqpubrawtx=tcp://bitcoin:28333 + +[rpcmiddleware] + +; Enable the RPC middleware interceptor functionality. +rpcmiddleware.enable=true \ No newline at end of file diff --git a/resources/lnd-151.conf b/resources/lnd-151.conf index 94fb835..95ae7f7 100644 --- a/resources/lnd-151.conf +++ b/resources/lnd-151.conf @@ -43,3 +43,8 @@ bitcoind.rpcpass=123 ; likely won't need to be set (other than for a remote bitcoind instance). bitcoind.zmqpubrawblock=tcp://bitcoin:28332 bitcoind.zmqpubrawtx=tcp://bitcoin:28333 + +[rpcmiddleware] + +; Enable the RPC middleware interceptor functionality. +rpcmiddleware.enable=true \ No newline at end of file diff --git a/resources/lnd-152.conf b/resources/lnd-152.conf index 488d60e..2234dc6 100644 --- a/resources/lnd-152.conf +++ b/resources/lnd-152.conf @@ -43,3 +43,8 @@ bitcoind.rpcpass=123 ; likely won't need to be set (other than for a remote bitcoind instance). bitcoind.zmqpubrawblock=tcp://bitcoin:28332 bitcoind.zmqpubrawtx=tcp://bitcoin:28333 + +[rpcmiddleware] + +; Enable the RPC middleware interceptor functionality. +rpcmiddleware.enable=true \ No newline at end of file diff --git a/resources/lnd-153.conf b/resources/lnd-153.conf index 732d50c..470f31b 100644 --- a/resources/lnd-153.conf +++ b/resources/lnd-153.conf @@ -43,3 +43,8 @@ bitcoind.rpcpass=123 ; likely won't need to be set (other than for a remote bitcoind instance). bitcoind.zmqpubrawblock=tcp://bitcoin:28332 bitcoind.zmqpubrawtx=tcp://bitcoin:28333 + +[rpcmiddleware] + +; Enable the RPC middleware interceptor functionality. +rpcmiddleware.enable=true \ No newline at end of file diff --git a/resources/lnd.conf b/resources/lnd.conf index 2a1c424..9e49cbc 100644 --- a/resources/lnd.conf +++ b/resources/lnd.conf @@ -43,3 +43,8 @@ bitcoind.rpcpass=123 ; likely won't need to be set (other than for a remote bitcoind instance). bitcoind.zmqpubrawblock=tcp://bitcoin:28332 bitcoind.zmqpubrawtx=tcp://bitcoin:28333 + +[rpcmiddleware] + +; Enable the RPC middleware interceptor functionality. +rpcmiddleware.enable=true \ No newline at end of file diff --git a/resources/lnd2.conf b/resources/lnd2.conf index c9302f2..836382d 100644 --- a/resources/lnd2.conf +++ b/resources/lnd2.conf @@ -43,3 +43,8 @@ bitcoind.rpcpass=123 ; likely won't need to be set (other than for a remote bitcoind instance). bitcoind.zmqpubrawblock=tcp://bitcoin:28332 bitcoind.zmqpubrawtx=tcp://bitcoin:28333 + +[rpcmiddleware] + +; Enable the RPC middleware interceptor functionality. +rpcmiddleware.enable=true \ No newline at end of file From fa346fc65665d1b6b775b29b2a1326440d9e9b5b Mon Sep 17 00:00:00 2001 From: Stephen Friedman <5396652+stephenfriedman@users.noreply.github.com> Date: Wed, 26 Oct 2022 12:03:29 -0400 Subject: [PATCH 2/2] remove port mapping --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c7fe1a8..74810b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -93,7 +93,7 @@ services: stop_grace_period: 5m30s ports: - "9735" # p2p - - "4000:10009" # grpc + - "10009" # grpc lnd-15-3: container_name: lnd-15-3