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

Filter api messages by UTxO address #1719

Open
v0d1ch opened this issue Oct 23, 2024 · 6 comments · May be fixed by #1739
Open

Filter api messages by UTxO address #1719

v0d1ch opened this issue Oct 23, 2024 · 6 comments · May be fixed by #1739
Assignees

Comments

@v0d1ch
Copy link
Contributor

v0d1ch commented Oct 23, 2024

Hydra-doom people have the need to filter websocket messages in order to increase speed of operation.

We should build the option to connect to the websocket using /?history=no&address=xyz so only the UTxO with the specified address is returned.

Timeline for this is week or two.

@Quantumplation
Copy link
Contributor

If this proves difficult, worst case we can build a little proxy server in rust that forwards only relevant transactions to the subscriber

@ch1bo
Copy link
Collaborator

ch1bo commented Oct 24, 2024

@Quantumplation Maybe using kupo's hydra support is an alternative?

@Quantumplation
Copy link
Contributor

Hmm; kupo only forwards UTxOs, not txs, and is query based rather than push based so it'd involve a lot of changes but it might be possible.

Also aren't you on paternity leave? :)

@v0d1ch
Copy link
Contributor Author

v0d1ch commented Oct 28, 2024

Any changes should be done in hydra-doom branch since that one already contains some hydra-doom specific things https://github.com/cardano-scaling/hydra/commits/hydra-doom/

@v0d1ch
Copy link
Contributor Author

v0d1ch commented Oct 31, 2024

@Quantumplation what kind of filters on txs are you looking to see exactly? Regular tx outputs filtered by recipient address or something more involved?

@Quantumplation
Copy link
Contributor

Ideally just any txs that have an output to the specified address

@ffakenz ffakenz self-assigned this Nov 11, 2024
@ffakenz ffakenz linked a pull request Nov 11, 2024 that will close this issue
4 tasks
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 a pull request may close this issue.

4 participants