make checksum less noisy (#23)
This commit is contained in:
@@ -16,8 +16,6 @@ do
|
||||
const char * ${COIN}_wallet2_api_c_h_sha256 = "${COIN_wallet2_api_c_h_sha256}";
|
||||
const char * ${COIN}_wallet2_api_c_cpp_sha256 = "${COIN_wallet2_api_c_cpp_sha256}";
|
||||
const char * ${COIN}_wallet2_api_c_exp_sha256 = "${COIN_wallet2_api_c_exp_sha256}";
|
||||
const int ${COIN}_libwallet2_api_c_version = ${COIN_libwallet2_api_c_version};
|
||||
const char * ${COIN}_wallet2_api_c_date = "${COIN_libwallet2_api_c_date}";
|
||||
#endif
|
||||
EOF
|
||||
cat > impls/monero.dart/lib/src/checksum_${coin}.dart << EOF
|
||||
@@ -25,7 +23,6 @@ EOF
|
||||
const String wallet2_api_c_h_sha256 = "${COIN_wallet2_api_c_h_sha256}";
|
||||
const String wallet2_api_c_cpp_sha256 = "${COIN_wallet2_api_c_cpp_sha256}";
|
||||
const String wallet2_api_c_exp_sha256 = "${COIN_wallet2_api_c_exp_sha256}";
|
||||
const int libwallet2_api_c_version = ${COIN_libwallet2_api_c_version};
|
||||
const String wallet2_api_c_date = "${COIN_libwallet2_api_c_date}";
|
||||
EOF
|
||||
done
|
||||
|
||||
|
||||
@@ -3945,24 +3945,6 @@ String MONERO_checksum_wallet2_api_c_exp() {
|
||||
return s.cast<Utf8>().toDartString();
|
||||
}
|
||||
|
||||
int MONERO_checksum_wallet2_api_c_version() {
|
||||
debugStart?.call('MONERO_checksum_wallet2_api_c_version');
|
||||
lib ??= MoneroC(DynamicLibrary.open(libPath));
|
||||
|
||||
final s = lib!.MONERO_checksum_wallet2_api_c_version();
|
||||
debugEnd?.call('MONERO_checksum_wallet2_api_c_version');
|
||||
return s;
|
||||
}
|
||||
|
||||
String MONERO_checksum_wallet2_api_c_date() {
|
||||
debugStart?.call('MONERO_checksum_wallet2_api_c_date');
|
||||
lib ??= MoneroC(DynamicLibrary.open(libPath));
|
||||
|
||||
final s = lib!.MONERO_checksum_wallet2_api_c_date();
|
||||
debugEnd?.call('MONERO_checksum_wallet2_api_c_date');
|
||||
return s.cast<Utf8>().toDartString();
|
||||
}
|
||||
|
||||
void MONERO_free(Pointer<Void> wlptr) {
|
||||
debugStart?.call('MONERO_free');
|
||||
lib ??= MoneroC(DynamicLibrary.open(libPath));
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
// ignore_for_file: constant_identifier_names
|
||||
const String wallet2_api_c_h_sha256 = "b9c712f59873da33dfc4c9caa4850ee5cba4bf7310179dfc33af9d3029d9855a";
|
||||
const String wallet2_api_c_cpp_sha256 = "7edf0905802faa48f66362a6d2ebf25f458107b67cd4abc6d01886c40f5634ef";
|
||||
const String wallet2_api_c_exp_sha256 = "bfac0ee584f50bd9263ae453103530c2594b21aec8ae7622e8c192c027f5d6af";
|
||||
const int libwallet2_api_c_version = 48;
|
||||
const String wallet2_api_c_date = "2024-07-30 15:06:42 +0000";
|
||||
const String wallet2_api_c_h_sha256 = "e8db0ef0324a153f5e3ecca4c0db23c54f4576e84988f04bd4f11c1142f9d7ad";
|
||||
const String wallet2_api_c_cpp_sha256 = "d1842cded0040c16b8886878681c8938005f69ec1378fa9be68a430311cc3666";
|
||||
const String wallet2_api_c_exp_sha256 = "c8913ac41068f67b57c9b0a3c7dd8973e3c1273b66c2ff0aadb0003931da748c";
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
// ignore_for_file: constant_identifier_names
|
||||
const String wallet2_api_c_h_sha256 = "1f4688b9ddacbc33e82426c50480ab8e3727718f59e577080a7dc6dca48bcf9d";
|
||||
const String wallet2_api_c_cpp_sha256 = "f2b818197f90711d938c17ce0513b110b1e2b4fe9765f54be7afa5a3b4ad8077";
|
||||
const String wallet2_api_c_h_sha256 = "8a8d386dd5d996c89a0586c55b295ef95ca584bf1ffa26255152b291910a0a77";
|
||||
const String wallet2_api_c_cpp_sha256 = "ed400bd9c4709383ffd42a9fbe68be37a2a47a42f92eacaf3a2dbd248c422739";
|
||||
const String wallet2_api_c_exp_sha256 = "dd9874cc43a6a74bbfa3e49c4ad3f835ff22efd3de8f679cc91c4af3d931aedb";
|
||||
const int libwallet2_api_c_version = 25;
|
||||
const String wallet2_api_c_date = "2024-07-30 15:13:50 +0000";
|
||||
|
||||
@@ -5447,25 +5447,4 @@ class MoneroC {
|
||||
late final _MONERO_checksum_wallet2_api_c_exp =
|
||||
_MONERO_checksum_wallet2_api_c_expPtr.asFunction<
|
||||
ffi.Pointer<ffi.Char> Function()>();
|
||||
|
||||
int MONERO_checksum_wallet2_api_c_version() {
|
||||
return _MONERO_checksum_wallet2_api_c_version();
|
||||
}
|
||||
|
||||
late final _MONERO_checksum_wallet2_api_c_versionPtr =
|
||||
_lookup<ffi.NativeFunction<ffi.Int Function()>>(
|
||||
'MONERO_checksum_wallet2_api_c_version');
|
||||
late final _MONERO_checksum_wallet2_api_c_version =
|
||||
_MONERO_checksum_wallet2_api_c_versionPtr.asFunction<int Function()>();
|
||||
|
||||
ffi.Pointer<ffi.Char> MONERO_checksum_wallet2_api_c_date() {
|
||||
return _MONERO_checksum_wallet2_api_c_date();
|
||||
}
|
||||
|
||||
late final _MONERO_checksum_wallet2_api_c_datePtr =
|
||||
_lookup<ffi.NativeFunction<ffi.Pointer<ffi.Char> Function()>>(
|
||||
'MONERO_checksum_wallet2_api_c_date');
|
||||
late final _MONERO_checksum_wallet2_api_c_date =
|
||||
_MONERO_checksum_wallet2_api_c_datePtr.asFunction<
|
||||
ffi.Pointer<ffi.Char> Function()>();
|
||||
}
|
||||
|
||||
@@ -5010,25 +5010,4 @@ class WowneroC {
|
||||
late final _WOWNERO_checksum_wallet2_api_c_exp =
|
||||
_WOWNERO_checksum_wallet2_api_c_expPtr.asFunction<
|
||||
ffi.Pointer<ffi.Char> Function()>();
|
||||
|
||||
int WOWNERO_checksum_wallet2_api_c_version() {
|
||||
return _WOWNERO_checksum_wallet2_api_c_version();
|
||||
}
|
||||
|
||||
late final _WOWNERO_checksum_wallet2_api_c_versionPtr =
|
||||
_lookup<ffi.NativeFunction<ffi.Int Function()>>(
|
||||
'WOWNERO_checksum_wallet2_api_c_version');
|
||||
late final _WOWNERO_checksum_wallet2_api_c_version =
|
||||
_WOWNERO_checksum_wallet2_api_c_versionPtr.asFunction<int Function()>();
|
||||
|
||||
ffi.Pointer<ffi.Char> WOWNERO_checksum_wallet2_api_c_date() {
|
||||
return _WOWNERO_checksum_wallet2_api_c_date();
|
||||
}
|
||||
|
||||
late final _WOWNERO_checksum_wallet2_api_c_datePtr =
|
||||
_lookup<ffi.NativeFunction<ffi.Pointer<ffi.Char> Function()>>(
|
||||
'WOWNERO_checksum_wallet2_api_c_date');
|
||||
late final _WOWNERO_checksum_wallet2_api_c_date =
|
||||
_WOWNERO_checksum_wallet2_api_c_datePtr.asFunction<
|
||||
ffi.Pointer<ffi.Char> Function()>();
|
||||
}
|
||||
|
||||
@@ -3634,25 +3634,6 @@ String WOWNERO_checksum_wallet2_api_c_exp() {
|
||||
return s.cast<Utf8>().toDartString();
|
||||
}
|
||||
|
||||
int WOWNERO_checksum_wallet2_api_c_version() {
|
||||
debugStart?.call('WOWNERO_checksum_wallet2_api_c_version');
|
||||
lib ??= WowneroC(DynamicLibrary.open(libPath));
|
||||
|
||||
final s = lib!.WOWNERO_checksum_wallet2_api_c_version();
|
||||
debugEnd?.call('WOWNERO_checksum_wallet2_api_c_version');
|
||||
return s;
|
||||
}
|
||||
|
||||
String WOWNERO_checksum_wallet2_api_c_date() {
|
||||
debugStart?.call('WOWNERO_checksum_wallet2_api_c_date');
|
||||
lib ??= WowneroC(DynamicLibrary.open(libPath));
|
||||
|
||||
final s = lib!.WOWNERO_checksum_wallet2_api_c_date();
|
||||
debugEnd?.call('WOWNERO_checksum_wallet2_api_c_date');
|
||||
return s.cast<Utf8>().toDartString();
|
||||
}
|
||||
|
||||
|
||||
void WOWNERO_free(Pointer<Void> wlptr) {
|
||||
debugStart?.call('WOWNERO_free');
|
||||
lib ??= WowneroC(DynamicLibrary.open(libPath));
|
||||
|
||||
@@ -307,5 +307,3 @@ _MONERO_free
|
||||
_MONERO_checksum_wallet2_api_c_h
|
||||
_MONERO_checksum_wallet2_api_c_cpp
|
||||
_MONERO_checksum_wallet2_api_c_exp
|
||||
_MONERO_checksum_wallet2_api_c_version
|
||||
_MONERO_checksum_wallet2_api_c_date
|
||||
@@ -1,8 +1,6 @@
|
||||
#ifndef MONEROC_CHECKSUMS
|
||||
#define MONEROC_CHECKSUMS
|
||||
const char * MONERO_wallet2_api_c_h_sha256 = "b9c712f59873da33dfc4c9caa4850ee5cba4bf7310179dfc33af9d3029d9855a";
|
||||
const char * MONERO_wallet2_api_c_cpp_sha256 = "7edf0905802faa48f66362a6d2ebf25f458107b67cd4abc6d01886c40f5634ef";
|
||||
const char * MONERO_wallet2_api_c_exp_sha256 = "bfac0ee584f50bd9263ae453103530c2594b21aec8ae7622e8c192c027f5d6af";
|
||||
const int MONERO_libwallet2_api_c_version = 48;
|
||||
const char * MONERO_wallet2_api_c_date = "2024-07-30 15:06:42 +0000";
|
||||
const char * MONERO_wallet2_api_c_h_sha256 = "e8db0ef0324a153f5e3ecca4c0db23c54f4576e84988f04bd4f11c1142f9d7ad";
|
||||
const char * MONERO_wallet2_api_c_cpp_sha256 = "d1842cded0040c16b8886878681c8938005f69ec1378fa9be68a430311cc3666";
|
||||
const char * MONERO_wallet2_api_c_exp_sha256 = "c8913ac41068f67b57c9b0a3c7dd8973e3c1273b66c2ff0aadb0003931da748c";
|
||||
#endif
|
||||
|
||||
@@ -2029,12 +2029,6 @@ const char* MONERO_checksum_wallet2_api_c_cpp() {
|
||||
const char* MONERO_checksum_wallet2_api_c_exp() {
|
||||
return MONERO_wallet2_api_c_exp_sha256;
|
||||
}
|
||||
int MONERO_checksum_wallet2_api_c_version() {
|
||||
return MONERO_libwallet2_api_c_version;
|
||||
}
|
||||
const char* MONERO_checksum_wallet2_api_c_date() {
|
||||
return MONERO_wallet2_api_c_date;
|
||||
}
|
||||
// i hate windows
|
||||
|
||||
void MONERO_free(void* ptr) {
|
||||
|
||||
@@ -1036,8 +1036,6 @@ extern ADDAPI void MONERO_free(void* ptr);
|
||||
extern ADDAPI const char* MONERO_checksum_wallet2_api_c_h();
|
||||
extern ADDAPI const char* MONERO_checksum_wallet2_api_c_cpp();
|
||||
extern ADDAPI const char* MONERO_checksum_wallet2_api_c_exp();
|
||||
extern ADDAPI int MONERO_checksum_wallet2_api_c_version();
|
||||
extern ADDAPI const char* MONERO_checksum_wallet2_api_c_date();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -1967,12 +1967,6 @@ const char* WOWNERO_checksum_wallet2_api_c_cpp() {
|
||||
const char* WOWNERO_checksum_wallet2_api_c_exp() {
|
||||
return WOWNERO_wallet2_api_c_exp_sha256;
|
||||
}
|
||||
int WOWNERO_checksum_wallet2_api_c_version() {
|
||||
return WOWNERO_libwallet2_api_c_version;
|
||||
}
|
||||
const char* WOWNERO_checksum_wallet2_api_c_date() {
|
||||
return WOWNERO_wallet2_api_c_date;
|
||||
}
|
||||
// i hate windows
|
||||
|
||||
void WOWNERO_free(void* ptr) {
|
||||
|
||||
@@ -1015,8 +1015,6 @@ extern ADDAPI void WOWNERO_free(void* ptr);
|
||||
extern ADDAPI const char* WOWNERO_checksum_wallet2_api_c_h();
|
||||
extern ADDAPI const char* WOWNERO_checksum_wallet2_api_c_cpp();
|
||||
extern ADDAPI const char* WOWNERO_checksum_wallet2_api_c_exp();
|
||||
extern ADDAPI int WOWNERO_checksum_wallet2_api_c_version();
|
||||
extern ADDAPI const char* WOWNERO_checksum_wallet2_api_c_date();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#ifndef MONEROC_CHECKSUMS
|
||||
#define MONEROC_CHECKSUMS
|
||||
const char * WOWNERO_wallet2_api_c_h_sha256 = "1f4688b9ddacbc33e82426c50480ab8e3727718f59e577080a7dc6dca48bcf9d";
|
||||
const char * WOWNERO_wallet2_api_c_cpp_sha256 = "f2b818197f90711d938c17ce0513b110b1e2b4fe9765f54be7afa5a3b4ad8077";
|
||||
const char * WOWNERO_wallet2_api_c_h_sha256 = "8a8d386dd5d996c89a0586c55b295ef95ca584bf1ffa26255152b291910a0a77";
|
||||
const char * WOWNERO_wallet2_api_c_cpp_sha256 = "ed400bd9c4709383ffd42a9fbe68be37a2a47a42f92eacaf3a2dbd248c422739";
|
||||
const char * WOWNERO_wallet2_api_c_exp_sha256 = "dd9874cc43a6a74bbfa3e49c4ad3f835ff22efd3de8f679cc91c4af3d931aedb";
|
||||
const int WOWNERO_libwallet2_api_c_version = 25;
|
||||
const char * WOWNERO_wallet2_api_c_date = "2024-07-30 15:13:50 +0000";
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user