hornet icon indicating copy to clipboard operation
hornet copied to clipboard

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

Open luca-moser opened this issue 3 years ago • 0 comments

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 avatar Jun 16 '22 11:06 luca-moser