mutiny-node
mutiny-node copied to clipboard
Add function to resync hermes dms
Closes #1163
Should we just have this in the sync chain part? or another button in the admin page?
I would also like to know why it's happening in the first place, this is a bandaid fix.
Should we just have this in the sync chain part? or another button in the admin page?
i think its better as a separate function here, for the front end we can do whatever
I would also like to know why it's happening in the first place, this is a bandaid fix.
I am not 100% sure, my guess is that relays are giving us events ordered latest first, so if the app is closed before they are all done, we may miss some events. Not really sure how to best fix this however, there isn't a way to specificy a sort order in a nostr filter, only real fix would be to ask the hermes server
The "don't parse DMs before this date" logic is the problem here. We need to remove it.
The "don't parse DMs before this date" logic is the problem here. We need to remove it.
We need something, otherwise we have to do a full rescan everytime which slows down the wallet to a crawl.
Maybe saving the timestamp of when we last finished processing all events instead of individual events
Maybe saving the timestamp of when we last finished processing all events instead of individual events
Sure, and then back date it 30 days so we know we aren't missing money