summaryrefslogtreecommitdiff
path: root/impls/monero.dart/lib
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2024-12-04 12:33:43 -0500
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2024-12-04 12:33:43 -0500
commit5b135aa861c36f399002cef1c83ba73c64bc337e (patch)
tree0cf5ee3271dc17f4c73d5e66626bbdaf15754338 /impls/monero.dart/lib
parentecc31787c2174a829848aac403bd13e663fe33c3 (diff)
parent2a38bf29618a8ce163f9d6f83b7ae86924752e32 (diff)
Merge branch 'develop' into zano
Diffstat (limited to 'impls/monero.dart/lib')
-rw-r--r--impls/monero.dart/lib/monero.dart17
-rw-r--r--impls/monero.dart/lib/src/checksum_monero.dart6
-rw-r--r--impls/monero.dart/lib/src/checksum_wownero.dart6
-rw-r--r--impls/monero.dart/lib/src/generated_bindings_monero.g.dart33
-rw-r--r--impls/monero.dart/lib/src/generated_bindings_wownero.g.dart33
-rw-r--r--impls/monero.dart/lib/wownero.dart18
6 files changed, 6 insertions, 107 deletions
diff --git a/impls/monero.dart/lib/monero.dart b/impls/monero.dart/lib/monero.dart
index 7b6eac3..62264c1 100644
--- a/impls/monero.dart/lib/monero.dart
+++ b/impls/monero.dart/lib/monero.dart
@@ -2143,23 +2143,6 @@ int Wallet_daemonBlockChainHeight(wallet ptr) {
return daemonBlockChainHeight;
}
-int Wallet_daemonBlockChainHeight_cached(wallet ptr) {
- debugStart?.call('MONERO_Wallet_daemonBlockChainHeight_cached');
- lib ??= MoneroC(DynamicLibrary.open(libPath));
- final daemonBlockChainHeight =
- lib!.MONERO_Wallet_daemonBlockChainHeight_cached(ptr);
- debugEnd?.call('MONERO_Wallet_daemonBlockChainHeight_cached');
- return daemonBlockChainHeight;
-}
-
-void Wallet_daemonBlockChainHeight_runThread(wallet ptr, int seconds) {
- debugStart?.call('MONERO_Wallet_daemonBlockChainHeight_enableRefresh');
- lib ??= MoneroC(DynamicLibrary.open(libPath));
- final ret = lib!.MONERO_Wallet_daemonBlockChainHeight_runThread(ptr, seconds);
- debugEnd?.call('MONERO_Wallet_daemonBlockChainHeight_enableRefresh');
- return ret;
-}
-
bool Wallet_synchronized(wallet ptr) {
debugStart?.call('MONERO_Wallet_synchronized');
lib ??= MoneroC(DynamicLibrary.open(libPath));
diff --git a/impls/monero.dart/lib/src/checksum_monero.dart b/impls/monero.dart/lib/src/checksum_monero.dart
index 1092533..603eb21 100644
--- a/impls/monero.dart/lib/src/checksum_monero.dart
+++ b/impls/monero.dart/lib/src/checksum_monero.dart
@@ -1,4 +1,4 @@
// ignore_for_file: constant_identifier_names
-const String wallet2_api_c_h_sha256 = "198a27486ce4f014b737f52ec2879a90838c3b3ca088de8dc7d55b79a10f4a5b";
-const String wallet2_api_c_cpp_sha256 = "22b0c9dd542fb55edfe9e17da67e97ddf5f80bcdd3e126e1bd64cce54234bde1-b089f9ee69924882c5d14dd1a6991deb05d9d1cd";
-const String wallet2_api_c_exp_sha256 = "c1f785d62709fd8b849063ecf4fe8854d9e3b05b568b9716de98d33e7bdaf522";
+const String wallet2_api_c_h_sha256 = "9e80c4b59a0509aa02fbf01e8df2881b89f82225d1765bfa7856cbdbaf7af116";
+const String wallet2_api_c_cpp_sha256 = "d229507db508e574bd2badf4819a38dbead8c16a84311ad32c22c887a6003439-b089f9ee69924882c5d14dd1a6991deb05d9d1cd";
+const String wallet2_api_c_exp_sha256 = "d0f95f1f3bc49f1f59fe4eb0b61826128d7d3bb75405d5a01a252d02db03097d";
diff --git a/impls/monero.dart/lib/src/checksum_wownero.dart b/impls/monero.dart/lib/src/checksum_wownero.dart
index 7d501c6..615a989 100644
--- a/impls/monero.dart/lib/src/checksum_wownero.dart
+++ b/impls/monero.dart/lib/src/checksum_wownero.dart
@@ -1,4 +1,4 @@
// ignore_for_file: constant_identifier_names
-const String wallet2_api_c_h_sha256 = "8a8d386dd5d996c89a0586c55b295ef95ca584bf1ffa26255152b291910a0a77";
-const String wallet2_api_c_cpp_sha256 = "07d67f34a07869aaa4af6ca04e142dbad2fb1fba0e2ebdefd22bc333fd982e25-e25963cbc11ca0a0fe5eb34b9bd7c72e4f51b795";
-const String wallet2_api_c_exp_sha256 = "3673e40e1a7115552276d1d541f6e4d5a0fef47c40fff7b988f49923af84c8a4";
+const String wallet2_api_c_h_sha256 = "f99009d1ca1d1c783cc9aa0fb63f680d48753b88124fb5de2079c57b7e34c827";
+const String wallet2_api_c_cpp_sha256 = "880add77ec8c77d8054a6f21e996d6d08a37ef84e10df7220630426fd048b43c-dd46a31f3cab67b316e9239b15acf7d5cea60aa9";
+const String wallet2_api_c_exp_sha256 = "5f53ea8bbe66a5e5aa6cbc4ca00695900e08589cfd32062e88965a24252d05ba";
diff --git a/impls/monero.dart/lib/src/generated_bindings_monero.g.dart b/impls/monero.dart/lib/src/generated_bindings_monero.g.dart
index cd2124b..77e2899 100644
--- a/impls/monero.dart/lib/src/generated_bindings_monero.g.dart
+++ b/impls/monero.dart/lib/src/generated_bindings_monero.g.dart
@@ -2763,39 +2763,6 @@ class MoneroC {
_MONERO_Wallet_daemonBlockChainHeightPtr.asFunction<
int Function(ffi.Pointer<ffi.Void>)>();
- int MONERO_Wallet_daemonBlockChainHeight_cached(
- ffi.Pointer<ffi.Void> wallet_ptr,
- ) {
- return _MONERO_Wallet_daemonBlockChainHeight_cached(
- wallet_ptr,
- );
- }
-
- late final _MONERO_Wallet_daemonBlockChainHeight_cachedPtr =
- _lookup<ffi.NativeFunction<ffi.Uint64 Function(ffi.Pointer<ffi.Void>)>>(
- 'MONERO_Wallet_daemonBlockChainHeight_cached');
- late final _MONERO_Wallet_daemonBlockChainHeight_cached =
- _MONERO_Wallet_daemonBlockChainHeight_cachedPtr.asFunction<
- int Function(ffi.Pointer<ffi.Void>)>();
-
- void MONERO_Wallet_daemonBlockChainHeight_runThread(
- ffi.Pointer<ffi.Void> wallet_ptr,
- int seconds,
- ) {
- return _MONERO_Wallet_daemonBlockChainHeight_runThread(
- wallet_ptr,
- seconds,
- );
- }
-
- late final _MONERO_Wallet_daemonBlockChainHeight_runThreadPtr = _lookup<
- ffi
- .NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Int)>>(
- 'MONERO_Wallet_daemonBlockChainHeight_runThread');
- late final _MONERO_Wallet_daemonBlockChainHeight_runThread =
- _MONERO_Wallet_daemonBlockChainHeight_runThreadPtr.asFunction<
- void Function(ffi.Pointer<ffi.Void>, int)>();
-
int MONERO_Wallet_daemonBlockChainTargetHeight(
ffi.Pointer<ffi.Void> wallet_ptr,
) {
diff --git a/impls/monero.dart/lib/src/generated_bindings_wownero.g.dart b/impls/monero.dart/lib/src/generated_bindings_wownero.g.dart
index 2fe1eef..b7d1321 100644
--- a/impls/monero.dart/lib/src/generated_bindings_wownero.g.dart
+++ b/impls/monero.dart/lib/src/generated_bindings_wownero.g.dart
@@ -2740,39 +2740,6 @@ class WowneroC {
_WOWNERO_Wallet_daemonBlockChainHeightPtr.asFunction<
int Function(ffi.Pointer<ffi.Void>)>();
- int WOWNERO_Wallet_daemonBlockChainHeight_cached(
- ffi.Pointer<ffi.Void> wallet_ptr,
- ) {
- return _WOWNERO_Wallet_daemonBlockChainHeight_cached(
- wallet_ptr,
- );
- }
-
- late final _WOWNERO_Wallet_daemonBlockChainHeight_cachedPtr =
- _lookup<ffi.NativeFunction<ffi.Uint64 Function(ffi.Pointer<ffi.Void>)>>(
- 'WOWNERO_Wallet_daemonBlockChainHeight_cached');
- late final _WOWNERO_Wallet_daemonBlockChainHeight_cached =
- _WOWNERO_Wallet_daemonBlockChainHeight_cachedPtr.asFunction<
- int Function(ffi.Pointer<ffi.Void>)>();
-
- void WOWNERO_Wallet_daemonBlockChainHeight_runThread(
- ffi.Pointer<ffi.Void> wallet_ptr,
- int seconds,
- ) {
- return _WOWNERO_Wallet_daemonBlockChainHeight_runThread(
- wallet_ptr,
- seconds,
- );
- }
-
- late final _WOWNERO_Wallet_daemonBlockChainHeight_runThreadPtr = _lookup<
- ffi
- .NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Int)>>(
- 'WOWNERO_Wallet_daemonBlockChainHeight_runThread');
- late final _WOWNERO_Wallet_daemonBlockChainHeight_runThread =
- _WOWNERO_Wallet_daemonBlockChainHeight_runThreadPtr.asFunction<
- void Function(ffi.Pointer<ffi.Void>, int)>();
-
int WOWNERO_Wallet_daemonBlockChainTargetHeight(
ffi.Pointer<ffi.Void> wallet_ptr,
) {
diff --git a/impls/monero.dart/lib/wownero.dart b/impls/monero.dart/lib/wownero.dart
index d355005..56bd43e 100644
--- a/impls/monero.dart/lib/wownero.dart
+++ b/impls/monero.dart/lib/wownero.dart
@@ -2108,24 +2108,6 @@ int Wallet_daemonBlockChainHeight(wallet ptr) {
return daemonBlockChainHeight;
}
-int Wallet_daemonBlockChainHeight_cached(wallet ptr) {
- debugStart?.call('WOWNERO_Wallet_daemonBlockChainHeight_cached');
- lib ??= WowneroC(DynamicLibrary.open(libPath));
- final daemonBlockChainHeight =
- lib!.WOWNERO_Wallet_daemonBlockChainHeight_cached(ptr);
- debugEnd?.call('WOWNERO_Wallet_daemonBlockChainHeight_cached');
- return daemonBlockChainHeight;
-}
-
-void Wallet_daemonBlockChainHeight_runThread(wallet ptr, int seconds) {
- debugStart?.call('WOWNERO_Wallet_daemonBlockChainHeight_enableRefresh');
- lib ??= WowneroC(DynamicLibrary.open(libPath));
- final ret =
- lib!.WOWNERO_Wallet_daemonBlockChainHeight_runThread(ptr, seconds);
- debugEnd?.call('WOWNERO_Wallet_daemonBlockChainHeight_enableRefresh');
- return ret;
-}
-
bool Wallet_synchronized(wallet ptr) {
debugStart?.call('WOWNERO_Wallet_synchronized');
lib ??= WowneroC(DynamicLibrary.open(libPath));