Skip to content

Ignore account blocks that reference the future#4

Open
vilkris4 wants to merge 1 commit into
hyperqube_zfrom
feature/ignore_blocks_referencing_the_future
Open

Ignore account blocks that reference the future#4
vilkris4 wants to merge 1 commit into
hyperqube_zfrom
feature/ignore_blocks_referencing_the_future

Conversation

@vilkris4

Copy link
Copy Markdown
Contributor

This commit introduces the following change: if an incoming account block references a momentum height that is greater than the node's frontier height, the account block is ignored and not attempted to be validated. It is common for a node to receive such blocks, since peers may be slightly ahead, but when the node fails to validate such a block it will log an error into the node's error log file cluttering the log with unhelpful messages.

This change also prevents the node from wasting time trying to validate these blocks.

This commit introduces the following change: if an incoming account block references a momentum height that is greater than the node's frontier height, the account block is ignored and not attempted to be validated.
It is common for a node to receive such blocks, since peers may be slightly ahead, but when the node fails to validate such a block it will log an error into the node's error log file cluttering the log with unhelpful messages.

This change also prevents the node from wasting time trying to validate these blocks.
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 this pull request may close these issues.

1 participant