Commit Graph
21 Commits
Author SHA1 Message Date
jwinterm dd449f2594 Merge upstream Cake Wallet v6.5.0
Catches up from the May 12 fork point (v6.1.2+23) through v6.5.0: 535
upstream commits, including the Monero silent-open fix, Monero on Trezor,
Ledger/Trezor BLE fixes, the new seed and history screens, quick Bitcoin
sync, git-pinned dependencies (pubspec_overrides.yaml), frozen Hive
adapters (*.part.dart), monero_c v0.18.4.6-RC2 and Flutter 3.41.9.

Merged with both sides normalized first (import rename, 100-column
format), which took the conflict count from 614 paths to 322. The
procedure is now scripts/upstream_sync.sh.

Kept from Hash Bags:
- WalletType enum order and Hive IDs. SQLite stores WalletType.index and
  our order differs from upstream's; taking theirs would reread saved
  wallets as other chains. Our frozen adapter keeps the shipped IDs.
- The 1.0.2 legacy PIN and wallet-password decode and self-heal.
- Removed chains (Solana, Tron, Zano, Zcash, Decred, Haven) and the new
  Robinhood chain stay out; Cake Pay and non-Trocador swaps stay out.
- Default nodes (node.wownero.org, sethforprivacy, Blockstream, bysh.me),
  converted to upstream's isDefault node-list key; Wownero is back in the
  node reset list.
- Privacy: address resolvers limited to domain-anchored sources again;
  prices.neroswap.com for fiat; upstream's charts tab, which reads
  prices.cakewallet.com, sits behind FeatureFlag.isChartsEnabled = false.
- Lightning stays behind FeatureFlag.isLightningEnabled, including
  upstream's new post-seed Lightning username step.
- Our icon pipeline, branding and bundle identifiers.

Twelve new upstream widget tests are skipped: test and code are unchanged
from v6.5.0 apart from renames (not rerun on a pristine upstream checkout;
upstream's top_bar_test does not compile against its own TopBar).
flutter analyze lib: 0 errors; flutter test: 345 passed, 12 skipped;
flutter build bundle compiles. Built with Flutter 3.41.9.
2026-10-24 23:49:29 -04:00
c8cad835a1 Add onionbalance Tor frontends to default node lists (#3431)
* Add onionbalance Tor frontends to default node lists

Update the primary Monero and Zcash onion nodes to the new
load-balanced onionbalance frontends, add missing Cake Wallet Tor
nodes for Bitcoin and Litecoin, and use the mempool onion frontend
for Bitcoin fee fetching when Tor is enabled. All Cake Tor nodes are
marked isOfficial so they get the official-node badge.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Remove per-instance Zcash Tor #2 node, superseded by onionbalance frontend

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-26 17:10:23 +03:00
OmarandClaude Opus 4.7 ac05166e95 Rebase node-sqlite-migration onto dev
Squashed migration of node Hive→SQLite, default-node handling,
isPow/proxy support, arbitrum node updates, and related fixes.
Replays node-sqlite-migration on top of current dev without the
amount-refactor merge that the original branch carried.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 17:04:36 +02:00
jwinterm 8ba790b318 Flip Cake nodes out of the default slot in node YAMLs
Cake's nodes are kept in the available list (their public infra is fine,
and users may want to opt in) but no longer the freshest-install default
for XMR, BTC, or LTC.

XMR: node.sethforprivacy.com:443 (matches newCakeWalletMoneroUri migration
target, so existing users and fresh installs converge on the same node).
BTC: electrum.blockstream.info:50002 (matches newCakeWalletBitcoinUri).
LTC: electrum-ltc.bysh.me:50002 (matches cakeWalletLitecoinElectrumUri).
2026-05-16 20:07:15 -04:00
jwinterm 4fd8ed4109 Augment default node lists with monero.fail-current and well-known public servers
- Wownero: add wownerod.foolsump.com (SSL) and spippolatori.it from
  monero.fail's currently-healthy set. Existing monerodevs nodes kept.
  (Wownero post-merge has only ~4 healthy public nodes per monero.fail.)
- Monero: add node.xmr.surf, xmr1/xmr5.doggett.tech, xmr.cryptostorm.is,
  nodes.hashvault.pro, xmr.hexide.com — all SSL, all up on monero.fail.
- BTC Electrum: add Stack Wallet, Blockstream, Emzy, qtornado as fallbacks
  alongside Cake's nodes.
- LTC Electrum: add ltc.rentonisk.com as additional fallback.
- Dogecoin Electrum: add electrum2/electrum3.cipig.net (siblings of the
  existing electrum1).
- Bitcoin Cash Electrum: add bch.imaginary.cash, bch.loping.net,
  electroncash.dk.

Existing Cake-operated nodes and Stack Wallet entries preserved as
fallbacks per the 'augment, don't replace' rule.
2026-05-14 11:24:47 -04:00
Omar HatemandGitHub 174216df17 v5.9.0 Release Candidate (#2871)
* v5.9.0 Release Candidate
- Zashi migration
- BSC integration
- Prefetch All evm tokens that the user has
- Bug fixes

* Add new monero nodes
Update app versions

* update zkool fork
update release notes
2026-02-07 15:09:25 +01:00
David AdegokeandGitHub 4b2af63fa5 CW-974: Add support for automatic node switching. (#2361)
* feat: Add support for automatic node switching.

This change:
- Adds isTrustedNodeForSwitching property to Node class.
- Adds UI Checkbox to mark a node as trusted for automatic switching in Node create or edit form.
- Implements checkNodeHealth method in wallet classes to verify node connectivity.
- Adds NodeSwitchingService for managing automatic node switching based on health checks.
- Adds setting option for user to enable/disable automated node switching

* fix(automatic-node-switch): Set node health check interval to 5 minutes in NodeSwitchingService

* refactor: Update handler method

* feat: Automatic Node Switching Improvements

This change:
- Moves enable automatic node switch to the Manage Nodes Page
- Adds check to verify node health before attempting to sync in EVM, Sol and Tron Wallets.
- Modifies trusted ndoes list for monero
- Adds trigger for Node Health Check when app resumes from background

* fix: Increase default request timeout for Tron and update health check interval for node switch

* feat: Enhance Node health check functionality.

This change adds additional checks for token balance in EVM, Solana and Tron Wallets in checkNodeHealth.

* fix: Update health check interval to 30 seconds in NodeSwitchingService

* Update bitcoin_electrum_server_list.yml

* fix: Electru wallet not connecting to new node after switching

* fix: Automated Node Switch not working on Decred Wallet

* fix: Add more nodes for AutoSwitching

This change:
- Enables more nodes across wallet types for auto switching
- Modifies CTA for checkbox
- Renames flags to fit

* fix: Add migration function for setting up default nodes for autoswitching

* fix: Review and testing fixes

* chore: Adjust balance and history fetch timer
2025-07-25 16:42:59 +03:00
OmarHatem 1289ccb3d3 remove old deprecated monero nodes [skip ci] 2025-04-07 14:48:45 +02:00
Omar HatemandGitHub 59e8550e4e Generic fixes (#1823)
* add timeout for mempool fee api and make it only in bitcoin

* disable Monero Ledger for desktop

* handle onramper tag issue

* better handle main actions UI

* make service status scrollable with a better UI

* fix stupid race condition

* minor handling

* update btc fee api
update our xmr node to use ssl

* manually add supported unstoppable domains for now

* change bitcoin default node
code enhancement

* revert debugging code [skip ci]

* minor enhancements [skip ci]

* increase sync indicator size [skip ci]

* fix selecting USA country not triggering the reaction

* fix scrolling on cake features page [skip ci]
2024-11-25 18:26:41 +02:00
cea3084bb3 WIP: CW-665 Implement AirGapped Monero Transactions (#1535)
* replace qr scanner with fast_scanner

* bump java version

* fix qr code scanning

* add flashlight and camera switch

* airgap work

* commitTransactionUR

* bump fast_scanner, fix configure script

* add option to restore wallet from NERO qr format

* fixes to the flow and logic
use gsed or otherwise it fails?

* remove Expanded() to fix URQR on release builds

* cache key to allow app updates

* rename cache key

* [skip ci] cache key.jks in cache_dependencies

* update fast_scanner to work on ios, with light mlkit dependency

* ui fixes

* error handling fix

* update fast_scanner to drop iOS dependency

* changes from review

* Update lib/entities/qr_scanner.dart

* changes from review

* remove useless commit

* don't set state multiple times
remove return Container() for non monero wallets

* return on fail
don't handle empty qr codes

* set node as trusted
display primary address in seed screen

* fix wow and haven

* migrate node to trusted

* - update trusted node for existing users
- update locales
- fix conflicts
- move menu item

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-09 20:59:47 +02:00
tuxsudoandGitHub 580bd01345 Remove node.moneroworld.com (#1667)
* Remove node.moneroworld.com from default nodes and apply settings migration

* Small fix
2024-09-05 17:32:31 +03:00
hundehausenandGitHub 2a3b5644d7 use working port for seths node (#1133)
* use working port for seths node

* use ssl for Seth's node
2023-10-19 00:26:05 +03:00
Justin Ehrenhofer 4a52331cf5 Remove supportxmr node
Has been down for 3 months
https://nodes.monero.com/incident/94
2023-03-14 15:35:30 -05:00
Justin Ehrenhofer 1dd94c9605 Add onion node
Apologies for forgetting this a few minutes ago, despite me adding this to the guides.cakewallet.com website this morning! Related to CW-252 (no notice is added in this commit)
2022-11-28 10:11:52 -06:00
Justin Ehrenhofer c8a9c1f53f Update Monero nodes 2022-11-28 09:45:18 -06:00
OmarHatem 79fb1b91d4 Check for Nodes if exists before adding them in nodes
Fix nullability issue due to early access
Fix Nodes_list,yml file structure
2022-11-26 16:13:54 +02:00
Zy143L 48c2790ef2 add node server
add node server
2021-05-17 02:35:21 +08:00
M 6154c6dfa5 Changed restore wallet from seed screen. Added node.imonero.org:18081 to list of default nodes. 2020-01-16 18:05:07 +02:00
M 459d24411a Changed address of a remote node node.xmr.ru:13666 to node.monero.net:18081 2020-01-10 17:53:33 +02:00
M 1315a53212 Replaced eu-node.cakewallet.io by xmr-node-eu.cakewallet.com and node.cakewallet.io by xmr-node-usa-east.cakewallet.com in remote nodes list. Added migration for change current remote node if user use old eu or usa remote node by new addresses. Changed way for set default remote node for initial setup by base on current user time zone. 2020-01-08 18:38:38 +02:00
M 69f4c127ab Added the project 2020-01-04 21:31:52 +02:00