Auto fees

This commit is contained in:
pablo 2022-02-13 21:59:41 +01:00
parent df2f29a2be
commit bab1eac6ed

View file

@ -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.