Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Authority-discovery should start publishing records one session in advance #6772

@tomaka

Description

@tomaka

At the moment, the authority-discovery code publishes records of the local node if it is a validator in the current session.
The problem with that is that, when a validator enters the validator set, it will take a couple of minutes for it to be discoverable on the DHT.

The good news is that we already know, during each session, what the validators of the next session are going to be.

The authority-discovery module should be modified to start publishing records if our node is a validator of the next session as well.

cc @mxinden

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions