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

In replication, fetch information from DB if it exists #731

Closed
Neylix opened this issue Nov 30, 2022 · 0 comments · Fixed by #770
Closed

In replication, fetch information from DB if it exists #731

Neylix opened this issue Nov 30, 2022 · 0 comments · Fixed by #770

Comments

@Neylix
Copy link
Member

Neylix commented Nov 30, 2022

Is your feature request related to a problem?

During the replication process, we need to fetch the previous transaction and it's inputs.
Actually we always use a quorum to get these informations, but the node may be a storage node of the previous transaction and so already have the informations needed.

Describe the solution you'd like

In the function Replication.validate_and_store_transaction_chain when be fetch the previous context, we should first fetch it from the DB before requesting it on the network.

Additional context

No response

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

Successfully merging a pull request may close this issue.

1 participant