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

[WIP] bindings: implement a generic interface #14

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

pythcoiner
Copy link
Owner

@pythcoiner pythcoiner commented Jan 3, 2025

This PR introduce an abstracted interface for ffi bindings.
Approach:

  • If the consumer want to initiate a coinjoin, it simply have to call initiate_coinjoin().
  • If the consumer want to join a pool, there is 2 steps:
    • call list_pool() an select a pool to join
    • call join_coinjoin() w/ selected pool

@pythcoiner pythcoiner changed the title bindings: implement a generic interface [WIP] bindings: implement a generic interface Jan 3, 2025
@pythcoiner pythcoiner force-pushed the interface branch 2 times, most recently from 0a4e1e8 to dbd846f Compare January 3, 2025 06:46
@pythcoiner pythcoiner force-pushed the interface branch 3 times, most recently from f52f842 to eba7f95 Compare January 19, 2025 07:29
@pythcoiner
Copy link
Owner Author

pythcoiner commented Jan 19, 2025

update: the rust side of interface is almost implemented, i've start bindings to C++

note: I've also added a convenience function list_coins() to interface, it's a uggly hack but useful at this point for testing purpose

@pythcoiner pythcoiner force-pushed the interface branch 2 times, most recently from b927f4f to d8be6a6 Compare January 19, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant