-
Notifications
You must be signed in to change notification settings - Fork 7
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
Replace monero-wallet-rpc with monero bindings #114
Comments
In any case we need to make sure our implementation is modular enough that we can still realistically switch later. |
Yes definitely. It should be reasonably simple to allow two exclusionary cargo features (monero-native and monero-rpc) to switch between the two at compile time. I think especially for the asb we should allow users to keep using monero-wallet-rpc. |
re:
after finishing monero_c/impls/monero.rs (just check_tx_key and get_version left now), I want to proceed to start working on this using my monero-rust crate (which will change soon: right now it's is FFI-focused, but all FFI functionality is going to be removed to another crate and monero-rust itself will just provide the same API you specified for monero_c/impls/monero.rs, but in pure rust using monero-wallet & co. Is that API you specified "all" I need to do? I'll have to rope cuprate in to get it working completely but it's ready. |
I'm glad to to hear that all the APIs needed have been implemented. We're currently very busy with #109 but afterwards, we'll tackle this issue. As I see it: We chose to use FFI instead of monero-serai because of the stability it provides, it's security guarantees and it's similiar behaviour to
Yes, that's all we are gonna need for now. Thank you again for your effort. We really do appreciate it.
What do you need Cuprate for? |
kayaba mentioned that there's a scanner included in monero-wallet so I may not actually need cuprate for anything |
Currently we are dependent on
monero-wallet-rpc
which causes a few issues:monero-wallet-rpc
process on exit #21)monero-wallet-rpc
on startup which introduces complexityWe should replace this with native bindings. I see two ways to do this:
monero_c
. @sneurlax is working on in this PRwallet2.h
which is the backbone for monero_cI prefer option 1 for now. Once serai's implementation has been audited we can consider switching.
The text was updated successfully, but these errors were encountered: