Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MrCyjaneK/monero_c
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d0b6284df75b2fdbc31abecece4c49d1c8ab08f8
Choose a base ref
..
head repository: MrCyjaneK/monero_c
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1915b32c108ea0e1bf261466d3cffa443ce04781
Choose a head ref
Showing with 23,678 additions and 6,349 deletions.
  1. +13 −3 .devcontainer/Dockerfile
  2. +2 −1 .devcontainer/devcontainer.json
  3. +0 −74 .github/workflows/dependencies_matches.yaml
  4. +64 −213 .github/workflows/full_check.yaml
  5. +1 −0 .gitignore
  6. +8 −31 .gitmodules
  7. +1 −1 README.md
  8. +10 −344 build_single.sh
  9. +10 −0 contrib/depends/.gitignore
  10. +240 −0 contrib/depends/Makefile
  11. +74 −0 contrib/depends/README.md
  12. +23 −0 contrib/depends/builders/darwin.mk
  13. +21 −0 contrib/depends/builders/default.mk
  14. +2 −0 contrib/depends/builders/linux.mk
  15. +1,815 −0 contrib/depends/config.guess
  16. +66 −0 contrib/depends/config.site.in
  17. +2,354 −0 contrib/depends/config.sub
  18. +53 −0 contrib/depends/description.md
  19. +292 −0 contrib/depends/funcs.mk
  20. +32 −0 contrib/depends/hosts/android.mk
  21. +23 −0 contrib/depends/hosts/darwin.mk
  22. +26 −0 contrib/depends/hosts/default.mk
  23. +18 −0 contrib/depends/hosts/freebsd.mk
  24. +24 −0 contrib/depends/hosts/ios.mk
  25. +32 −0 contrib/depends/hosts/linux.mk
  26. +11 −0 contrib/depends/hosts/mingw32.mk
  27. +165 −0 contrib/depends/packages.md
  28. +36 −0 contrib/depends/packages/android_ndk.mk
  29. +56 −0 contrib/depends/packages/boost.mk
  30. +15 −0 contrib/depends/packages/darwin_sdk.mk
  31. +30 −0 contrib/depends/packages/eudev.mk
  32. +28 −0 contrib/depends/packages/expat.mk
  33. +23 −0 contrib/depends/packages/freebsd_base.mk
  34. +30 −0 contrib/depends/packages/graphviz.mk
  35. +39 −0 contrib/depends/packages/gtest.mk
  36. +38 −0 contrib/depends/packages/hidapi.mk
  37. +27 −0 contrib/depends/packages/icu4c.mk
  38. +23 −0 contrib/depends/packages/libICE.mk
  39. +23 −0 contrib/depends/packages/libSM.mk
  40. +34 −0 contrib/depends/packages/libiconv.mk
  41. +39 −0 contrib/depends/packages/libusb.mk
  42. +20 −0 contrib/depends/packages/native_biplist.mk
  43. +25 −0 contrib/depends/packages/native_ccache.mk
  44. +28 −0 contrib/depends/packages/native_cctools.mk
  45. +26 −0 contrib/depends/packages/native_cdrkit.mk
  46. +29 −0 contrib/depends/packages/native_clang.mk
  47. +23 −0 contrib/depends/packages/native_cmake-unused.mk
  48. +17 −0 contrib/depends/packages/native_ds_store.mk
  49. +22 −0 contrib/depends/packages/native_libdmg-hfsplus.mk
  50. +28 −0 contrib/depends/packages/native_libtapi.mk
  51. +21 −0 contrib/depends/packages/native_mac_alias.mk
  52. +27 −0 contrib/depends/packages/native_protobuf.mk
  53. +63 −0 contrib/depends/packages/ncurses.mk
  54. +68 −0 contrib/depends/packages/openssl.mk
  55. +39 −0 contrib/depends/packages/packages.mk
  56. +22 −0 contrib/depends/packages/polyseed.mk
  57. +37 −0 contrib/depends/packages/protobuf.mk
  58. +29 −0 contrib/depends/packages/readline.mk
  59. +34 −0 contrib/depends/packages/sodium.mk
  60. +36 −0 contrib/depends/packages/unbound.mk
  61. +29 −0 contrib/depends/packages/unwind.mk
  62. +21 −0 contrib/depends/packages/xproto.mk
  63. +40 −0 contrib/depends/packages/zeromq.mk
  64. +11 −0 contrib/depends/patches/boost/fix_arm_arch.patch
  65. +28 −0 contrib/depends/patches/boost/fix_aroptions.patch
  66. +11 −0 contrib/depends/patches/boost/fix_io_control_hpp.patch
  67. +67 −0 contrib/depends/patches/cmake/cmake-1-fixes.patch
  68. +18 −0 contrib/depends/patches/darwin_sdk/fix_missing_definitions.patch
  69. +21 −0 contrib/depends/patches/hidapi/missing_win_include.patch
  70. +37 −0 contrib/depends/patches/icu4c/icu-001-dont-build-static-dynamic-twice.patch
  71. +13 −0 contrib/depends/patches/libiconv/fix-whitespace.patch
  72. +29 −0 contrib/depends/patches/native_biplist/sorted_list.patch
  73. +86 −0 contrib/depends/patches/native_cdrkit/cdrkit-deterministic.patch
  74. +72 −0 contrib/depends/patches/native_mac_alias/python3.patch
  75. +6,621 −0 contrib/depends/patches/ncurses/fallback.c
  76. +159 −0 contrib/depends/patches/protobuf/visibility.patch
  77. +25 −0 contrib/depends/patches/sodium/disable-glibc-getrandom-getentropy.patch
  78. +13 −0 contrib/depends/patches/sodium/fix-whitespace.patch
  79. +14 −0 contrib/depends/patches/unbound/disable-glibc-reallocarray.patch
  80. +11 −0 contrib/depends/patches/unwind/fix_obj_order.patch
  81. +11 −0 contrib/depends/patches/zeromq/fix_declaration.patch
  82. +202 −0 contrib/depends/toolchain.cmake.in
  83. +0 −1 external/Apple-Boost-BuildScript
  84. +0 −1 external/OpenSSL-for-iPhone
  85. +0 −64 external/alpine/libexecinfo/10-execinfo.patch
  86. +0 −24 external/alpine/libexecinfo/20-define-gnu-source.patch
  87. +0 −44 external/alpine/libexecinfo/30-linux-makefile.patch
  88. +0 −50 external/alpine/libexecinfo/APKBUILD
  89. +0 −1 external/ios-cmake
  90. +0 −32 external/ios/build_boost.sh
  91. +0 −18 external/ios/build_monero_all.sh
  92. +0 −28 external/ios/build_openssl.sh
  93. +0 −28 external/ios/build_sodium.sh
  94. +0 −38 external/ios/build_unbound.sh
  95. +0 −48 external/ios/build_wownero_seed.sh
  96. +0 −32 external/ios/build_zmq.sh
  97. +0 −13 external/ios/config.sh
  98. +0 −69 external/ios/install_missing_headers.sh
  99. +0 −147 external/ios/libsodium_apple-ios.sh
  100. +0 −1 external/libexpat
  101. +0 −1 external/libsodium
  102. +0 −1 external/libzmq
  103. +0 −54 external/macos/build_unbound.sh
  104. +0 −13 external/macos/config.sh
  105. +0 −1 external/polyseed
  106. +0 −1 external/unbound
  107. +0 −1 external/wownero-seed
  108. +0 −1 external/wownero-seed-0001-fix-duplicate-symbol-error.patch
  109. +0 −17 impls/monero.dart/lib/monero.dart
  110. +3 −3 impls/monero.dart/lib/src/checksum_monero.dart
  111. +3 −3 impls/monero.dart/lib/src/checksum_wownero.dart
  112. +0 −33 impls/monero.dart/lib/src/generated_bindings_monero.g.dart
  113. +0 −33 impls/monero.dart/lib/src/generated_bindings_wownero.g.dart
  114. +0 −18 impls/monero.dart/lib/wownero.dart
  115. +2 −2 impls/monero.ts/README.md
  116. +5 −5 impls/monero.ts/checksum.ts
  117. +3 −3 impls/monero.ts/checksum_monero.ts
  118. +3 −3 impls/monero.ts/checksum_wownero.ts
  119. +5 −0 impls/monero.ts/mod.ts
  120. +18 −3 impls/monero.ts/src/bindings.ts
  121. +53 −0 impls/monero.ts/src/coins.ts
  122. +85 −0 impls/monero.ts/src/coins_info.ts
  123. +57 −60 impls/monero.ts/src/pending_transaction.ts
  124. +2,242 −353 impls/monero.ts/src/symbols.ts
  125. +20 −13 impls/monero.ts/src/transaction_history.ts
  126. +106 −63 impls/monero.ts/src/transaction_info.ts
  127. +79 −0 impls/monero.ts/src/unsigned_transaction.ts
  128. +14 −18 impls/monero.ts/src/utils.ts
  129. +234 −212 impls/monero.ts/src/wallet.ts
  130. +130 −8 impls/monero.ts/src/wallet_manager.ts
  131. +36 −361 monero_libwallet2_api_c/CMakeLists.txt
  132. +0 −2 monero_libwallet2_api_c/monero_libwallet2_api_c.exp
  133. +3 −1 monero_libwallet2_api_c/src/main/cpp/helpers.cpp
  134. +18 −0 monero_libwallet2_api_c/src/main/cpp/helpers.hpp
  135. +3 −3 monero_libwallet2_api_c/src/main/cpp/monero_checksum.h
  136. +599 −22 monero_libwallet2_api_c/src/main/cpp/wallet2_api_c.cpp
  137. +0 −2 monero_libwallet2_api_c/src/main/cpp/wallet2_api_c.h
  138. +213 −212 ...und-sync-with-just-the-view-key.patch → 0001-wallet-background-sync-with-just-the-view-key.patch}
  139. +12 −11 ...lear_cache-when-targetting-iOS.patch → 0002-fix-missing-___clear_cache-when-targetting-iOS.patch}
  140. +0 −195 patches/monero/0003-airgap.patch
  141. +26 −31 patches/{wownero/0014-store-crash-fix.patch → monero/0003-store-crash-fix.patch}
  142. +4 −4 .../monero/{0016-uint64_t-missing-definition-fix.patch → 0004-uint64_t-missing-definition-fix.patch}
  143. +0 −137 patches/monero/0005-fix-build-issues.patch
  144. +16 −13 ...roper-error-handling-in-get_seed.patch → monero/0005-use-proper-error-handling-in-get_seed.patch}
  145. +201 −84 patches/monero/{0012-WIP-UR-functions.patch → 0006-UR-functions.patch}
  146. +0 −114 patches/monero/0006-macos-build-fix.patch
  147. +604 −0 patches/monero/0007-add-dummy-device-for-ledger.patch
  148. +0 −39 patches/monero/0007-fix-make-debug-test-target.patch
  149. +126 −113 patches/monero/{0001-polyseed.patch → 0008-polyseed.patch}
  150. +979 −0 patches/monero/0009-coin-control.patch
  151. +9 −9 patches/monero/0010-Add-hex-encoding-and-tx-key-getter-for-PendingTransc.patch
  152. +153 −0 patches/monero/0011-Add-recoverDeterministicWalletFromSpendKey.patch
  153. +65 −0 patches/monero/0012-add-monero-submodule-support.patch
  154. +0 −120 patches/monero/0013-android-ndk-version-bump.patch
  155. +104 −0 patches/monero/0013-fix-iOS-depends-build.patch
  156. +43 −0 patches/monero/0014-include-locale-only-when-targeting-WIN32.patch
  157. +0 −94 patches/monero/0014-rename-arm-armv7a.patch
  158. +0 −29 patches/monero/0017-added-deps.patch
  159. +0 −30 patches/monero/0018-fix-coin-control-patch.patch
  160. +0 −97 patches/monero/0019-fix-for-coin-control-patch.patch
  161. +0 −43 patches/monero/README.md
  162. +0 −31 patches/wownero/0001-Fix-wallet_api-compilation-target-https-git.wownero..patch
  163. +293 −326 ...und-sync-with-just-the-view-key.patch → 0001-wallet-background-sync-with-just-the-view-key.patch}
  164. +19 −0 patches/wownero/0002-fix-missing-___clear_cache-when-targetting-iOS.patch
  165. +32 −0 patches/wownero/0003-fix-is_trivially_copyable.patch
  166. +0 −170 patches/wownero/0004-airgap.patch
  167. +22 −22 patches/{monero/0011-store-crash-fix.patch → wownero/0004-store-crash-fix.patch}
  168. +0 −225 patches/wownero/0005-coin-control.patch
  169. +3 −3 ...wownero/{0015-uint64_t-missing-definition-fix.patch → 0005-uint64_t-missing-definition-fix.patch}
  170. +0 −137 patches/wownero/0006-fix-build.patch
  171. +16 −13 ...oper-error-handling-in-get_seed.patch → wownero/0006-use-proper-error-handling-in-get_seed.patch}
  172. +1,036 −0 patches/wownero/0007-UR-functions.patch
  173. +0 −114 patches/wownero/0007-macos-build-fix.patch
  174. +0 −58 patches/wownero/0008-FIX-wallet-listener-crashing.patch
  175. +76 −52 .../{monero/0016-add-dummy-device-for-ledger.patch → wownero/0008-add-dummy-device-for-ledger.patch}
  176. +0 −33 patches/wownero/0009-fix-missing-___clear_cache-when-targetting-iOS.patch
  177. +319 −154 patches/wownero/{0002-polyseed.patch → 0009-polyseed.patch}
  178. +0 −613 patches/wownero/0010-build-wownero-seed.patch
  179. +132 −55 patches/{monero/0004-coin-control.patch → wownero/0010-coin-control.patch}
  180. +68 −0 patches/wownero/0011-Add-hex-encoding-and-tx-key-getter-for-PendingTransc.patch
  181. +0 −120 patches/wownero/0011-android-ndk-version-bump.patch
  182. +9 −9 ...ministicWalletFromSpendKey.patch → wownero/0012-Add-recoverDeterministicWalletFromSpendKey.patch}
  183. +0 −94 patches/wownero/0012-rename-arm-armv7a.patch
  184. +65 −0 patches/wownero/0013-add-monero-submodule-support.patch
  185. +104 −0 patches/wownero/0014-fix-iOS-depends-build.patch
  186. +43 −0 patches/wownero/0015-include-locale-only-when-targeting-WIN32.patch
  187. +0 −35 patches/wownero/README.md
  188. +15 −61 tests/compare.ts
  189. +4 −0 tests/deno.lock
  190. +632 −0 tests/integration.test.ts
  191. +4 −4 tests/utils.ts
  192. +1 −1 wownero
  193. +551 −17 wownero_libwallet2_api_c/src/main/cpp/wallet2_api_c.cpp
  194. +0 −2 wownero_libwallet2_api_c/src/main/cpp/wallet2_api_c.h
  195. +3 −3 wownero_libwallet2_api_c/src/main/cpp/wownero_checksum.h
  196. +1 −0 wownero_libwallet2_api_c/wownero-seed
  197. +0 −2 wownero_libwallet2_api_c/wownero_libwallet2_api_c.exp
16 changes: 13 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM ghcr.io/cirruslabs/flutter:3.24.3
# FROM debian:bookworm
SHELL ["/bin/bash", "-c"]

# Install dependencies

@@ -10,16 +11,25 @@ RUN wget http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-
&& rm libtinfo5.deb

RUN apt update \
&& apt install -y wget build-essential pkg-config autoconf libtool ccache make cmake gcc g++ git curl lbzip2 libtinfo6 gperf gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 gcc-mingw-w64-i686 g++-mingw-w64-i686 build-essential pkg-config autoconf libtool ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf unzip python-is-python3 build-essential pkg-config autoconf libtool ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf gcc-aarch64-linux-gnu g++-aarch64-linux-gnu gcc-i686-linux-gnu g++-i686-linux-gnu pkg-config autoconf libtool ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf python-is-python3 zsh llvm libclang1-18 libc++-18-dev clang
&& apt install -y pigz wget build-essential pkg-config autoconf libtool ccache make cmake gcc g++ git curl lbzip2 libtinfo6 gperf gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 gcc-mingw-w64-i686 g++-mingw-w64-i686 build-essential pkg-config autoconf libtool ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf unzip python-is-python3 build-essential pkg-config autoconf libtool ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf gcc-aarch64-linux-gnu g++-aarch64-linux-gnu gcc-i686-linux-gnu g++-i686-linux-gnu pkg-config autoconf libtool ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf python-is-python3 zsh llvm libclang1-18 libc++-18-dev clang


RUN bash -c 'if [[ "$(uname -m)" == "aarch64" || "$(uname -m)" == "arm64" ]] then sudo rm -rf /opt/android-sdk-linux/platform-tools; fi'

# Install zsh and configure it

ENV DENO_VERSION=v2.0.3
RUN if [[ "$(uname -m)" == "aarch64" || "$(uname -m)" == "arm64" ]] then export DENO_ARCH=aarch64-unknown-linux-gnu; fi; \
if [[ "$(uname -m)" == "x86_64" || "$(uname -m)" == "amd64" ]] then export DENO_ARCH=x86_64-unknown-linux-gnu; fi; \
wget -O /tmp/deno.zip "https://github.com/denoland/deno/releases/download/${DENO_VERSION}/deno-${DENO_ARCH}.zip" && \
cd /tmp && \
unzip /tmp/deno.zip && \
mv deno /usr/local/bin && \
rm -rf deno deno.zip

USER ubuntu

RUN git config --global --add safe.directory '*'
RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.0/zsh-in-docker.sh)" \
-t robbyrussell

RUN git config --global --add safe.directory '*'
ENV SUDO=sudo
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -17,7 +17,8 @@
},
"extensions": [
"dart-code.flutter",
"dart-code.dart-code"
"dart-code.dart-code",
"denoland.vscode-deno"
]
}
},
74 changes: 0 additions & 74 deletions .github/workflows/dependencies_matches.yaml

This file was deleted.

Loading