Skip to content

Collator protocol revamp: Calculate delay from leaf activation #11022

@tdimitrov

Description

@tdimitrov

Change the delay timer to start when the leaf is activated, not when the message arrives. This prevents artificially delaying messages that already arrived late.

Implementation notes:

  • Note the timestamp of leaf activation
  • When receiving Advertisement, check the elapsed elapsed time from leaf activation

Metadata

Metadata

Assignees

Labels

I9-optimisationAn enhancement to provide better overall performance in terms of time-to-completion for a task.T0-nodeThis PR/Issue is related to the topic “node”.T8-polkadotThis PR/Issue is related to/affects the Polkadot network.

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions