IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#saltr
/2023/09/05
~dr|z3d
@RN
@StormyCloud
@T3s|4
@T3s|4_
@eyedeekay
@orignal
@postman
@zzz
%Liorar
+FreefallHeavens
+Leopold
+Xeha
+dolphinandcat
+goose2_
+j6
+poriori
+profetikla
+r00tobo_BNC
+snex
+uop23ip
An0nm0n
Arch
Danny
DeltaOreo
DiCEy1904
Irc2PGuest48909
Irc2PGuest50535
Irc2PGuest60331
Nausicaa
Onn4l7h
acetone_
anon1
anontor
anu
bak83
boonst
enoxa
fujifilm
goose2
itsjustme
mareki2pb
not_bob_afk
onon_1
pisslord
qend-irc2p
shiver_
u5657
weko_
dr|z3d something's not quite right with lookupLocallyWithoutValidation() and lookupRouterInfoLocally()
dr|z3d I can use the former, but in doing so all my flags go missing. if I use the latter, things explode.
dr|z3d something to do with geoip lookups, they're not working.
RN so should I hold of on trying this dev build?
RN or is this just a display issue to be sorted later?
dr|z3d depends how much you value your flags.
dr|z3d it's minor, just display.
RN I only rarely need to look at them
RN so if it is cosmetic only, I can do without the lipstick for now
dr|z3d yeah, just flags. it's a strange issue.
dr|z3d it's obviously related to the segmented dbs, but it's not obvious how.
RN ok... so 20 or 90 min I'll look at the new hotness
RN nice thing, whenever the update does take place my conky will show it... first a gap in the graph, then I'll see it come back (hope you bumped the version number) ;)
dr|z3d you'll get a nice new -18+ :)
RN looking forward to it
RN :)
dr|z3d there's not a lot of user facing stuff on the segmented db side of things.
dr|z3d eyedeekay: I've done a global search and replace for floodfillNetDB / mainNetDB with no issues.
dr|z3d aside from the flags issue, we also have an issue with json and pulling netdb related data.
dr|z3d I suspect these strings in RouterInfoHandler.java may need looking at:
dr|z3d if (inParams.containsKey("i2p.router.netdb.knownpeers")) {
dr|z3d // Why max(-1, 0) is used I don't know, it is the implementation used in the router console.
dr|z3d outParams.put("i2p.router.netdb.knownpeers", Math.max(_context.netDb().getKnownRouters(null) - 1, 0));
dr|z3d if (inParams.containsKey("i2p.router.netdb.activepeers")) {
dr|z3d outParams.put("i2p.router.netdb.activepeers", _context.commSystem().countActivePeers());
dr|z3d if (inParams.containsKey("i2p.router.netdb.fastpeers")) {
dr|z3d outParams.put("i2p.router.netdb.fastpeers", _context.profileOrganizer().countFastPeers());
dr|z3d if (inParams.containsKey("i2p.router.netdb.highcapacitypeers")) {
dr|z3d outParams.put("i2p.router.netdb.highcapacitypeers", _context.profileOrganizer().countHighCapacityPeers());