Skip to content

Commit

Permalink
add getmempoolinfo to required proxy permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ProofOfKeags committed May 4, 2022
1 parent 76c71be commit 38ffc96
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion assets/compat/btc-rpc-proxy_config_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,15 @@
- PUSH:
to: 'users.[first(item => ''item.name = "lnd")].allowed-calls'
value: "getpeerinfo"
- rule: '''users.[first(item => ''item.name = "lnd")].allowed-calls.* = "getmempoolinfo"'
description: 'RPC user "lnd" must have "getmempoolinfo" enabled'
suggestions:
- PUSH:
to: 'users.[first(item => ''item.name = "lnd")].allowed-calls'
value: "getmempoolinfo"
- rule: 'users.[first(item => ''item.name = "lnd")].fetch-blocks?'
description: 'RPC user "lnd" must have "Fetch Blocks" enabled'
suggestions:
- SET:
var: 'users.[first(item => ''item.name = "lnd")].fetch-blocks'
to-value: true
to-value: true

0 comments on commit 38ffc96

Please sign in to comment.