i've almost finished a rework of khatru without all the dumb parts
probably tomorrow i'll clean up the clumsy parts that remain
there is a binary codec that is only used for database storage and doesn't need to be cross-language compatible so i can just ditch it for Gob
there's a bunch of goroutines in the relay code that i'm pretty sure are racy with some parts of the relay data structures, gonna clean that up tomorrow, put sync primitives in it and break apart some extremely long functions into bite sized pieces so they are readable and easy to debug
#deardiary #golang #nostr #dev