Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track latest sequences on receive, and set depends_on on send #1539

Open
Tracked by #118
mkysel opened this issue Jan 24, 2025 · 0 comments
Open
Tracked by #118

Track latest sequences on receive, and set depends_on on send #1539

mkysel opened this issue Jan 24, 2025 · 0 comments

Comments

@mkysel
Copy link
Contributor

mkysel commented Jan 24, 2025

The depends_on field is used in #1553 to sort messages upon receive.

This issue tracks the client that sends the message to the payer.

Depends_on is part of AAD and is encrypted by the client, but readable by the other parties in the system.

The payer/node might reject a bogus dependency.

The field can either be:

  • the latest sequenceID of originator 1 (the blockchain)
  • or the latest sequenceID of originator 1 for that group

Option 2) might lead to less delays and sorting issues.

@mkysel mkysel changed the title Track latest SIDs on receive, and set the vector clock on send Track latest sequences on receive, and set depends_on on send Jan 24, 2025
@mkysel mkysel transferred this issue from xmtp/xmtpd Jan 24, 2025
@mkysel mkysel moved this to Todo in Decentralization Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant