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

Fixed direct-send RPC-API to accept list of UTXOs #1713

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

amitx13
Copy link

@amitx13 amitx13 commented Jun 9, 2024

This PR fixes #1712 and addresses joinmarket-webui/jam#772
Changes Made:

  1. Updated the direct-send API to accept a list of UTXOs specified by the user.
  2. Implemented backend logic to handle the selection of these UTXOs for the transaction.
  3. Added necessary validation checks to ensure the specified UTXOs are part of the user's wallet and are unfrozen.

src/jmclient/wallet_rpc.py Outdated Show resolved Hide resolved
src/jmclient/taker_utils.py Outdated Show resolved Hide resolved
@amitx13
Copy link
Author

amitx13 commented Jun 9, 2024

Thank you for the feedback. I will ensure the RPC-API maintains backwards compatibility and update the documentation as well.

@amitx13
Copy link
Author

amitx13 commented Jun 11, 2024

Hey @kristapsk I am done with the requested changes. Could you please take a look when you have a moment 🙏

@amitx13 amitx13 requested a review from kristapsk June 11, 2024 10:56
@amitx13
Copy link
Author

amitx13 commented Jun 16, 2024

Hey @kristapsk if you have a moment, could you please take a look at docs/api/wallet-rpc.yaml I tried everything from my side but still, OpenAPI Diff keeps failing. It will be a great help for me as well as for JAM and JoinMarket users

@kristapsk
Copy link
Member

Hey @kristapsk if you have a moment, could you please take a look at docs/api/wallet-rpc.yaml I tried everything from my side but still, OpenAPI Diff keeps failing. It will be a great help for me as well as for JAM and JoinMarket users

I'm quite busy with other stuff currently, but will try to take a look at some point, if you will not be able to solve that yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants