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

[ECO-1997] Add transaction version in MQTT price levels topic payload #792

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

CRBl69
Copy link
Collaborator

@CRBl69 CRBl69 commented Jul 24, 2024

Description

This PR adds the transaction version at which the price levels data was
calculated in the MQTT levels topic payload.

This will help clients generate an accurate representation of data using the
REST API, then stay up to date using an MQTT subscription, without counting any
events twice, or missing any events.

Testing

Spin up a DSS.

Subscribe to levels/#.

Checklist

  • Did you check off all checkboxes from the linked Linear task? (Ignore if
    you are not a member of Econia Labs)

@CRBl69 CRBl69 requested a review from alnoki July 24, 2024 14:39
src/rust/mqtt-publisher/src/main.rs Show resolved Hide resolved
src/rust/mqtt-publisher/sqlx_queries/get_txn_version.sql Outdated Show resolved Hide resolved
src/rust/mqtt-publisher/src/main.rs Show resolved Hide resolved
@CRBl69 CRBl69 merged commit fe2ea34 into main Jul 25, 2024
1 check passed
@CRBl69 CRBl69 deleted the ECO-1997 branch July 25, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants