config+sample-lnd.conf+lncfg: add RPC middleware config

This commit is contained in:
Oliver Gugger committed 2021-09-20 13:05:47 +02:00
1 parent 8509d92070
commit 918e021177
3 files changed
+59

No files matched your search

+14
View File
@@ -1151,6 +1151,20 @@ litecoin.node=ltcd
; Defaults to the hostname.
; cluster.id=example.com
[rpcmiddleware]
; Enable the RPC middleware interceptor functionality.
; rpcmiddleware.enable=true
; Time after which a RPC middleware intercept request will time out and return
; an error if it hasn't yet received a response.
; rpcmiddleware.intercepttimeout=2s
; Add the named middleware to the list of mandatory middlewares. All RPC
; requests are blocked/denied if any of the mandatory middlewares is not
; registered. Can be specified multiple times.
; rpcmiddleware.addmandatory=my-example-middleware
; rpcmiddleware.addmandatory=other-mandatory-middleware
[bolt]