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

Add speeduptransaction RPC method #11537

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

lontivero
Copy link
Collaborator

@lontivero lontivero commented Sep 21, 2023

This PR adds the speeduptransaction RPC method which received the hash of the transaction to be speed up and returns the raw transaction that does it (using RBF or CPFP) the previous tx.

$ curl -s --user rpcuser:rpcpassword \
--data-binary '{"jsonrpc":"2.0", "id":"curltext", "method":"speeduptransaction", "params":["0f5cdf64a4138d7bbf95bdaf7b73619aae9137085edf69c057b18ff6dda1935f"]}' -H \
-- 'content-type: text/plain;' \
http://127.0.0.1:37128/TestNet%20Small/

This one and #11536 close: #11500

Copy link
Collaborator

@MarnixCroes MarnixCroes left a comment

Choose a reason for hiding this comment

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

tack f489f63

any specific reason to not automatically broadcast it?
for me it feels more intuitive to have the tx automatically broadcasted

@lontivero
Copy link
Collaborator Author

any specific reason to not automatically broadcast it?

Yes. It is not possible to know whether the user wants to broadcast it or not, or when.

@lontivero lontivero merged commit 7e649f7 into WalletWasabi:master Sep 25, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add RPC endpoints to accelerate and cancel transactions
2 participants