forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 0
Merge bitcoin/bitcoin#27609: rpc: allow submitpackage to be called outside of regtest #952
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
Closed
DashCoreAutoGuix
wants to merge
2
commits into
backport-0.26-batch-675
from
backport-0.26-batch-675-pr-27609
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| - A new RPC, `submitpackage`, has been added. It can be used to submit a list of raw hex | ||
| transactions to the mempool to be evaluated as a package using consensus and mempool policy rules. | ||
| These policies include package CPFP, allowing a child with high fees to bump a parent below the | ||
| mempool minimum feerate (but not minimum relay feerate). | ||
|
|
||
| - Warning: successful submission does not mean the transactions will propagate throughout the | ||
| network, as package relay is not supported. | ||
|
|
||
| - Not all features are available. The package is limited to a child with all of its | ||
| unconfirmed parents, and no parent may spend the output of another parent. Also, package | ||
| RBF is not supported. Refer to doc/policy/packages.md for more details on package policies | ||
| and limitations. | ||
|
|
||
| - This RPC is experimental. Its interface may change. |
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.
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.
🧹 Nitpick (assertive)
Remove unused import
The
assert_fee_amountimport is not used in this test file.from test_framework.util import ( assert_equal, - assert_fee_amount, assert_raises_rpc_error, )📝 Committable suggestion
🧰 Tools
🪛 Ruff (0.12.2)
22-22:
test_framework.util.assert_fee_amountimported but unusedRemove unused import:
test_framework.util.assert_fee_amount(F401)
🤖 Prompt for AI Agents