Node shared secrets chain write in loop during self repair #460
Labels
bug
Something isn't working
self repair
Involve SelfRepair mechanism
shared secrets
Involve SharedSecrets
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
The text was updated successfully, but these errors were encountered: