Commit graph

38 commits

Author SHA1 Message Date
sneurlax
de1413f955 do not complete completed completer 2024-02-09 19:10:53 -06:00
julian
bbf9ccc276 UNTESTED: chain subscribe logic refactor 2024-02-07 10:10:27 +07:00
sneurlax
6c1d74ed81 clean up debug prints 2024-02-06 20:56:21 -06:00
sneurlax
46285d44ea don't subscribeBlockHeaders if subscription exists 2024-02-06 20:55:31 -06:00
sneurlax
3d42967c8b only assign subscription if null 2024-02-06 20:46:33 -06:00
likho
b56925d0d2 Resolve error when rescanning a wallet 2024-02-06 16:33:10 +02:00
sneurlax
c3ed83f77d add stack trace to _getFees error 2024-02-05 22:40:39 -06:00
sneurlax
c8b323748b disable stream validity check in ElectrumXInterface.fetchChainHeight 2024-02-05 17:21:50 -06:00
sneurlax
2fb3034dc0 resolve recursion issue and add more cleanup and logging/error handling
and refactor _checkRpcClient -> _checkSocket
2024-02-05 16:35:38 -06:00
sneurlax
66354e8ecd reconnect if needed in _checkRpcClient
with failovers
2024-02-05 15:49:05 -06:00
sneurlax
7646f97cc1 pass prefs instance when updating electrumx 2024-02-05 14:37:06 -06:00
sneurlax
0d5a8f25a1 check chain height subscription validity with ping 2024-02-05 12:38:40 -06:00
sneurlax
0d8f1c2b95 add chain height service in order to hold one subscription per coin 2024-02-05 12:09:45 -06:00
sneurlax
9b93dc78d2 resolve null check operator used on a null value issue
because unconfirmed txs have a null blockTime.

we could also use currentChainHeight+1, which may be more appropriate.
2024-02-05 11:31:07 -06:00
julian
2be13a89c5 INCOMPLETE: WIP use streams instead of change notifier for electrumx socket subscriptions 2024-02-04 09:33:49 +07:00
sneurlax
7863b7f209 don't add a listener if one already exists 2024-02-02 18:44:08 -06:00
sneurlax
a3b3314be8 connect subscribable electrumx instance after initialization 2024-02-02 18:30:26 -06:00
sneurlax
b896337d64 WIP subscribe to block headers in order to fetch chain height
not working because SubscribableElectrumXClient isn't initialized
2024-02-02 15:51:31 -06:00
julian
fcf971979a Fix rpc timeout issue and improved logging 2024-01-28 22:31:47 -06:00
julian
4301ba96e5 fix dogecoin absurd fees send error 2024-01-17 11:12:36 -06:00
julian
f319aaf594 various address and SWB fixes, as well as some electrumx_interface unused function cleanup 2024-01-16 11:58:16 -06:00
julian
62e1afb6cc fix null error when attempting to send using custom fees 2024-01-15 13:45:50 -06:00
julian
7af2fea977 paynymn fixes and clean up 2024-01-14 14:02:48 -06:00
julian
b229d41cd8 fix electrumx version parsing 2024-01-14 11:27:01 -06:00
julian
a3120932dd add asm to required params list and some other paynym tx fixes 2024-01-14 11:27:01 -06:00
julian
a69b4f8ed5 paynym refactor to tx v2 2024-01-14 11:27:01 -06:00
julian
d5e8d3fe3e ensure cashaddrs are converted to normal addresses for the tx builder to properly extract a script 2024-01-12 14:55:20 -06:00
julian
0c97fa6635 extra precautions in init() 2024-01-12 14:55:20 -06:00
julian
3f282edd33 fix linear electrumx address history fetch 2024-01-11 13:51:27 -06:00
julian
f7d162e67a re enable wrapped segwit for certain coins 2024-01-11 13:36:53 -06:00
julian
7bbc235b92 don't show change in amount total 2024-01-05 13:45:42 -06:00
julian
b11694220b dirty hack for showing firo transactions right away until we can add functionality to sparkmobile 2024-01-05 12:59:01 -06:00
julian
af25da5a59 untested: ltc refactor 2024-01-04 18:37:46 -06:00
julian
cdd9b30cb7 standard firo send fixes 2023-12-18 12:53:11 -06:00
julian
734e9d90b1 WIP basic PoC showing firo spark address in stack wallet 2023-11-29 09:53:30 -06:00
julian
789d4a8085 firo electrumx batching re enabled 2023-11-27 08:42:09 -06:00
julian
8e1449ac41 WIP firo refactor 2023-11-20 09:15:36 -06:00
julian
185cfd26e2 consistent wallet mixin interface naming 2023-11-16 16:25:20 -06:00
Renamed from lib/wallets/wallet/mixins/electrumx.dart (Browse further)