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

Node shared secrets chain write in loop during self repair #460

Closed
Neylix opened this issue Jul 19, 2022 · 0 comments
Closed

Node shared secrets chain write in loop during self repair #460

Neylix opened this issue Jul 19, 2022 · 0 comments
Labels
bug Something isn't working self repair Involve SelfRepair mechanism shared secrets Involve SharedSecrets

Comments

@Neylix
Copy link
Member

Neylix commented Jul 19, 2022

Describe the problem you discovered

When a node disconnect for a long time and reconnect, it launches the self repair. But if the node was previously authorized it still receive the network transaction (oracle, node shared secrets ...).
There is a problem while the self repair is not finished, when the node receive a node_shared_secrets, it write all the past transaction again and again at each node_shared_secrets transaction

Describe the solution you'd like

When the first node_shared_secrets transaction is received, all past transaction of the chains should be written in DB, but only once

@Neylix Neylix added bug Something isn't working self repair Involve SelfRepair mechanism shared secrets Involve SharedSecrets labels Jul 19, 2022
@Neylix Neylix closed this as completed Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working self repair Involve SelfRepair mechanism shared secrets Involve SharedSecrets
Projects
None yet
Development

No branches or pull requests

1 participant