IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#saltr
/2023/09/05
~dr|z3d
@RN
@RN_
@StormyCloud
@T3s|4
@T3s|4_
@eyedeekay
@not_bob_afk
@orignal
@postman
@zzz
+FreefallHeavens_
+Over
+Xeha
+bak83
+cancername
+cumlord
+hk
+poriori
+profetikla
+r00tobo_BNC
+uop23ip
+weko
An0nm0n
Arch
Danny
DeltaOreo
FreeRider
Irc2PGuest53061
Irc2PGuest55294
Irc2PGuest5871
Irc2PGuest71506
Leopold_
Meow
Nausicaa
Onn4l7h
Onn4|7h
Over1
acetone
anon
anu
boonst
carried6590
enoxa
khb_
mareki2pb
shiver_
simprelay
solidx66
u5657
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());