IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#saltr
/2023/09/05
~dr|z3d
@RN
@RN_
@StormyCloud
@eyedeekay
@orignal
@postman
@zzz
%Liorar
+FreefallHeavens
+Xeha
+bak83_
+cumlord
+hk
+poriori
+profetikla
+uop23ip
Arch
DeltaOreo
FreeRider
Irc2PGuest10850
Irc2PGuest19353
Irc2PGuest23854
Irc2PGuest46029
Irc2PGuest48064
Meow
Nausicaa
Onn4l7h
Onn4|7h
Over
T3s|4__
acetone_
anon4
anu
boonst
enoxa
mareki2pb
mittwerk
plap
shiver_
simprelay
solidx66
u5657_1
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());