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

Use Global Params For Fee Estimator Congestion and Priority Params #1259

Conversation

tholonious
Copy link
Contributor

Use Global Params For Fee Estimator Congestion and Priority Params

Revert minFeeRate usage in inner atomic txn transaction

bc.params.DefaultMempoolPastBlocksCongestionFactorBasisPoints,
bc.params.DefaultMempoolPastBlocksPriorityPercentileBasisPoints,
maxBlockSizeBytes)
newFeeEstimate, err := mempool.EstimateFee(atomicTxn, 0, maxBlockSizeBytes)
Copy link
Member

Choose a reason for hiding this comment

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

Should we pass in MinFeeRateNanosPerKB here instead of 0? I think I missed this call site in my earlier PR.

Copy link
Contributor Author

tholonious commented Apr 23, 2024

Merge activity

  • Apr 22, 10:39 PM EDT: @tholonious started a stack merge that includes this pull request via Graphite.
  • Apr 22, 10:42 PM EDT: Graphite rebased this pull request as part of a merge.
  • Apr 22, 10:43 PM EDT: @tholonious merged this pull request with Graphite.

@tholonious tholonious force-pushed the Create_Global_Params_For_Fee_Estimator_Congestion_and_Priority_Params branch from 6bd1a19 to 03f90a4 Compare April 23, 2024 02:40
Base automatically changed from Create_Global_Params_For_Fee_Estimator_Congestion_and_Priority_Params to feature/proof-of-stake April 23, 2024 02:41
@tholonious tholonious force-pushed the Use_Global_Params_For_Fee_Estimator_Congestion_and_Priority_Params branch from 465a25d to 89fc9ca Compare April 23, 2024 02:42
@tholonious tholonious merged commit 99dd7ce into feature/proof-of-stake Apr 23, 2024
3 of 4 checks passed
@tholonious tholonious deleted the Use_Global_Params_For_Fee_Estimator_Congestion_and_Priority_Params branch April 23, 2024 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants