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

Transactions in unsynced blocks no-longer assumed pruned #292

Conversation

williamberman
Copy link
Contributor

@williamberman williamberman commented Jan 11, 2021

Fixes # .

Motivation

Previously, searching for transactions in unsynced blocks would return an error saying that the transaction was in a pruned block. Really, the transactions are present but in blocks past the synced head, which should return no transaction but with no error.

Solution

Additional check for if transaction seen in unseen block.

Open questions

@williamberman williamberman force-pushed the will/construction-block-incorrectly-marked-as-pruned branch 3 times, most recently from fd47f4c to 411bdef Compare January 11, 2021 21:25
@williamberman williamberman force-pushed the will/construction-block-incorrectly-marked-as-pruned branch from 411bdef to 45c0b2b Compare January 11, 2021 21:29
@patrick-ogrady patrick-ogrady merged commit f7e3866 into coinbase:master Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants