chainweb-node icon indicating copy to clipboard operation
chainweb-node copied to clipboard

Staging area for blocks with missing dependencies

Open mercadoa opened this issue 6 years ago • 3 comments

When a block header with missing dependencies is received it is likely that those dependencies will be received later on and the block can be added to the database.

For that, instead of discarding the block because of a validation failure, the block should be stored temporarily in a staging area.

In addition a synchronization session should be triggered to query the missing dependencies for that block header. For that it is helpful when the origin of the block header is recorded (cf. #79).

If the block header is part of an active cut synchronization should be done with high priority.

mercadoa avatar Apr 12 '19 15:04 mercadoa

Need Lars to opine on whether this is still needed

mercadoa avatar Apr 12 '19 15:04 mercadoa

As per discussion with Lars - keep issue, but not a high priority / technical debt

mercadoa avatar Apr 12 '19 15:04 mercadoa

Moved issue over to chainweb-node (110)

mercadoa avatar Apr 16 '19 15:04 mercadoa