The only reference that I could find after looking through the spec a few times is a tag, and I couldn’t find any other documentation on this.
There also seems to be an assumption that there is strict message ordering.
The only reference that I could find after looking through the spec a few times is a tag, and I couldn’t find any other documentation on this.
There also seems to be an assumption that there is strict message ordering.
Check out the demo app code that is linked in the NIP. It should make it more clear about when each ratchet is turned and what data goes into each calculation.
It also shows you how skipped/out of order messages are handled.