Commit graph

150 commits

Author SHA1 Message Date
fossephate
91ffe6c18f Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-30 08:57:27 -07:00
Matthew Fosse
62e0c2a592
litecoin mweb support (#1455)
* Fix stub creation

* Generate MWEB addresses

* Fix mweb address derivation

* Use camel-case

* Show utxos in tx list

* A few fixes

* Add spent processing

* Update balance

* Balance fixes

* Update address records

* Get rid of debounce hack

* Get sending up to the confirmation box

* Fee estimation

* Stop the daemon if plugin is unloaded

* Normal fee for non-mweb txns

* Fix fee estimation for send all

* Don't hash mweb addresses

* More fee fixes

* Broadcast mweb

* Remove test files

* One more

* Confirm sent txns

* Couple of fixes

* Resign inputs after mweb create

* Some more fixes

* Update balance after sending

* Correctly update address records

* Update confs

* [skip ci] updates

* [skip ci] add dep overrides

* working

* small fix

* merge fixes [skip ci]

* merge fixes [skip ci]

* [skip ci] minor fixes

* silent payment fixes [skip ci]

* updates [skip ci]

* save [skip ci]

* use mwebutxos box

* [skip ci] lots of fixes, still testing

* add rescan from height feature and test workflow build

* install go

* use sudo

* correct package name

* move building mweb higher for faster testing

* install fixes

* install later version of go

* go fixes

* testing

* testing

* testing

* testing

* testing

* should workgit add .github/workflows/pr_test_build.yml

* ???

* ??? pt.2

* should work, for real this time

* fix tx history not persisting + update build_mwebd script

* updates

* fix some rescan and address gen issues

* save [skip ci]

* fix unconfirmed balance not updating when receiving

* unspent coins / coin control fixes

* coin control fixes

* address balance and txCount fixes, try/catch electrum call

* fix txCount for addresses

* save [skip ci]

* potential fixes

* minor fix

* minor fix - 2

* sync status fixes, potential fix for background state issue

* workflow and script updates

* updates

* expirimental optimization

* [skip ci] minor enhancements

* workflow and script fixes

* workflow minor cleanup [skip ci]

* minor code cleanup & friendlier error message on failed tx's

* balance when sending fix

* experimental

* more experiments

* save

* updates

* coin control edge cases

* remove neutrino.db if no litecoin wallets left after deleting

* update translations

* updates

* minor fix

* [skip ci] update translations + minor fixes

* state fixes

* configure fix

* ui updates

* translation fixes

* [skip ci] addressbook updates

* fix popup

* fix popup2

* fix litecoin address book

* fix ios mwebd build script

* fix for building monero.com

* minor fix

* uncomment fix for state issues

* potential mweb sync fix (ios)

* remove print [skip ci]

* electrum stream potential fix

* fix ios build issues [skip ci]

* connection reliability updates, update kotlin code to match swift code, minor electrum error handling

* dep fixes

* minor fix

* more merge fixes

* bitcoin_flutter removal fixes

* [skip ci] fix always scan setting, swift updates

* updates

* fixes

* small fix

* small fix

* fix

* dart:convert != package:convert

* change address fixes

* update bitcoin_base to fix mweb address program checking

* fix ios xcode project [skip ci]

* updates

* more fixes

* more fixes

* ensure we don't initialize mweb until we really have to

* fix regression

* improve mweb reliability

* [skip ci] wip adress generation

* wip

* wip

* [skip ci] wip

* updates [skip ci]

* ios fixes

* fix workflows + ios fix

* test old mweb version

* update go version and mwebd hash

* review updates pt.1

* Update cw_bitcoin/lib/litecoin_wallet.dart

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

* remove non-litecoin address types regex [skip ci]

* more minor fixes

* remove duplicate [skip ci]

* Update lib/store/settings_store.dart

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

* script updates, swap params on createLitecoinWalletService

* topup fix

* [skip ci] wip

* [skip ci] testing

* [skip ci] file didn't get saved

* more address generation reliability fixes

* [skip ci] minor

* minor code cleanup

* hopefully prevents send issue

* [skip ci] wip address changes

* [skip ci] save

* save mweb addresses, auto-restart sync process if it gets stuck [skip ci]

* address generation issues mostly resolved

* more performance fixes

* [skip ci]

* this should maybe be refactored, pt.1

* separate mweb balances, pt.2

* [skip ci] save

* add translations [skip ci]

* fix sending with mweb amounts

* works for simple mweb-mweb case, further testing needed

* found an edge case

* [skip ci] make failed broadcast error message less serious

* minor

* capture all grpc errors and much better error handling overall

* [skip ci] minor

* prevent transactions with < 6 confirmations from being used + hide mweb balances if mweb is off

* fix

* merge fixes pt.1 [skip ci]

* fix mweb tags

* fix

* [skip ci] fix tag spacing

* fix transaction history not showing up

* fix mweb crash on non-fully deleted mweb cache, sync status ETA, other connection fixes

* [skip ci] minor code cleanup

* [skip ci] minor code cleanup

* additional cleanup

* silent payments eta fixes and updates

* revert sync eta changes into separate pr

* [skip ci] minor

* [skip ci] minor

* revert sync status title

* review fixes, additional cleanup

* [skip ci] minor

* [skip ci] minor

* [skip ci] minor

* trigger build

* review fixes, pt.2

* check if still processing utxos before updating sync status [skip ci]

* [skip ci] minor

* balance fix

* minor

* minor

* [skip ci] minor

* [skip ci] fix test net btc

* don't use mwebd for non-mweb tx's

* [skip ci] minor cleanup

* don't show all 1000+ mweb addresses on receive page

* minor cleanup + additional logging

---------

Co-authored-by: Hector Chu <hectorchu@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
2024-09-28 05:22:25 +03:00
fossephate
69bef9d28b Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-25 12:41:44 -07:00
fossephate
48061ea3a1 don't use mwebd for non-mweb tx's 2024-09-25 10:36:37 -07:00
fossephate
6f2cb4dff5 [skip ci] minor 2024-09-24 16:52:44 -07:00
fossephate
55d8b96bc8 [skip ci] minor 2024-09-24 16:19:45 -07:00
fossephate
efa8324b53 check if still processing utxos before updating sync status [skip ci] 2024-09-24 16:05:58 -07:00
fossephate
ea929982c3 review fixes, pt.2 2024-09-24 15:56:03 -07:00
fossephate
29164b2608 trigger build 2024-09-24 15:10:14 -07:00
fossephate
5cb8c4f406 [skip ci] minor 2024-09-24 14:22:58 -07:00
fossephate
4e6f0dd3aa Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-24 13:39:44 -07:00
fossephate
967e33329e [skip ci] minor 2024-09-24 13:38:49 -07:00
fossephate
31affa69ea [skip ci] minor 2024-09-24 13:20:04 -07:00
fossephate
840287c72d review fixes, additional cleanup 2024-09-24 12:57:12 -07:00
fossephate
948eb64121 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-24 12:16:28 -07:00
fossephate
633d5242c2 [skip ci] minor 2024-09-23 17:20:46 -07:00
fossephate
ea1d4cbb41 [skip ci] minor 2024-09-23 17:20:17 -07:00
fossephate
7435db03a8 silent payments eta fixes and updates 2024-09-23 16:18:38 -07:00
fossephate
371fb8ce86 [skip ci] minor code cleanup 2024-09-23 14:29:33 -07:00
fossephate
dbc2fb3fb1 [skip ci] minor code cleanup 2024-09-23 14:29:13 -07:00
fossephate
e48cd0df41 fix mweb crash on non-fully deleted mweb cache, sync status ETA, other connection fixes 2024-09-23 14:26:56 -07:00
Matthew Fosse
8034d9111e Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-23 10:12:17 -07:00
Matthew Fosse
8d7bad37f4 fix transaction history not showing up 2024-09-23 10:07:39 -07:00
Matthew Fosse
491ea452d2 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-23 08:41:55 -07:00
fossephate
fb6cea2df7 fix 2024-09-22 22:29:37 -07:00
Matthew Fosse
b9961cfce3 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-20 19:21:06 -07:00
Matthew Fosse
f2ddbcf740 merge fixes pt.1 [skip ci] 2024-09-20 11:56:04 -07:00
Matthew Fosse
fc51847915 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb [skip ci] untested 2024-09-20 09:29:53 -07:00
Rafael
3a391f10a3
Sp enhancements (#1672)
* fix: enhance regex, fix multiline

* feat: improve scan msg, fix missing txs, use date api

* feat: node fixes, enhance send modal, TX list tag & filter, refactors

* fix: continuous scanning

* fix: missing close

* fix: resubscribe tweaks

* feat: use mempool api setting toggle

* handle any failure of height API and fallback to the old method [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-09-20 17:24:25 +03:00
Matthew Fosse
03a3fb8d74 fix 2024-09-19 17:16:17 -07:00
Matthew Fosse
7ee8949a71 prevent transactions with < 6 confirmations from being used + hide mweb balances if mweb is off 2024-09-19 17:15:37 -07:00
Matthew Fosse
618a2c2296 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-19 15:40:39 -07:00
Matthew Fosse
8d4443e504 capture all grpc errors and much better error handling overall 2024-09-19 15:35:47 -07:00
Matthew Fosse
c42928e932 round robin 2.0 2024-09-18 11:32:01 -07:00
Matthew Fosse
e51d6ea8c0 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-16 08:32:59 -07:00
Matthew Fosse
17695d1878 found an edge case 2024-09-13 13:59:10 -07:00
Matthew Fosse
4503ad5401 works for simple mweb-mweb case, further testing needed 2024-09-13 13:03:02 -07:00
Matthew Fosse
3a969acc6d fix sending with mweb amounts 2024-09-13 11:49:03 -07:00
Matthew Fosse
5c9a902b1f [skip ci] save 2024-09-12 22:53:04 -07:00
Matthew Fosse
6a4327a53b separate mweb balances, pt.2 2024-09-12 13:15:20 -07:00
Matthew Fosse
ce7de06c94 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-11 18:45:04 -07:00
Matthew Fosse
554df09c99 save mweb addresses, auto-restart sync process if it gets stuck [skip ci] 2024-09-11 16:14:04 -07:00
Matthew Fosse
cd307bf6e8 [skip ci] save 2024-09-11 14:28:58 -07:00
Matthew Fosse
c94c10cc05 [skip ci] wip address changes 2024-09-11 14:17:06 -07:00
Matthew Fosse
f53f96c667 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-11 13:01:27 -07:00
Matthew Fosse
a673d3977f hopefully prevents send issue 2024-09-11 13:00:10 -07:00
Matthew Fosse
c35908cdfb Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-11 08:51:29 -07:00
Matthew Fosse
1e73a517fd minor code cleanup 2024-09-11 08:50:50 -07:00
Matthew Fosse
2c38641d5c more address generation reliability fixes 2024-09-10 14:58:03 -07:00
Matthew Fosse
910825dc82 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-09 15:40:46 -07:00