Print information about received LIST

This commit is contained in:
Mark Veidemanis 2022-08-11 20:32:49 +01:00
parent 571a527f43
commit 73b0518a8f
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 7 additions and 0 deletions

View File

@ -225,6 +225,13 @@ def _initialList(net, num, listinfo, chanlimit):
p.hset(abase, "relay", relay) p.hset(abase, "relay", relay)
p.hset(abase, "sigrelay", sigrelay) p.hset(abase, "sigrelay", sigrelay)
p.hset(abase, "insigrelay", ceil(insiglength / chanlimit)) p.hset(abase, "insigrelay", ceil(insiglength / chanlimit))
debug(
(
f"_initialList() net:{net} num:{num} listlength:{listlength} "
f"mean:{mean} siglength:{siglength} insiglength:{insiglength} "
f"sigrelay:{sigrelay} relay:{relay} chanlimit:{chanlimit}"
)
)
# Purge existing records before writing # Purge existing records before writing
# purgeRecords(net) # purgeRecords(net)