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...
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.