What is Nostr?
mleku
npub1fjq…leku
2025-01-23 12:22:44

mleku on Nostr: #realy #progressreport been doing a bunch of debugging using mikedilger 's ...

#realy #progressreport

been doing a bunch of debugging using mikedilger (npub1acg…p35c) 's https://github.com/mikedilger/relay-tester

so, i finally got the issue of inclusive since and until fixed on realy - and probably it has fixed a heap of specifically structured filters that didn't get results to work before, to now work, the problem was that the absence of "until" in the filter meant it was defaulting to 0, which means that it wasn't matching anything, because until is a "less than" operation and nobody has events with negative timestamps (they are invalid)

it also is mostly fixed for a bunch of other things, delete by a-tags now is properly working but i am pretty sure there is a test right at the end of the relay-tester that tries to save back an old version of a parameterized replaceable event and the difference and assumption that he's making is that replacement isn't the same as a delete operation, but in my implementation, the deleted replaced event has a tombstone so it can't be saved again, even if you delete the latest version, which would normally block it because of the timestamp being older for the same a tag (kind:npub:dtag)

there has been quite some upgrades in several of the dependencies of realy that i think have led to a massive performance improvement, it is definitely way faster than it was before, and i hadn't optimized anything, it's most noticable in the performance of the database, which is now gone from fast to instant, i can import a stack of like over 100k events from localhost now and it swallows it, then regenerates the access control list in under 3 seconds

possibly there is a heap of other things from the golang.org/x libraries that are used in various places that haev got hella faster as well

still a bunch of behaviours i can't account for, like, not properly showing relay-based events for relay info pages notes lists on coracle, but sorta working on nostrudel now, i probably should try to dig into this, it's probably some similar error of semantics in the filter conversion to a set of query indexes that i made with the until field

time to do some other thing though, v1.6.1 realy is available now and is definitely better than past versions... and i also made some fixes to nudge go compilers to update to the new versions after mangling all the old version tags... so if you are having issues, just delete and clone it again, should be all good on dev branch now
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku