Skip to content

Commit 7831413

Browse files
committed
enable grpc plugin to respond to remote nodes
1 parent 4c409fd commit 7831413

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

resources/charts/bitcoincore/charts/cln/templates/configmap.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ data:
1010
{{- .Values.defaultConfig | nindent 4 }}
1111
{{- .Values.config | nindent 4 }}
1212
network={{ .Values.global.chain }}
13-
bind-addr=0.0.0.0:{{ .Values.P2PPort }}
13+
addr=0.0.0.0:{{ .Values.P2PPort }}
1414
bitcoin-rpcconnect={{ include "bitcoincore.fullname" . }}
1515
bitcoin-rpcport={{ index .Values.global .Values.global.chain "RPCPort" }}
1616
bitcoin-rpcpassword={{ .Values.global.rpcpassword }}
@@ -19,6 +19,7 @@ data:
1919
database-upgrade=true
2020
bitcoin-retry-timeout=600
2121
grpc-port={{ .Values.RPCPort }}
22+
grpc-host=0.0.0.0
2223
---
2324
apiVersion: v1
2425
kind: ConfigMap

resources/charts/bitcoincore/charts/cln/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ service:
3232
type: ClusterIP
3333

3434
P2PPort: 9735
35-
RPCPort: 10013
35+
RPCPort: 9736
3636

3737
# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
3838
ingress:

resources/plugins/simln/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def _generate_activity_json(activity: Optional[list[dict]]) -> str:
169169
port = 10009
170170
node = {"id": ln_name}
171171
if "cln" in ln_name:
172-
port = 10013
172+
port = 9736
173173
node["ca_cert"] = f"/working/{ln_name}-ca.pem"
174174
node["client_cert"] = f"/working/{ln_name}-client.pem"
175175
node["client_key"] = f"/working/{ln_name}-client-key.pem"

0 commit comments

Comments
 (0)