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 |
|
sneurlax
|
d317bc5e8b
|
implement tor killswitch
comment update
|
2023-09-08 10:50:50 -05:00 |
|
sneurlax
|
2c77ac1b5d
|
fire TorConnectionStatusChangedEvents from tor service
and move tor_service file and unableToConnect->disconnected
|
2023-09-07 16:27:00 -05:00 |
|
sneurlax
|
3e36723da3
|
TorStatusChangedEvent->TorPreferenceChangedEvent
|
2023-09-07 15:37:23 -05:00 |
|
julian
|
67beaf21cd
|
add finalizer to cancel stream subscription when all references to an instance of ElectrumX becomes inaccessible
|
2023-09-07 12:27:19 -06:00 |
|
julian
|
9c648affe8
|
.exception will always be of type Object here as we check for null
|
2023-09-07 12:16:21 -06:00 |
|
julian
|
d4e0f3b045
|
listen to tor status changes in electrumx
|
2023-09-07 12:07:05 -06:00 |
|
julian
|
7dabba3d0e
|
comment out unused class to avoid confusion
|
2023-09-07 09:09:55 -06:00 |
|
sneurlax
|
d84f2d7b7a
|
prettify tor messages and use tor main
|
2023-09-06 18:09:41 -05:00 |
|
sneurlax
|
f7ddaa1f73
|
use tor for nodes
|
2023-09-06 17:48:50 -05:00 |
|
sneurlax
|
7a01682bff
|
WIP update SOCKSSocket class
|
2023-09-06 17:27:59 -05:00 |
|
sneurlax
|
256db85472
|
use socks socket if useTor in ElectrumX and JsonRPC,
|
2023-08-15 22:56:41 -05:00 |
|
sneurlax
|
f2af2b10bd
|
Revert "Merge branch 'tor' into tor-presocks"
This reverts commit 75750e2bd1 .
|
2023-08-15 22:10:41 -05:00 |
|
sneurlax
|
c88320a59e
|
Merge remote-tracking branch 'origin/staging' into tor
|
2023-08-14 12:32:41 -05:00 |
|
julian
|
0d701a51b7
|
clear electrumx cache option for firo wallets
|
2023-08-14 09:21:27 -06:00 |
|
sneurlax
|
1a59a1a577
|
simplify WIP code
removing unneeded logging. may as well be printing at this point
|
2023-08-10 16:32:13 -05:00 |
|
sneurlax
|
5cccd3e4a3
|
Revert "WIP very messy"
This reverts commit 8492773438 .
|
2023-08-10 11:56:30 -05:00 |
|
sneurlax
|
ed99bdc169
|
Revert "clean up SOCKSSocket, still no joy"
This reverts commit c7ea583a44 .
|
2023-08-10 11:56:19 -05:00 |
|
sneurlax
|
c7ea583a44
|
clean up SOCKSSocket, still no joy
|
2023-08-10 11:40:12 -05:00 |
|
sneurlax
|
8492773438
|
WIP very messy
need to remove SocksSocket as it apparently doesn't work, whereas SocksProxy does
|
2023-08-09 18:28:19 -05:00 |
|
sneurlax
|
0d60d23d28
|
moar logging
|
2023-08-09 15:04:57 -05:00 |
|
sneurlax
|
658b5269d9
|
reuse an existing _socksSocket
|
2023-08-09 14:59:24 -05:00 |
|
sneurlax
|
1eeed74cf6
|
WIP SOCKSSocket
|
2023-08-09 12:50:12 -05:00 |
|
sneurlax
|
29341fc0b0
|
exception casting
|
2023-08-09 12:19:17 -05:00 |
|
sneurlax
|
d8f41cccaf
|
remove _socksSocket
|
2023-08-09 12:19:11 -05:00 |
|
sneurlax
|
0522d2a0ee
|
Merge branch 'tor-presocks' into tor
|
2023-08-09 12:15:25 -05:00 |
|
sneurlax
|
9e7567a26a
|
add required proxyInfo param to JsonRPC class
|
2023-08-09 12:13:26 -05:00 |
|
sneurlax
|
7c8796abfe
|
WIP
|
2023-08-09 11:39:48 -05:00 |
|
sneurlax
|
5552fff3b3
|
disambiguate log messages
|
2023-08-08 16:35:22 -05:00 |
|
sneurlax
|
e27d3f9213
|
WIP use SocksTCPClient.connect
|
2023-08-08 16:27:38 -05:00 |
|
sneurlax
|
281cd98390
|
WIP proxied sockets
|
2023-08-08 16:01:41 -05:00 |
|
julian
|
3900bb587a
|
re enable caching of used coin serials
|
2023-07-28 13:57:26 -06:00 |
|
julian
|
7765ed2465
|
fix request timeout bug
|
2023-07-27 14:42:03 -06:00 |
|
julian
|
c3054ca753
|
fix broken used serials call and optimize cache a bit
|
2023-07-25 20:28:27 -06:00 |
|
julian
|
128fa9db6c
|
rpc timeout mod
|
2023-07-25 13:48:39 -06:00 |
|
julian
|
5439ce8954
|
show error before data in case dart decides string is too long and cuts it off
|
2023-07-25 12:06:06 -06:00 |
|
julian
|
065063c600
|
extra type check in electrumx response handling
|
2023-07-04 14:47:16 -06:00 |
|
julian
|
a509dc40ea
|
simply closing cache boxes won't play nice with concurrency so we'll need to settle on just opening them as needed
|
2023-07-03 16:38:43 -06:00 |
|
julian
|
b7b43e3380
|
close coin cache hive boxes when not in use
|
2023-07-03 16:27:36 -06:00 |
|
julian
|
b371e59182
|
fix: electrumx exception data interpolation
|
2023-06-16 19:25:10 -06:00 |
|
julian
|
1449814e35
|
Merge branch 'amount_display_precision' into add_nano
# Conflicts:
# lib/pages/pinpad_views/create_pin_view.dart
# lib/widgets/custom_pin_put/custom_pin_put_state.dart
|
2023-05-30 09:11:41 -06:00 |
|
julian
|
cb8e02a3ac
|
feat: log electrumx get tx failed response
|
2023-05-30 09:01:28 -06:00 |
|
julian
|
bad1eed7c8
|
cleaned up electrumx rpc
|
2023-05-29 09:16:25 -06:00 |
|
julian
|
4564ee7e0a
|
untested protected rpc version
|
2023-05-26 17:18:39 -06:00 |
|
julian
|
a2cdc4cdfa
|
add timeout to requests
|
2023-05-26 15:34:09 -06:00 |
|
julian
|
0955fdb6e6
|
return onError
|
2023-05-26 15:28:25 -06:00 |
|
detherminal
|
95a0309b8b
|
docs: add header to source code again
|
2023-05-27 00:21:16 +03:00 |
|
detherminal
|
ccf5e68fc6
|
Revert "docs: add copyright header to all source code"
This reverts commit 84ac798bb8 .
|
2023-05-27 00:19:24 +03:00 |
|
julian
|
8b0c1e4f9a
|
debugging
|
2023-05-26 12:48:10 -06:00 |
|
detherminal
|
84ac798bb8
|
docs: add copyright header to all source code
|
2023-05-26 19:33:04 +03:00 |
|
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 |
|