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

Store new StackerDB chunks from event observer #2031

Open
hstove opened this issue Jul 11, 2024 · 0 comments
Open

Store new StackerDB chunks from event observer #2031

hstove opened this issue Jul 11, 2024 · 0 comments
Assignees

Comments

@hstove
Copy link
Contributor

hstove commented Jul 11, 2024

The API's event receiver doesn't handle the /stackerdb_chunks path, so those events are not stored in the DB's event_observer_requests table. This would be handy for acting as a starting point to analyze StackerDB data, like when/which signers are responding to blocks.

For now, I think it would be helpful to just add a handler for the POST /stackerdb_chunks path that dumps the payload into event_observer_requests - no other action needed.

Note that this path is only hit if the Stacks node has stacker = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants