electronwall v0.3.2
⚡️🛡 Wildcards
electronwall can now filter payment routings along specific channels or channel pairs using an allowlists or a denylists.
In this release
Wild cards
To allow or deny HTLC forwards, you can either use a specific filter for a channel ID pair like 6629856x65537x0->7143424x65537x0
or filter, for example, all outgoing forwards to a channel like *->25328x256x0
. Similarly, you can filter for incoming payments using *->25328x256x0
.
You can also apply wildcards to filter for all public keys when using the channel acceptor.
Config changes
This release requires you to make appropriate changes in your config:
forward-mode: "allowlist" # only one mode can be used at a time!
forward-allowlist:
- "7143424x65537x0" # all forwards from this channel
- "7143424x65537x0->*" # same as above
- "6629856x65537x0->7143424x65537x0" # channel pair
- "*->25328x256x0" # all forwards to this channel
forward-denylist:
- "9961472x65537x1"
- "*" # this would deny all forward events in "denylist" mode