cake_wallet/cw_core/lib
cyan f8b0c0ad2a
CW-611-Refactor-Address-Handling (#1630)
* subaddress fix

* fix subaddress generation

* rewrite usedAddresses for xmr and wow

* [skip ci] remove print statements

* refactor address handling

* do not remove manual addresses, just mark them

* monero display latest address on receive page when autogenerate is enabled [skip ci]

* WIP subaddresses, hidden addresses, and UI improvements for monero

* update configure script

* fix subaddress generation, display latest address

* Update lib/core/wallet_loading_service.dart

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* Exclude manually created addresses

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* don't call .save function multiple times

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* - revert usedAddress functinality
- add mutex to prevent crashes
- fix UI flashing in tx screen
- fixes from comments

* account index fixes
added code to wownero
code comment

* - added subaddress index
- fixed received count also accounting for change (we don't want that)
- fix bad state: no element
- fix search
- fix automatic generation

* prevent crashes by acquiring mutex before setting the pointer

* - fix ttDetails generation in larger/restored wallets
- show manual add icon in monero/wownero even when autogeneration is enabled
- disable colors on non-debug builds
- cache getAddress call in xmr/wow
[skip ci]

* fix: silent payment error in address setter
enable fancy new features only for xmr / wow

* refresh subaddress list, when we add new address
fix manual addresses marking

* add toggle to hide and show address

* update transaction details after restore

* show only one address in address book for xmr, wow and haven

* fix address book
reset address only when autogenerate is on

* enable isEnabledAutoGenerateSubaddress on new wallets

* hide addresses after exchange only for XMR and WOW

* fix: bad-state no element

* Update cw_monero/lib/monero_wallet_addresses.dart

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* Update cw_monero/lib/monero_wallet_addresses.dart

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* improvements to performance

* 0, 0 -> accountIndex, addressIndex

* make constant variables final

* Update cw_wownero/lib/wownero_wallet_addresses.dart [skip ci]

* Update cw_wownero/lib/wownero_wallet_addresses.dart [skip ci]

* Update cw_monero/lib/monero_wallet.dart [skip ci]

* fix potential exception

* fix after removing late

* remove orElse, replaced it with a try catch block.
fix strings

* fix valid seed function

* fix null check error [skip ci]

* fix updateSubaddressList for wow and haven

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-09-28 05:38:23 +03:00
..
hardware Cw 604 integrate bitcoin ledger (#1407) 2024-05-05 04:44:50 +03:00
utils Normalize text to fix french (#1504) 2024-06-24 19:38:32 +03:00
account.dart CW-260 show amount received for each account (#907) 2023-05-05 15:58:41 +03:00
account_list.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
address_info.dart CW-228 Auto generate monero subaddress (#902) 2023-08-29 19:11:51 +03:00
amount_converter.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00
balance.dart litecoin mweb support (#1455) 2024-09-28 05:22:25 +03:00
battery_optimization_native.dart CW-572-Disable-battery-optimization (#1285) 2024-02-09 01:11:41 +02:00
cake_hive.dart Re add chatwoot (#1044) 2023-08-15 03:47:25 +03:00
crypto_amount_format.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
crypto_currency.dart change tags to POL and fix lets exchange (#1708) 2024-09-28 01:58:10 +03:00
currency.dart Cw 314 trocador receive screen update (#823) 2023-03-24 17:26:42 +02:00
currency_for_wallet_type.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00
encryption_file_utils.dart CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
enumerable_item.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
enumerate.dart Btc address types (#1263) 2024-02-23 18:13:30 +02:00
erc20_token.dart CW-545-Overriding-Erc20-tokens-list (#1249) 2023-12-30 17:28:33 +02:00
exceptions.dart add missing error messages (#1696) 2024-09-23 19:18:21 +03:00
format_amount.dart Move bitcoin and monero parts into self modules. 2021-12-24 14:52:08 +02:00
get_height_by_date.dart litecoin mweb support (#1455) 2024-09-28 05:22:25 +03:00
hive_type_ids.dart litecoin mweb support (#1455) 2024-09-28 05:22:25 +03:00
key.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
keyable.dart Move bitcoin and monero parts into self modules. 2021-12-24 14:52:08 +02:00
monero_amount_format.dart Fix incorrect amount parsing due to bytes approximation 2023-02-15 23:16:21 +02:00
monero_balance.dart CW-516-Improve-balance-layout-in-home-screen (#1171) 2023-11-17 01:22:10 +02:00
monero_transaction_priority.dart Monero update (#1325) 2024-03-14 20:26:00 +02:00
monero_wallet_keys.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
monero_wallet_utils.dart Monero stability and cleanup (#1572) 2024-08-09 22:15:54 +03:00
mweb_utxo.dart litecoin mweb support (#1455) 2024-09-28 05:22:25 +03:00
n2_node.dart Generic Fixes (#1373) 2024-04-12 16:01:21 +02:00
nano_account.dart CW-438 add nano (#1015) 2023-10-05 04:09:07 +03:00
nano_account_info_response.dart CW-438 add nano (#1015) 2023-10-05 04:09:07 +03:00
node.dart Fixes node connection, and sp, and electrum (#1577) 2024-08-12 02:49:45 +03:00
output_info.dart Cw 537 integrate thor chain swaps (#1280) 2024-03-28 14:41:11 +02:00
parseBoolFromString.dart Move bitcoin and monero parts into self modules. 2021-12-24 14:52:08 +02:00
pathForWallet.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00
pending_transaction.dart Sp enhancements (#1672) 2024-09-20 17:24:25 +03:00
receive_page_option.dart Btc address types (#1263) 2024-02-23 18:13:30 +02:00
root_dir.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00
sec_random_native.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00
set_app_secure_native.dart Cw 155 monero synchronization (#1014) 2023-08-04 20:55:56 +03:00
subaddress.dart CW-611-Refactor-Address-Handling (#1630) 2024-09-28 05:38:23 +03:00
sync_status.dart litecoin mweb support (#1455) 2024-09-28 05:22:25 +03:00
transaction_direction.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
transaction_history.dart CW-214-Monero-wallet-rescan-bug (#945) 2023-07-11 20:56:01 +03:00
transaction_info.dart rbf-fixes-recomended-fee-rate (#1684) 2024-09-20 23:57:43 +03:00
transaction_priority.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
unspent_coins_info.dart Cw 453 (#1306) 2024-05-29 17:43:48 +03:00
unspent_transaction_output.dart Cw 453 (#1306) 2024-05-29 17:43:48 +03:00
wallet_addresses.dart CW-611-Refactor-Address-Handling (#1630) 2024-09-28 05:38:23 +03:00
wallet_addresses_with_account.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
wallet_base.dart litecoin mweb support (#1455) 2024-09-28 05:22:25 +03:00
wallet_credentials.dart CW-580: BIP39 Wallets Shared Seed Implementation: "One Seed - Multiple Wallets" (#1307) 2024-09-20 21:25:08 +03:00
wallet_info.dart CW-611-Refactor-Address-Handling (#1630) 2024-09-28 05:38:23 +03:00
wallet_keys_file.dart CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
wallet_service.dart Try to show seeds if wallet files gets corrupted (#1567) 2024-08-06 17:59:44 +03:00
wallet_type.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00
window_size.dart Desktop-Enhancements (#1434) 2024-05-06 22:14:43 +03:00
wownero_amount_format.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00
wownero_balance.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00