-
Notifications
You must be signed in to change notification settings - Fork 163
Description
Describe the bug
I am trying to create a custom CLN node with version 24.02.1 to try dual-funded channels.
The instructions here - https://github.com/jamaljsr/polar/blob/master/docs/custom-nodes.md#c-lightning - seem to be out of date.
I would like to help update those.
To Reproduce
Following the above instructions with the Dockerfile listed gives us an error, where it appears to fail fetching some packages:
#13 1.543 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-arm64/Packages 404 Not Found [IP: 151.101.66.132 80] ... etc
So, I modified the Dockerfile, using the file on the main CLN repo, and modifying the end of the file.
I used this Docker file - https://github.com/toneloc/stable-channels/blob/main/Dockerfile - I annotate the end of it (see "Polar Modification"). I used the same docker-entrypoint.sh
file as in the above instructions.
This image appeared to build okay.
I then created a custom image on the Polar UI. I added the flag --developer
to startup commands. Note: the new Dockerfile from CLN team did not have the ARG DEVELOPER=0
parameter in there. This is why I added the flag here instead.
Then, I tried to start up a 1 BTC core / 1 custom CLN network.
I got this error:
Unable to connect to c-lightning node
ENOENT: no such file or directory, open '/Users/t/.polar/networks/6/volumes/c-lightning/alice/rest-api/access.macaroon'
Where do these get created and copied?
Expected behavior
I would expect the custom node to start okay.
Screenshots
Desktop (please complete the following information):
- I am on Mac Ventura 13.5.
- Polar version 2.1.0.
- Docker Desktop version 4.18.0
- Docker Engine version 20.10.24
Additional context
I would like to use dual-funded channels, which is on this version.
I would also like to include a custom plugin to try out. This is the plugin I want to try - https://github.com/toneloc/stable-channels
Thanks.