lnd+rpcserver: allow customized timeout in ConnectPeer

This commit is contained in:
yyforyongyu committed 2020-09-16 11:50:04 +08:00
1 parent ef38b12fda
commit 469aba9282
8 files changed
+754 -668

No files matched your search

+5
View File
@@ -3223,6 +3223,11 @@
"type": "boolean",
"format": "boolean",
"description": "If set, the daemon will attempt to persistently connect to the target\npeer. Otherwise, the call will be synchronous."
},
"timeout": {
"type": "string",
"format": "uint64",
"description": "The connection timeout value (in seconds) for this request. It won't affect\nother requests."
}
}
},