-
Notifications
You must be signed in to change notification settings - Fork 3
Add configurable fee rate bounds with decoupled simulation layout #13
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
19f76ac
Allow users to configure minimum fee rate via FeeEstimator(minFeeRate)
laurenshareshian 4dbc12e
Guard minFeeRate bounds and use ceil to prevent undershooting floor
laurenshareshian 8ce8fe2
Make maximum fee rate configurable via FeeEstimator(maxFeeRate)
laurenshareshian 3683f91
Wire maxFeeRate through fromMempoolTransactions and validate bucket r…
laurenshareshian d30c115
Address PR review feedback for configurable fee rate bounds
laurenshareshian 5579a6b
Address PR review feedback: fix API compat, validation, and docs
laurenshareshian 7046a24
Remove @JvmStatic from deprecated method, clarify maxFeeRate docs, us…
laurenshareshian bc3e773
Remove deprecation and unnecessary @JvmOverloads from public API
laurenshareshian 62dd3f1
Clean up PR review nits: remove unused test var, simplify README comm…
laurenshareshian abb008f
Fix maxFeeRate doc precision and use assertNotNull/assertTrue consist…
laurenshareshian 962e15d
Decouple maxFeeRate from simulation array layout
laurenshareshian cac7e14
Address PR review: hide minFeeRate from public API, restore < filter,…
laurenshareshian bff0276
Address PR review: deprecate fromMempoolTransactions, fix nits
laurenshareshian ce39635
Address PR review: fix redundant allocation, improve validation and docs
laurenshareshian 46f0604
Simplify internal API: remove redundant plumbing, annotations, and de…
laurenshareshian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still changes the published ABI for
configure():mainexposed the 4-arg overload, but this PR only leaves the new 6-arg signature inlib.api. Existing compiled Kotlin/Java callers of the old method will hitNoSuchMethodError. If this release is meant to stay binary-compatible, it needs a delegating shim that preserves the old method shape.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Acknowledged — this is intentionally not binary-compatible, which is why it's a 0.2.x → 0.3.0 bump. None of the three known consumers call configure(), and all recompile on dependency bump (this is a statically linked library, not a shared runtime dependency). Adding a delegating shim would preserve a method signature nobody calls.