electrs v0.10.2
Core Lightning v23.11.2
RTL v0.15.0
Upgrading worked mostly as I previously described here:
https://bitcointalksearch.org/topic/m.61920456
However, this time there are a few changes regarding the Lightning REST API. I switched from c-lightning-REST to the new CLNRest API built into Core Lightning since v23.08, because sticking to the old method was giving me some issues when upgrading.
The following changes need to be made. After upgrading Core Lightning, do the following:
pip install -r plugins/clnrest/requirements.txt
nano /home/bitcoin/.lightning/bitcoin/lightningd.conf
Add the following lines to the end of the file:
clnrest-port=3010
Then, after upgrading RTL, edit this line in /home/bitcoin/RTL/RTL-Config.json and replace CLT with CLN, and port number 3001 with 3010:
[...]
"lnServerUrl": "https://127.0.0.1:3010"
Also, add this element to the Authentication section of this file (look at the updated guide for the whole file):
Lastly, create a 'rune', which is like an access token in Core Lightning, as follows:
lightning-cli showrunes
You'll get an output like this.
{
"runes": [
{
"rune": "SGVsbG8gQml0Y29pbnRhbGshIFRoaXMgaXMgYSBkZW1vLg==",
"last_used": 1199145600.138712375,
"unique_id": "0",
"restrictions": [],
"restrictions_as_english": ""
}
]
}
Create a file /home/bitcoin/RTL/rune0 with the following contents. Paste the rune from above between the quotes, as shown here.
Now you do a clean restart of your node or restart all the services individually.
sudo service electrs restart
sudo service lightningd restart
sudo service RTL restart