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

Add way to listen for a block's change in reattach/promote state #1567

Open
luca-moser opened this issue Jun 16, 2022 · 0 comments
Open

Add way to listen for a block's change in reattach/promote state #1567

luca-moser opened this issue Jun 16, 2022 · 0 comments
Milestone

Comments

@luca-moser
Copy link
Member

luca-moser commented Jun 16, 2022

We want to expose streams/events for clients to be notified for when a block needs to be re-attached or promoted. We previously added a partial solution to this through the TipScoreUpdates event in INX and MQTT but that will not catch blocks which fall out of the tip pool (while still not in need to being promoted/reattached) and then fall below max depth afterwards.

During confirmation of a milestone, we updated the root cone indices, which is the point where we can emit the events for the blocks which fall below max depth.

@luca-moser luca-moser added this to the HORNET-v2.1.0 milestone Jun 16, 2022
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

No branches or pull requests

1 participant