Replying to Avatar OceanSlim

The only person that ever asked for something from me was nostr:nprofile1qqsf03c2gsmx5ef4c9zmxvlew04gdh7u94afnknp33qvv3c94kvwxgspr3mhxue69uhksmmyd33x7epwvdhhyctrd3jjuar0dak8xtcppemhxue69uhkummn9ekx7mp0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7208x3z. It was negentropy sync for grain. I'm in the middle nof doing it now. Would be great up if you checked the issue and think I'm on the right path. Syncing is hard...

fyi: i think grain has some serious issues on reading some index of an array without checking last time i read the code. i would take a look at the code and tell you the details.

if higher layers of your code are not checking this, then it would ve easy to make it to crash...

maybe i opened a pr.

Reply to this note

Please Login to reply.

Discussion

Please do. The instance I run at wheat never goes down. But I know the Requests might not always responded to correctly. Certainly check,

https://github.com/0ceanSlim/grain/blob/main/server%2Fhandlers%2Freq.go

And

https://github.com/0ceanSlim/grain/blob/main/server%2Fdb%2Fmongo%2FqueryMongo.go

And how events are handled:

https://github.com/0ceanSlim/grain/blob/main/server%2Fhandlers%2Fevent.go

yep, ill check it today. 👀