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

chore: move mempool fee check #5777

Merged

Conversation

SWvheerden
Copy link
Collaborator

Description

Moves the mempool fee check to before validation

Motivation and Context

This is a very cheap check compared to full validation. We should do this before we check if the tx is valid so that we don't do validation and then through away the tx because the fee is too low.

Copy link
Member

@sdbondi sdbondi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ghpbot-tari-project ghpbot-tari-project added the P-acks_required Process - Requires more ACKs or utACKs label Sep 18, 2023
@github-actions
Copy link

Test Results (CI)

1 215 tests   1 215 ✔️  9m 51s ⏱️
     39 suites         0 💤
       1 files           0

Results for commit 6653992.

@github-actions
Copy link

Test Results (Integration tests)

  2 files  +  2  11 suites  +11   24m 11s ⏱️ + 24m 11s
29 tests +29  27 ✔️ +27  0 💤 ±0  2 +2 
31 runs  +31  29 ✔️ +29  0 💤 ±0  2 +2 

For more details on these failures, see this check.

Results for commit 6653992. ± Comparison against base commit 4cb3658.

@SWvheerden SWvheerden merged commit cbc2864 into tari-project:development Sep 18, 2023
12 of 13 checks passed
@SWvheerden SWvheerden deleted the sw_move_mempool_fee_check branch September 27, 2023 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants