update monero_c

This commit is contained in:
Czarek Nakamoto 2024-12-30 15:21:33 +01:00
parent 4084ac8bfb
commit 50a458c103
11 changed files with 21 additions and 18 deletions

View file

@ -22,6 +22,7 @@ analyzer:
lib/solana/cw_solana.dart, lib/solana/cw_solana.dart,
lib/tron/cw_tron.dart, lib/tron/cw_tron.dart,
lib/wownero/cw_wownero.dart, lib/wownero/cw_wownero.dart,
lib/zano/cw_wownero.dart,
] ]
language: language:
strict-casts: true strict-casts: true

View file

@ -1047,10 +1047,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: vm_service name: vm_service
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "14.2.5" version: "14.2.4"
watcher: watcher:
dependency: "direct overridden" dependency: "direct overridden"
description: description:

View file

@ -738,10 +738,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: vm_service name: vm_service
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "14.2.5" version: "14.2.4"
watcher: watcher:
dependency: "direct overridden" dependency: "direct overridden"
description: description:

View file

@ -511,8 +511,8 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: "impls/monero.dart" path: "impls/monero.dart"
ref: "35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7" ref: "8d3a64e05d60924272275d5674db5345f701ba2d"
resolved-ref: "35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7" resolved-ref: "8d3a64e05d60924272275d5674db5345f701ba2d"
url: "https://github.com/mrcyjanek/monero_c" url: "https://github.com/mrcyjanek/monero_c"
source: git source: git
version: "0.0.0" version: "0.0.0"
@ -845,10 +845,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: vm_service name: vm_service
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "14.2.5" version: "14.2.4"
watcher: watcher:
dependency: "direct overridden" dependency: "direct overridden"
description: description:

View file

@ -25,7 +25,7 @@ dependencies:
monero: monero:
git: git:
url: https://github.com/mrcyjanek/monero_c url: https://github.com/mrcyjanek/monero_c
ref: 35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7 ref: 8d3a64e05d60924272275d5674db5345f701ba2d
path: impls/monero.dart path: impls/monero.dart
mutex: ^3.1.0 mutex: ^3.1.0
ledger_flutter_plus: ^1.4.1 ledger_flutter_plus: ^1.4.1

View file

@ -471,8 +471,8 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: "impls/monero.dart" path: "impls/monero.dart"
ref: "35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7" ref: "8d3a64e05d60924272275d5674db5345f701ba2d"
resolved-ref: "35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7" resolved-ref: "8d3a64e05d60924272275d5674db5345f701ba2d"
url: "https://github.com/mrcyjanek/monero_c" url: "https://github.com/mrcyjanek/monero_c"
source: git source: git
version: "0.0.0" version: "0.0.0"

View file

@ -25,7 +25,7 @@ dependencies:
monero: monero:
git: git:
url: https://github.com/mrcyjanek/monero_c url: https://github.com/mrcyjanek/monero_c
ref: 35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7 # monero_c hash ref: 8d3a64e05d60924272275d5674db5345f701ba2d # monero_c hash
path: impls/monero.dart path: impls/monero.dart
mutex: ^3.1.0 mutex: ^3.1.0

View file

@ -476,8 +476,8 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: "impls/monero.dart" path: "impls/monero.dart"
ref: "35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7" ref: "8d3a64e05d60924272275d5674db5345f701ba2d"
resolved-ref: "35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7" resolved-ref: "8d3a64e05d60924272275d5674db5345f701ba2d"
url: "https://github.com/mrcyjanek/monero_c" url: "https://github.com/mrcyjanek/monero_c"
source: git source: git
version: "0.0.0" version: "0.0.0"
@ -770,10 +770,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: vm_service name: vm_service
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "14.2.5" version: "14.2.4"
watcher: watcher:
dependency: "direct overridden" dependency: "direct overridden"
description: description:

View file

@ -26,7 +26,7 @@ dependencies:
monero: monero:
git: git:
url: https://github.com/mrcyjanek/monero_c url: https://github.com/mrcyjanek/monero_c
ref: 35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7 # monero_c hash ref: 8d3a64e05d60924272275d5674db5345f701ba2d # monero_c hash
path: impls/monero.dart path: impls/monero.dart
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:

View file

@ -6,6 +6,7 @@ import FlutterMacOS
import Foundation import Foundation
import connectivity_plus import connectivity_plus
import cw_mweb
import device_info_plus import device_info_plus
import devicelocale import devicelocale
import fast_scanner import fast_scanner
@ -23,6 +24,7 @@ import wakelock_plus
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
ConnectivityPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlugin")) ConnectivityPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlugin"))
CwMwebPlugin.register(with: registry.registrar(forPlugin: "CwMwebPlugin"))
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
DevicelocalePlugin.register(with: registry.registrar(forPlugin: "DevicelocalePlugin")) DevicelocalePlugin.register(with: registry.registrar(forPlugin: "DevicelocalePlugin"))
MobileScannerPlugin.register(with: registry.registrar(forPlugin: "MobileScannerPlugin")) MobileScannerPlugin.register(with: registry.registrar(forPlugin: "MobileScannerPlugin"))

View file

@ -8,7 +8,7 @@ if [[ ! -d "monero_c" ]];
then then
git clone https://github.com/mrcyjanek/monero_c --branch master git clone https://github.com/mrcyjanek/monero_c --branch master
cd monero_c cd monero_c
git checkout 35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7 git checkout 8d3a64e05d60924272275d5674db5345f701ba2d
git reset --hard git reset --hard
git submodule update --init --force --recursive git submodule update --init --force --recursive
./apply_patches.sh monero ./apply_patches.sh monero