mirror of
https://github.com/callebtc/electronwall.git
synced 2026-01-31 21:04:26 +01:00
Merge branch 'main' of github.com:callebtc/lnd_whitelist
This commit is contained in:
@@ -5,7 +5,9 @@ electronwall uses filter lists that either allow (allowlist) or reject (denylist
|
||||
|
||||
You can also write [custom rules](#programmable-rules) using a builtin Javascript engine.
|
||||
|
||||

|
||||
*Note: electronwall is in early development and highly experimental software. Use at your own risk. Please report issues.*
|
||||
|
||||

|
||||
|
||||
## Install
|
||||
|
||||
@@ -31,7 +33,6 @@ Edit `config.yaml.example` and rename to `config.yaml`.
|
||||
./electronwall
|
||||
```
|
||||
|
||||
---------------
|
||||
# Rules
|
||||
|
||||
## Allowlist and denylist
|
||||
@@ -71,7 +72,7 @@ ChannelAccept.OneMl.Noderank.Age < 10000 &&
|
||||
)
|
||||
```
|
||||
|
||||
Here is an example `HtlcForward.js`
|
||||
Here is an example `HtlcForward.js` for deciding on HTLC forwards:
|
||||
```javascript
|
||||
if (
|
||||
// only forward amounts larger than 100 sat
|
||||
@@ -211,4 +212,4 @@ type Amboss_NodeInfoResponse struct {
|
||||
```
|
||||
|
||||
#### Network information `*.Network`
|
||||
*TBD*
|
||||
*TBD*
|
||||
|
||||
Reference in New Issue
Block a user