Add some debug statements and statistics for chanlimits

This commit is contained in:
2022-08-13 18:40:13 +01:00
parent 1e9dd1b223
commit 75965497be
2 changed files with 66 additions and 25 deletions

View File

@@ -75,6 +75,8 @@ def provisionRelay(num, network): # provision user and network data
def provisionMultipleRelays(net, relaysNeeded):
if not relaysNeeded:
return []
if not main.config["ChanKeep"]["Provision"]:
warn(f"Asked to create {relaysNeeded} relays for {net}, but provisioning is disabled")
return []