Damus
wuwei · 170w
Problem: nostrocket is not currently applicable to more than a few people The nostrocket implementation is currently lacking most of the features that are described in the unprotocol. This means mos...
gsovereignty profile picture
Problem: we sometimes create a new consensus tree when we shouldn't

Sometimes when reproducing the current state of nostrocket, it publishes a new consensus tree when one exists already.

It seems to be missing an event or something.

Solution:
A quick and dirty solution would be to check the timestamp when attempting to process a state change event out of consensus mode (the only time when we need to produce a new consensus tree is when seeing a valid state change event that is not currently included in the consensus tree).

If the timestamp of the event is not recent, then we are probably missing a consensus event somewhere and should try a bit harder to find it before creating a new consensus tree.
3
gsovereignty · 166w
I'm claiming [Problem: we sometimes create a new consensus tree when we shouldn't] on the nostrocket problem tracker so that I can work on it and other people don't duplicate my efforts.
gsovereignty · 166w
Should be resolved by https://github.com/nostrocket/engine/commit/0ffe380dc0bdf693866da513acbf2a24a2f7085d
gsovereignty · 166w
I'm closing [Problem: we sometimes create a new consensus tree when we shouldn't] on the nostrocket problem tracker, it's been resolved or become obsolete.