diff --git a/lightning_node_management.md b/lightning_node_management.md index 596a5d9..04de7db 100644 --- a/lightning_node_management.md +++ b/lightning_node_management.md @@ -357,3 +357,29 @@ To support the second point, here is my checklist of chores: - Check the content of the lightningnetwork and umbrel subreddits. - Put anything relevant in the accounting book again. - Backup the channel states. + +## Automating fee adjustment + +I finally found a way to use `charge-lnd` with Umbrel. I followed the +instructions +[here](https://community.getumbrel.com/t/guide-installing-charge-lnd-in-a-docker-to-automate-your-fee-policies/2187) +. My own custom stuff changes were: + +- I put my config file in: `/media/data_disk/charge.conf` +- I wrote my docker run statement as follows: + +```commandline +docker run --rm -it --network=umbrel_main_network +-e GRPC_LOCATION=10.21.21.9:10009 +-e LND_DIR=/data/.lnd +-e CONFIG_LOCATION=/app/charge.config +-v /media/data_disk/umbrel/lnd:/data/.lnd +-v /media/data_disk/charge.config:/app/charge.config accumulator/charge-lnd:latest +``` + +I've been reading a bit and apparently it's not a good idea to run price +adjustments very frequently given that it makes it difficult for other nodes to +plan their routes, so automated software will see it as a low quality attribute +for routing nodes. I have decided to leave a weekly cronjob for now, so the +fees will update automatically every thursday at 10pm. +