-
Notifications
You must be signed in to change notification settings - Fork 21
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
Resovles:Enforce resync of last network transactions after bootstrap#508 #515
Resovles:Enforce resync of last network transactions after bootstrap#508 #515
Conversation
401e2c9
to
e31956e
Compare
8eb1a90
to
0e70a09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few remarks to improve it
Also please describe more the flow how to test it |
1befdf3
to
ff99d03
Compare
4336fb8
to
2eb67d2
Compare
2eb67d2
to
5e40c86
Compare
5691c01
to
19aca28
Compare
19aca28
to
305b7a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some updates to do in testfile, I think you have to control if the transaction has been writen in DB.
You can add a MockDB on write_transaction_chain and send to the process a message that to inform we entered in this function.
Then you can add an assert_receive
in the test to control that you correctly writted the transaction
419b5b9
to
fd7fc3c
Compare
fd7fc3c
to
3d36716
Compare
If there is quick disconnection and re-connection of a (authorised and available) node, it is a possibility that it will miss some oracle and node shared secrets transactions , which results in inconsistent node state.Post bootstrap we must resync node shared secrets and oracle txs so that current node state is same as other nodes state. So during validation it will not report invalid tx
Description
If there is quick disconnection and re-connection of a (authorised and available) node, it is a possibility that it will miss some oracle and node shared secrets transactions , which results in inconsistent node state.Post Bootstrap ,we must resync nss and oracle txs so that current node state is same as other nodes state. So during validation it will not report invalid tx
Fixes # (#508 )
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
How to test?
Checklist: