Commit graph

143 commits

Author SHA1 Message Date
julian
4cf098c17b fix: wrap connect in mutex protect to prevent race condition opening multiple sockets 2023-05-25 16:34:03 -06:00
julian
c348230322 clean up log spam 2023-05-25 15:55:57 -06:00
julian
e9309bc281 remove unneeded mutex and clean up unneeded async 2023-05-25 15:40:30 -06:00
julian
e72e59a50a some clean up 2023-05-25 15:29:23 -06:00
Josh Babb
72c00cbea7 remove comment
did the TODO
2023-05-25 15:59:43 -05:00
Josh Babb
69a085e9a6 rpc2.dart -> rpc.dart 2023-05-25 15:52:07 -05:00
Josh Babb
73312cb920 after socket closes, complete pending requests with errors 2023-05-25 15:51:27 -05:00
Josh Babb
5eec303476 do not send next available request from doneHandler 2023-05-25 15:35:55 -05:00
Josh Babb
6be59b6760 add todo note 2023-05-25 15:29:14 -05:00
Josh Babb
30c860d8c3 nullify socket
better safe than sorry!
2023-05-25 15:28:44 -05:00
julian
7718a93059 convert cached electrumx into a simple wrapper 2023-05-25 14:27:58 -06:00
Josh Babb
ba41094ed2 send next available request in queue if isNotEmpty 2023-05-25 13:56:18 -05:00
Josh Babb
6ca51c99c9 destroy socket when done 2023-05-25 13:49:14 -05:00
Josh Babb
6749bc2f06 change exception message
:)
2023-05-25 11:29:46 -05:00
Josh Babb
b82ed502ca replace rpc.dart with rpc2.dart 2023-05-25 11:27:35 -05:00
julian
2b9f4c85f9 queued json rpc requests per socket connection 2023-05-24 17:35:45 -06:00
Josh Babb
6b9337ee10 remove unused requestQueue 2023-05-24 16:23:45 -05:00
Josh Babb
535c400a69 re-add mutex; release in doneHandler 2023-05-24 16:06:56 -05:00
Josh Babb
3cb894e7c6 add getBlockHeadTip response/error checking 2023-05-24 16:05:59 -05:00
Josh Babb
d8a7c8d5ad null awareness 2023-05-24 15:56:08 -05:00
Josh Babb
64caffce79 console logging 2023-05-24 15:55:55 -05:00
Josh Babb
39b99e6900 comments 2023-05-24 15:55:36 -05:00
Josh Babb
866b7c4e88 comment mutex code 2023-05-24 15:55:24 -05:00
Josh Babb
7bb74455cd comment 2023-05-24 13:40:19 -05:00
Josh Babb
73ecbf15d5 move dataHandler and errorHandler up in scope 2023-05-24 13:39:21 -05:00
julian
4c12e870b1 stream subscription 2023-05-24 12:27:19 -06:00
Josh Babb
81689426e2 add logs 2023-05-24 13:15:19 -05:00
Josh Babb
2762490e6d add todo 2023-05-24 13:15:10 -05:00
Josh Babb
281a04654c reuse socket var where possible 2023-05-24 13:14:56 -05:00
Josh Babb
2428dd7d12 move socket var up in scope 2023-05-24 13:14:21 -05:00
Josh Babb
1e11fdd6fe make vars final 2023-05-24 13:12:54 -05:00
julian
d0c53c2673 Strongly typed used serials list 2023-05-16 13:29:48 -06:00
julian
939e10248b fix: grammar 2023-05-16 11:04:45 -06:00
julian
16efeea1db project structure 2023-03-01 15:52:13 -06:00
julian
451edbfc67 handle dropped mempool/blockchain transactions 2023-01-27 12:49:25 -06:00
julian
2dd8a5b190 no such transaction exception 2023-01-27 12:22:30 -06:00
julian
466e2dd2de raw tx electrumx fetch fix 2023-01-27 10:46:38 -06:00
julian
a2d6823ee9 firo anon set decoding bugfix 2022-12-14 09:05:47 -06:00
julian
4f4d6f8e9d remove cached anon set server call 2022-12-13 11:21:46 -06:00
julian
c9269fffef increase ping timeout 2022-12-13 07:35:14 -06:00
Marco
1b1172e876 support new firomobile anon set speed ups 2022-10-24 14:31:05 -06:00
julian
1e89f4e58b fetch server cached anonymity sets for huge increase in firo restore speed 2022-09-08 14:02:07 -06:00
Marco
b41d31fd32 first commit 2022-08-26 16:11:35 +08:00