Ride-The-Lightning / c-lightning-REST

REST APIs for Core Lightning written with node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update cl-rest for CLN v23.05 with msat purge

ShahanaFarooqui opened this issue · comments

Update cl-rest for CLN v23.05 with msat purge

Hi, would this be what is causing these errors in my logs (running CLN v23.05)

May 12 11:34:50 will-NUC systemd[1]: Started c-Lightning REST daemon.
May 12 11:34:51 will-NUC node[3708835]: Reading config file
May 12 11:34:51 will-NUC node[3708835]: info: rpcPath -> /home/bitcoin/.lightning
May 12 11:34:51 will-NUC node[3708835]: error: WARN: /home/bitcoin/.lightning/lightning-rpc is missing, using the bitcoin mainnet subdirectory at /home/bitcoin/.lightning/bitcoin instead.
May 12 11:34:51 will-NUC node[3708835]: info: Connecting to /home/bitcoin/.lightning/bitcoin/lightning-rpc
May 12 11:34:51 will-NUC node[3708835]: info: cl-rest state dir: /home/bitcoin/src/c-lightning-REST
May 12 11:34:51 will-NUC node[3708835]: warn: --- Starting the cl-rest server ---
May 12 11:34:51 will-NUC node[3708835]: info: --------------
May 12 11:34:51 will-NUC node[3708835]: info: Bind address -> ::
May 12 11:34:51 will-NUC node[3708835]: info: --------------
May 12 11:34:51 will-NUC node[3708835]: info: Reading SSL cert and key
May 12 11:34:51 will-NUC node[3708835]: info: Reading rootkey for macaroon
May 12 11:34:51 will-NUC node[3708835]: info: macaroon converted to hex:

May 12 11:34:51 will-NUC node[3708835]: info: macaroon converted to base64:

May 12 11:34:51 will-NUC node[3708835]: warn: --- cl-rest api server is ready and listening on :::3001 ---
May 12 11:34:51 will-NUC node[3708835]: warn: --- cl-rest doc server is ready and listening on :::4001 ---
May 12 11:34:51 will-NUC node[3708835]: info: Lightning client connected
May 12 11:34:51 will-NUC node[3708835]: info: Maximum pay index to subscribe -> 48
May 12 11:35:07 will-NUC node[3708835]: info: listFunds initiated...
May 12 11:35:07 will-NUC node[3708835]: info: getBalance success
May 12 11:35:07 will-NUC node[3708835]: info: listFunds success
May 12 11:35:07 will-NUC node[3708835]: info: localbalance -> NaN
May 12 11:35:07 will-NUC node[3708835]: info: remotebalance -> NaN
May 12 11:35:07 will-NUC node[3708835]: info: pendingBalance -> 0
May 12 11:35:07 will-NUC node[3708835]: info: inactiveBalance -> NaN
May 12 11:35:07 will-NUC node[3708835]: info: localRemoteBal success

(and consequently having Zeus not show any wallet info)

commented

Hi, would this be what is causing these errors in my logs (running CLN v23.05)

Hi @willcl-ark yes, the API responses are broken because of the breaking changes with CLN v23.05. Working on releasing an update soon to address this.

Closing with PR #173