IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#saltr
/2023/09/05
~dr|z3d
@RN
@T3s|4
@eyedeekay
@orignal
+Hikari
+Minogami
+Xeha
+acetone
+profetikla
+snex
+uop23ip
+weko
An0nm0n
Arch
DeltaOreo
FreefallHeavens
Gid
Irc2PGuest14111
Irc2PGuest2974
Irc2PGuest7233
Leopold
Liorar_
Nausicaa_
Onn4l7h
StormyCloudInc
admin
anon
anontor2
anu
cheddah
itsjustme_
j6
limak
not_bob_afk
poriori
qend-irc2p_
u5657
zzz
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());