summaryrefslogtreecommitdiff
path: root/impls/monero.rs/src/bindings.rs
diff options
context:
space:
mode:
authorsneurlax <sneurlax@gmail.com>2024-10-20 16:09:04 -0500
committersneurlax <sneurlax@gmail.com>2024-10-20 16:09:04 -0500
commit4d339e8bf5226c545526196cab4386bbcd1ddc5e (patch)
tree8700f4a9bc0659d4aa5a204ddf0cac9ed3fc2730 /impls/monero.rs/src/bindings.rs
parent5e9a87823c8b59ade0262f8789cede26728caf6c (diff)
add WIP check_tx_key
and reorganize and remove extraneous wallet2_api_c.h additions
Diffstat (limited to 'impls/monero.rs/src/bindings.rs')
-rw-r--r--impls/monero.rs/src/bindings.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/impls/monero.rs/src/bindings.rs b/impls/monero.rs/src/bindings.rs
index 556f5ad..b7543b1 100644
--- a/impls/monero.rs/src/bindings.rs
+++ b/impls/monero.rs/src/bindings.rs
@@ -1244,6 +1244,17 @@ extern "C" {
) -> *const ::std::os::raw::c_char;
}
extern "C" {
+ pub fn MONERO_Wallet_checkTxKey(
+ wallet_ptr: *mut ::std::os::raw::c_void,
+ txid: *const ::std::os::raw::c_char,
+ tx_key: *const ::std::os::raw::c_char,
+ address: *const ::std::os::raw::c_char,
+ received: *mut u64,
+ in_pool: *mut bool,
+ confirmations: *mut u64,
+ ) -> bool;
+}
+extern "C" {
pub fn MONERO_Wallet_signMessage(
wallet_ptr: *mut ::std::os::raw::c_void,
message: *const ::std::os::raw::c_char,