-
Notifications
You must be signed in to change notification settings - Fork 11
/
manifest.yaml
318 lines (318 loc) · 8.92 KB
/
manifest.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
id: c-lightning
version: 24.08.2
title: Core Lightning
license: BSD-MIT
wrapper-repo: https://github.com/Start9Labs/cln-startos
upstream-repo: https://github.com/ElementsProject/lightning
support-site: https://github.com/ElementsProject/lightning/issues
marketing-site: https://blockstream.com/lightning
release-notes: |-
* Update to CLN 24.08.2 [Release Notes](https://github.com/ElementsProject/lightning/releases/tag/v24.08.2)
* Update clboss to 0.14.0
build: ["make"]
description:
short: "An implementation of the Lightning Network protocol by Blockstream."
long: "Core Lightning (CLN) (formerly c-lightning) is a lightweight, highly customizable, and standards compliant implementation of the Lightning Network protocol. It is optimized for performance and extensibility."
assets:
license: LICENSE
icon: icon.png
instructions: instructions.md
main:
type: docker
image: main
entrypoint: "docker_entrypoint.sh"
args: []
mounts:
main: /root/.lightning
cert: /mnt/cert
shm-size-mb: 64
health-checks:
rpc:
name: RPC
success-message: RPC server is alive and listening for commands
type: docker
image: main
system: false
entrypoint: check-rpc.sh
args: []
mounts: {}
io-format: json
inject: true
web-ui:
name: Web UI
success-message: The Web-UI is ready to be visited in your browser.
type: docker
image: main
entrypoint: check-web-ui.sh
args: []
io-format: json
inject: true
synced:
name: Synced
success-message: Synced to chain and ready to perform on-chain operations
type: docker
image: main
system: false
entrypoint: check-synced.sh
args: []
mounts: {}
io-format: yaml
inject: true
config:
get:
type: script
set:
type: script
properties:
type: script
volumes:
main:
type: data
cert:
type: certificate
interface-id: rest
alerts:
install: |
READ CAREFULLY! Core Lightning and the Lightning Network are considered beta software. Please use with caution and do not
risk more money than you are willing to lose. We encourage frequent backups. If for any reason, you need to restore
c-lightning from a backup, your on-chain wallet will be restored, but the money locked up in your channels will be
stuck in those channels for an indeterminate period of time, if they are returned to you at all. It depends on the
cooperation of your peers. Choose peers with discretion.
uninstall: |
READ CAREFULLY! Uninstalling Core Lightning will result in permanent loss of data, including its private keys for its
on-chain wallet and all channel states. Please make a backup if you have any funds in your on-chain wallet or in any
channels. Recovering from backup will restore your on-chain wallet, but due to the architecture of the Lightning
Network, your channels cannot be recovered. All your channel funds will be stuck in those channels for an indeterminate
period of time, and if your peers do not cooperate, they will not be recoverable at all.
restore: |
Restoring Core Lightning will overwrite its current data, including its on-chain wallet and channels. Any channels opened
since the last backup will be forgotten and may linger indefinitely, and channels contained in the backup will be
closed and their funds returned to your wallet, assuming your peers choose to cooperate.
interfaces:
rpc:
name: RPC Interface
description: Listens for JSON-RPC commands over HTTP.
tor-config:
port-mapping:
8080: "8080"
lan-config:
8080:
ssl: false
internal: 8080
ui: false
protocols:
- tcp
- http
- json-rpc
web-ui:
name: Web User Interface
description: A web user interface for CLN
tor-config:
port-mapping:
80: "4500"
lan-config:
443:
ssl: true
internal: 4500
ui: true
protocols:
- tcp
- http
peer:
name: Peer Interface
description: Listens for incoming connections from lightning peers.
tor-config:
port-mapping:
9735: "9735"
ui: false
protocols:
- tcp
- lightning
rest:
name: C-Lightning-REST API
description: C-Lightning-REST is a plugin for Core Lightning written by the RTL team that exposes an LND-like REST API for C-Lightning.
tor-config:
port-mapping:
3001: "3001"
lan-config:
3001:
ssl: true
internal: 3001
ui: false
protocols:
- tcp
- http
clnrest:
name: CLNRest
description: CLNRest is a lightweight Python-based built-in Core Lightning plugin (from v23.08) that transforms RPC calls into a REST service.
tor-config:
port-mapping:
3010: "3010"
lan-config:
3010:
ssl: true
internal: 3010
ui: false
protocols:
- tcp
- http
watchtower:
name: TEOS Watchtower API
description: The Eye of Satoshi is a Lightning watchtower compliant with BOLT13, written in Rust.
tor-config:
port-mapping:
9814: "9814"
lan-config:
9814:
ssl: true
internal: 9814
ui: false
protocols:
- tcp
- http
websocket:
name: Clams Websocket
description: Websocket endpoint for Clams Remote.
tor-config:
port-mapping:
7272: "7272"
lan-config:
7272:
ssl: true
internal: 7272
ui: false
protocols:
- tcp
- http
- ws
grpc:
name: gRPC
description: gRPC is a Rust-based plugin that provides a standardized API that apps, plugins, and other tools could use to interact with Core Lightning securely.
tor-config:
port-mapping:
2106: "2106"
lan-config:
2106:
ssl: true
internal: 2106
ui: false
protocols:
- tcp
- http
- grpc
dependencies:
bitcoind:
version: ">=0.21.1.2 <29.0.0"
requirement:
type: required
description: Used as a blockchain backend.
config:
check:
type: script
auto-configure:
type: script
backup:
create:
type: docker
image: compat
system: true
entrypoint: compat
args:
- duplicity
- create
- /mnt/backup
- /root/.lightning
mounts:
BACKUP: /mnt/backup
main: /root/.lightning
restore:
type: docker
image: compat
system: true
entrypoint: compat
args:
- duplicity
- restore
- /mnt/backup
- /root/.lightning
mounts:
BACKUP: /mnt/backup
main: /root/.lightning
migrations:
from:
"*":
type: script
args: ["from"]
to:
"*":
type: script
args: ["to"]
actions:
delete-gossip:
name: "Delete Gossip Store"
description: "Deletes gossip_store in the case of corruption"
allowed-statuses:
- running
- stopped
implementation:
type: docker
image: main
system: false
entrypoint: delete-gossip.sh
args: []
io-format: json
mounts:
main: /root/.lightning
generate-rune:
name: "Generate Rune"
warning: This rune has no restrictions! Anyone who has access to this rune could drain funds from your node. Be careful when giving this to apps that you don't trust.
description: "Generate a rune with no restrictions. This rune can be used to connect with integrations such as Alby."
allowed-statuses:
- running
implementation:
type: docker
image: main
system: false
entrypoint: generate-rune.sh
args: []
io-format: json
mounts:
main: /root/.lightning
generate-lnlink:
name: "Generate LNlink"
warning: THIS QRCODE CONTAINS SENSITIVE INFORMATION THAT GIVES ANYONE ACCESS TO YOUR LIGHTNING NODE. DO NOT SHOW IT TO ANYONE.
description: "Generate a LNLink QR Code. This Code can be used to connect with integrations such as Plasma."
allowed-statuses:
- running
implementation:
type: docker
image: main
system: false
entrypoint: generate-lnlink.sh
args: []
io-format: json
mounts:
main: /root/.lightning
rescan-blockchain:
name: "Rescan Blockchain"
description: "Rescan the blockchain from a specified height or depth. If rescanning from a specific blockheight, enter a negative number i.e. '-600000' to rescan from block 600,000 to the tip. Alternatively, you can enter a positive number as the depth i.e. '10000' to rescan the last 10,000 blocks from the tip"
allowed-statuses:
- running
- stopped
implementation:
type: docker
image: main
system: false
entrypoint: rescan-blockchain.sh
args: []
io-format: json
mounts:
main: /root/.lightning
input-spec:
blockheight-or-depth:
type: string
name: Depth (or Blockheight if prefixed with a hyphen)
description: Depth expressed as a positive number or blockheight prefixed with a hyphen.
masked: false
placeholder: "-600000"
nullable: false