Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timestamp in the validation node election #1564

Open
Neylix opened this issue Sep 30, 2024 · 0 comments
Open

Add timestamp in the validation node election #1564

Neylix opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
feature New feature request mining Involve transaction validation and mining

Comments

@Neylix
Copy link
Member

Neylix commented Sep 30, 2024

Is your feature request related to a problem?

Currently the validation node election is based on transaction data and the daily nonce seed. Therefore if a transaction fail to be validated and the exact same transaction is sent again the validation nodes will be the same until the daily nonce seed change.
But is one of the validation nodes (mainly the coordinator) has a wrong state or cannot retrieve some data, the stamp will be wrong and the transaction cannot be validated for the entire day.

Describe the solution you'd like

To avoid this issue, we can add a timestamp in the election so the elected nodes will be always different.
The timestamp used could be the one used by the welcome node which is sent in the StartMining message (the ref timestamp)

Additional context

No response

Epic

No response

@Neylix Neylix added feature New feature request mining Involve transaction validation and mining labels Sep 30, 2024
@Neylix Neylix added this to the BLS prerequisites milestone Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request mining Involve transaction validation and mining
Projects
None yet
Development

No branches or pull requests

2 participants