IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#saltr
/2023/09/05
@RN
@StormyCloud
@T3s|4_
@eyedeekay
@postman
@zzz
%Liorar
+FreefallHeavens_
+Xeha
+acetone
+bak83_
+hk
+poriori
+profetikla
+r00tobo_BNC
+radakayot
+snex
+uop23ip
+weko
Arch
Danny
DeltaOreo
Irc2PGuest12249
Irc2PGuest25220
Irc2PGuest92478
Irc2PGuest92843
Meow
Nausicaa
Onn4l7h
Onn4|7h
T3s|4
aisle1
anu
ardu
boonst
deadface
dickless
dr|z3d
duck
enoxa
foobar
mareki2pb
maylay
not_bob_afk
orignal_
qend-irc2p
shiver_
simprelay
solidx66
u5657
usr001
woodwose
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());