From 4d339e8bf5226c545526196cab4386bbcd1ddc5e Mon Sep 17 00:00:00 2001 From: sneurlax Date: Sun, 20 Oct 2024 16:09:04 -0500 Subject: add WIP check_tx_key and reorganize and remove extraneous wallet2_api_c.h additions --- impls/monero.rs/src/bindings.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'impls/monero.rs/src/bindings.rs') 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 @@ -1243,6 +1243,17 @@ extern "C" { txid: *const ::std::os::raw::c_char, ) -> *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, -- cgit v1.2.3