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 /taker/stop endpoint to RPC #1137

Merged
merged 1 commit into from
Jan 6, 2022
Merged

Add /taker/stop endpoint to RPC #1137

merged 1 commit into from
Jan 6, 2022

Conversation

AdamISZ
Copy link
Member

@AdamISZ AdamISZ commented Jan 1, 2022

Prior to this commit, if a user has attempted
a coinjoin with /taker/coinjoin but a problem
occurs (such as an unresponsive maker), they
are not able to abort the protocol but must wait
until the taker_finished event is triggered.
After this commit a GET request to the endpoint
defined as /wallet/walletname/taker/stop will
force-stop the coinjoin attempt (similar to
quitting the script in CLI). This will reset the
wallet daemon state to CJ_NOT_RUNNING.

Prior to this commit, if a user has attempted
a coinjoin with /taker/coinjoin but a problem
occurs (such as an unresponsive maker), they
are not able to abort the protocol but must wait
until the taker_finished event is triggered.
After this commit a GET request to the endpoint
defined as /wallet/walletname/taker/stop will
force-stop the coinjoin attempt (similar to
quitting the script in CLI). This will reset the
wallet daemon state to CJ_NOT_RUNNING.
@AdamISZ
Copy link
Member Author

AdamISZ commented Jan 6, 2022

Merging (the reason I am merging some of these RPC PRs with little waiting or review is so that people actually wanting to test the RPC can avoid these bugs, and that it has no cross-effects on the pre-existing non-RPC code; obviously it would be far better if some people actually reviewed them, but it's not currently in active use by users so not really dangerous).

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.

1 participant