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

Enforce resync of last network transactions after bootstrap #508

Closed
ghost opened this issue Aug 11, 2022 · 2 comments
Closed

Enforce resync of last network transactions after bootstrap #508

ghost opened this issue Aug 11, 2022 · 2 comments
Assignees
Labels
bootstrap feature New feature request

Comments

@ghost
Copy link

ghost commented Aug 11, 2022

Is your feature request related to a problem?

When a node which available and authorized restarts in a short period of time, this node will receive incoming requests for transaction validation.
However, it might miss some network transactions such as node_shared_secrets or oracle
So the validation will fail since its shared state will be out to date.

Describe the solution you'd like

To resolve the out of sync issue for network transactions, we can try to re-sync at the end of the bootstrap by:

  • fetching and loading the last node shared transaction
  • fetching and loading the last oracle transaction

Hence, the node will be able to validate those transactions in the same state as others will do

Additional context

No response

@ghost ghost added feature New feature request bootstrap labels Aug 11, 2022
@ghost
Copy link
Author

ghost commented Aug 12, 2022

Hey team! Please add your planning poker estimate with ZenHub @apoorv-2204 @imnik11 @Neylix @prix-uniris

@apoorv-2204
Copy link
Contributor

  • we can get paging address from DB, then request node to return tx s after that.
  • we may require to have DB.EmbeddedImpl for returning last 10 txns or last txs by paging address in future (for blind case scenario where paging address not available)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bootstrap feature New feature request
Projects
None yet
Development

No branches or pull requests

2 participants