Gossip Client on Nostr: When I (Mike Dilger) run gossip as myself on my main computer, it's great. When I run ...
When I (Mike Dilger) run gossip as myself on my main computer, it's great.
When I run it on other computers and under other accounts like I do when creating a release, I often find problems that I never normally encounter. Sometimes that happens after I've built the release!
There are a few problems I've noticed when doing this release, including
1. A panic in the pending actions system that makes that system crash (gossip keeps working though). Once gossip can load your kind 10050 event, this issue will disappear. But we will fix it.
2. Goddamn it runs slow on physical disks! Instead of processling about 500 events per second, it processes about 10 events per second. I may have to rethink how we do transactions so that we don't fsync so often.
3. Setting up initially with an encrypted private key, it seems to forget the private key (but remember the public key) and it has to be imported again.
4. Relay configs only sync the 10002 inbox/outbox swtiches, and we still have no way of syncing other relay settings across installs.
I'll try to put some effort into these issues and do a point release.
I'm also bogged down in refactoring how threads are handled, something that has been taking far more time than I expected. I put that aside for now.
When I run it on other computers and under other accounts like I do when creating a release, I often find problems that I never normally encounter. Sometimes that happens after I've built the release!
There are a few problems I've noticed when doing this release, including
1. A panic in the pending actions system that makes that system crash (gossip keeps working though). Once gossip can load your kind 10050 event, this issue will disappear. But we will fix it.
2. Goddamn it runs slow on physical disks! Instead of processling about 500 events per second, it processes about 10 events per second. I may have to rethink how we do transactions so that we don't fsync so often.
3. Setting up initially with an encrypted private key, it seems to forget the private key (but remember the public key) and it has to be imported again.
4. Relay configs only sync the 10002 inbox/outbox swtiches, and we still have no way of syncing other relay settings across installs.
I'll try to put some effort into these issues and do a point release.
I'm also bogged down in refactoring how threads are handled, something that has been taking far more time than I expected. I put that aside for now.