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

[3.2] Do not log or subjective bill for duplicate trxs #270

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

heifner
Copy link
Member

@heifner heifner commented Oct 1, 2022

The logging of duplicate transactions is confusing as it looks like a transaction failure case. However, duplicate transactions are expected and do not indicate any sort of error condition. The most common cause of duplicate transaction is receiving a transaction in a block before receiving it over P2P for speculative execution. All transactions received via a block before being received by P2P are duplicate.

Also do not subjectively bill for duplicate trxs. We have never subjectively billed for duplicate transactions, but the unreleased refactor #29 mistakenly subjectively billed for some duplicate transactions.

Resolves #231

@heifner heifner added the OCI Work exclusive to OCI team label Oct 1, 2022
@heifner heifner merged commit 631b3bf into main Oct 3, 2022
@heifner heifner deleted the GH-231-log-dup branch October 3, 2022 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not log duplicate transactions
2 participants