Commit graph

142 commits

Author SHA1 Message Date
sneurlax
e8dc77529f add more logging 2024-02-09 19:10:37 -06:00
sneurlax
dc6d569433 add extra logging if a Map is returned with >1 requests queued 2024-02-06 20:57:33 -06:00
sneurlax
15a9543c9f instead of checking if it's a List, check if it's not a Map 2024-02-06 12:31:42 -06:00
likho
b56925d0d2 Resolve error when rescanning a wallet 2024-02-06 16:33:10 +02: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
0f665bd602 remove unnecessary try-catch 2024-02-05 16:17:33 -06:00
sneurlax
66354e8ecd reconnect if needed in _checkRpcClient
with failovers
2024-02-05 15:49:05 -06:00
sneurlax
3ec6e2a008 TODO notes 2024-02-05 15:23:08 -06:00
sneurlax
d48c7cf9f1 cache node information for reconnection purposes when tor toggled
and cancel alive timer when needed (avoids secureSocket not initialized error)
2024-02-05 15:22:27 -06:00
sneurlax
dbaf184bb8 listen to correct socket depending on tor preference 2024-02-05 14:45:33 -06:00
sneurlax
9835970751 listen to tor connection and preferences events 2024-02-05 14:33:52 -06:00
sneurlax
53d7143156 fns docs comments 2024-02-05 14:16:25 -06:00
sneurlax
685690723a initialize prefs and tor services 2024-02-05 14:16:14 -06:00
sneurlax
5835b1e4a7 use Tor in subscribable client where applicable 2024-02-05 14:09:13 -06:00
sneurlax
0d8f1c2b95 add chain height service in order to hold one subscription per coin 2024-02-05 12:09:45 -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
0108121db3 if just one response is returned, return it as a single-item list 2024-02-02 19:01:32 -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
sneurlax
3c23b0491c TODO note about accepting bad SSL certificate 2024-02-02 14:32:55 -06:00
sneurlax
9791d9b362 uncomment subscribable electrumx client 2024-02-02 14:32:33 -06:00
julian
fcf971979a Fix rpc timeout issue and improved logging 2024-01-28 22:31:47 -06:00
julian
8ff9227e48 update ecash default server 2024-01-05 12:59:23 -06:00
julian
4074023a88 remove sparkData from tx data before caching as we currently don't need it and its quite large 2023-12-29 09:24:25 -06:00
julian
b441157398 handle send all spark properly 2023-12-21 14:41:29 -06:00
julian
f61acd90b7 hash used spark tags 2023-12-20 17:46:48 -06:00
julian
f83fb76bd8 clean docs/comments 2023-12-14 08:31:15 -06:00
julian
cf2114b7a3 cached spark used coin tags electrumx call 2023-12-13 16:15:59 -06:00
julian
e1241372bf cached spark anon set electrumx call fixes and usage 2023-12-13 14:13:11 -06:00
julian
7dcac56a5a WIP cached spark anon set electrumx call 2023-12-13 11:36:37 -06:00
julian
6507ebd346 correct comment 2023-12-07 15:30:35 -06:00
julian
befc402057 ensure set call runs smoothly 2023-11-27 15:06:37 -06:00
julian
e5043dfe90 lelantus get used serials caching improvements with extra checks 2023-11-27 11:48:14 -06:00
julian
03526d0f5d add some retries to some electrumx calls 2023-11-24 13:25:32 -06:00
julian
d5fafb64dc fix getsparkmintmetadata call 2023-11-17 09:23:16 -06:00
julian
e8972024dc More WIP firo spark electrumx 2023-11-16 14:49:35 -06:00
julian
20208a696c WIP add spark electrumx calls 2023-11-16 12:15:28 -06:00
julian
5b5908196d refactor various electrumx class names 2023-11-14 14:35:53 -06:00
julian
6695278957 print error 2023-10-20 14:19:51 -06:00
julian
693255a2c0 unneeded log spam 2023-09-28 13:23:45 -06:00
sneurlax
c43cf94c38 Merge branch 'arti' into fusion 2023-09-19 23:59:10 -05:00
sneurlax
2dc9979db2 return from connect 2023-09-19 23:58:29 -05:00
sneurlax
5bd399a625 use tor-package-exported SOCKSSocket 2023-09-19 23:58:23 -05:00
sneurlax
ef38e58b57 query electrum for missing tx info 2023-09-19 17:58:55 -05:00
julian
4e3390a7c0 refactor TorService 2023-09-15 13:51:20 -06:00
julian
4b518243c6 Tor kill switch getter name refactor and bugfix 2023-09-13 10:33:44 -06:00
julian
cdee218133 mutex release bugfix 2023-09-08 12:59:54 -06:00
julian
2cf5e01d58 json rpc clean up 2023-09-08 12:56:49 -06:00
julian
d4cdbd3455 add and use JsonRpcException exception type 2023-09-08 12:44:34 -06:00
julian
25bc126cf9 untested extra bool mutex flag 2023-09-08 10:54:31 -06:00
julian
696b8bc8c3 tor connecting mutex 2023-09-08 10:37:50 -06:00