Skip to content

Commit

Permalink
updated checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCyjaneK committed Jul 30, 2024
1 parent c624a92 commit a0be904
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions generate_checksum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ do
COIN_wallet2_api_c_h_sha256=$(sha256sum ${coin}_libwallet2_api_c/src/main/cpp/wallet2_api_c.h | xargs | awk '{ print $1 }')
COIN_wallet2_api_c_cpp_sha256=$(sha256sum ${coin}_libwallet2_api_c/src/main/cpp/wallet2_api_c.cpp | xargs | awk '{ print $1 }')
COIN_wallet2_api_c_exp_sha256=$(sha256sum ${coin}_libwallet2_api_c/${coin}_libwallet2_api_c.exp | xargs | awk '{ print $1 }')
COIN_libwallet2_api_c_version=$(git log --oneline -- ${coin}_libwallet2_api_c | wc -l)
COIN_libwallet2_api_c_date=$(git log -1 --format=%ci -- ${coin}_libwallet2_api_c)
COIN_libwallet2_api_c_version=$(git log --exclude=${coin}_checksum.h --oneline -- ${coin}_libwallet2_api_c | wc -l)
COIN_libwallet2_api_c_date=$(git log --exclude=${coin}_checksum.h -1 --format=%ai -- ${coin}_libwallet2_api_c)

cat > ${coin}_libwallet2_api_c/src/main/cpp/${coin}_checksum.h << EOF
#ifndef MONEROC_CHECKSUMS
Expand Down
4 changes: 2 additions & 2 deletions impls/monero.dart/lib/src/checksum_monero.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
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 = 47;
const String wallet2_api_c_date = "2024-07-30 14:33:17 +0000";
const int libwallet2_api_c_version = 48;
const String wallet2_api_c_date = "2024-07-30 15:06:42 +0000";
4 changes: 2 additions & 2 deletions impls/monero.dart/lib/src/checksum_wownero.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
const String wallet2_api_c_h_sha256 = "1f4688b9ddacbc33e82426c50480ab8e3727718f59e577080a7dc6dca48bcf9d";
const String wallet2_api_c_cpp_sha256 = "f5047661949961d19a1dfadec0fa24e83911b2f7c4b658717edb5b50ab2055a1";
const String wallet2_api_c_exp_sha256 = "dd9874cc43a6a74bbfa3e49c4ad3f835ff22efd3de8f679cc91c4af3d931aedb";
const int libwallet2_api_c_version = 20;
const String wallet2_api_c_date = "2024-07-30 14:33:17 +0000";
const int libwallet2_api_c_version = 22;
const String wallet2_api_c_date = "2024-07-30 15:06:42 +0000";
7 changes: 5 additions & 2 deletions monero_libwallet2_api_c/src/main/cpp/monero_checksum.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#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 = 46;
const char * MONERO_wallet2_api_c_date = "2024-07-16 13:17:16 +0200";
const int MONERO_libwallet2_api_c_version = 48;
const char * MONERO_wallet2_api_c_date = "2024-07-30 15:06:42 +0000";
#endif
4 changes: 2 additions & 2 deletions wownero_libwallet2_api_c/src/main/cpp/wownero_checksum.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
const char * WOWNERO_wallet2_api_c_h_sha256 = "1f4688b9ddacbc33e82426c50480ab8e3727718f59e577080a7dc6dca48bcf9d";
const char * WOWNERO_wallet2_api_c_cpp_sha256 = "f5047661949961d19a1dfadec0fa24e83911b2f7c4b658717edb5b50ab2055a1";
const char * WOWNERO_wallet2_api_c_exp_sha256 = "dd9874cc43a6a74bbfa3e49c4ad3f835ff22efd3de8f679cc91c4af3d931aedb";
const int WOWNERO_libwallet2_api_c_version = 20;
const char * WOWNERO_wallet2_api_c_date = "2024-07-30 14:33:17 +0000";
const int WOWNERO_libwallet2_api_c_version = 22;
const char * WOWNERO_wallet2_api_c_date = "2024-07-30 15:06:42 +0000";
#endif

0 comments on commit a0be904

Please sign in to comment.