Commit Graph

8490 Commits

Author SHA1 Message Date
Jedrzej Stuczynski 4992498942 Refactored client handling 2020-03-03 12:45:04 +00:00
Jedrzej Stuczynski 3852c99f9e Removed commented code 2020-03-03 12:44:50 +00:00
Jedrzej Stuczynski ff4284a3b9 Redundant code in mix handling 2020-03-03 12:44:37 +00:00
Jedrzej Stuczynski c167aca3e3 Theoretically thread safe client storage 2020-03-03 12:44:18 +00:00
Jedrzej Stuczynski 937e15e631 Removed unused 'has_client' method from the ledger 2020-03-03 12:43:50 +00:00
Jedrzej Stuczynski 59dcf77bf5 Defined ErrorResponse type 2020-03-03 12:43:28 +00:00
Jedrzej Stuczynski a411dec540 Client changes due to updates in sphinx 2020-03-03 10:23:55 +00:00
Jedrzej Stuczynski 20f2f1e04f Updated mockito to fix build issues 2020-03-03 10:21:58 +00:00
Jedrzej Stuczynski b6727ac7b4 Replaced retrieve token method with verify token to bypass lifetime issues 2020-03-02 17:04:58 +00:00
Jedrzej Stuczynski 8ed53847d3 Method to actually retrieve stored auth token to compare it against one sent 2020-03-02 15:55:52 +00:00
Jedrzej Stuczynski 0f5167b57f Added ledger method to remove existing token 2020-03-02 15:44:29 +00:00
Jedrzej Stuczynski 30611d0a68 Reversed Client ledger mapping 2020-03-02 15:43:52 +00:00
Jedrzej Stuczynski 3a2ad5ae10 sphinx version upgrade 2020-03-02 15:40:12 +00:00
Jedrzej Stuczynski 63dfbc1465 Using native to_base58_string in client ledger 2020-03-02 12:21:24 +00:00
Jedrzej Stuczynski 1f69f09072 Fixed address derivation 2020-03-02 12:19:38 +00:00
Jedrzej Stuczynski 575bcaa43b Adjusted field access to AuthToken 2020-03-02 12:13:53 +00:00
Jedrzej Stuczynski b85bc53002 Fix to provider requests due to previous sphinx changes 2020-03-02 12:13:31 +00:00
Jedrzej Stuczynski b8f0fdefee made has token method on client ledger public 2020-03-02 11:12:07 +00:00
Jedrzej Stuczynski 3851e9e350 Constructor for client storage 2020-03-02 09:52:51 +00:00
Jedrzej Stuczynski 73ea1e29e0 Pending work 2020-02-28 13:03:55 +00:00
Jedrzej Stuczynski a4c9bc1df6 Adjusted clients ledger 2020-02-28 13:03:43 +00:00
Jedrzej Stuczynski ec93fdbbde Extra comments + derived traits 2020-02-28 13:03:29 +00:00
Jedrzej Stuczynski 1d36f73e89 Handling of received sphinx packet (incl. store) 2020-02-28 13:02:52 +00:00
Jedrzej Stuczynski da9593cee2 Missed updated sphinx cargo.toml file 2020-02-28 12:33:21 +00:00
Jedrzej Stuczynski b6e2c25c09 Made relevant mix methods private 2020-02-28 12:33:09 +00:00
Jedrzej Stuczynski 03aac5bd35 Updated sphinx 2020-02-28 12:32:47 +00:00
Jedrzej Stuczynski 3cb813d056 Updated Storage to work with async io 2020-02-28 11:48:08 +00:00
Jędrzej Stuczyński 6606ba7279 Merge pull request #123 from nymtech/feature/persistence-typo-fix
all: fixing mis-spelling
2020-02-28 09:14:37 +00:00
Dave Hrycyszyn e600dc7c4f all: fixing mis-spelling 2020-02-27 17:14:52 +00:00
Jedrzej Stuczynski 88eef54cc5 dead code 2020-02-27 14:44:14 +00:00
Jedrzej Stuczynski b922c869f0 Got rid of compiler warnings 2020-02-27 14:42:46 +00:00
Jedrzej Stuczynski 0c90afeaa2 Adjusted tcp client tests to work concurrently + without "wait" 2020-02-27 14:37:01 +00:00
Jedrzej Stuczynski 3756de9e86 processing data -> packet processor 2020-02-27 14:22:50 +00:00
Jedrzej Stuczynski 7fd3e28f2a Renamed reconnection backoff to initial reconnection backoff 2020-02-27 14:22:36 +00:00
Jedrzej Stuczynski 511ec78b2c Removed resolved comment 2020-02-27 14:22:11 +00:00
Jedrzej Stuczynski c71a1ae71d Changes due to updated sphinx 2020-02-27 13:08:25 +00:00
Jedrzej Stuczynski 8c6744dd96 Mixes starting with empty list of endpoints 2020-02-27 13:07:55 +00:00
Jedrzej Stuczynski b489d422a2 Dynamic list of tcp connections 2020-02-27 13:07:41 +00:00
Jedrzej Stuczynski 71c465afd5 Updated sphinx rev 2020-02-27 12:49:49 +00:00
Jedrzej Stuczynski c6cceb8d4d Starting and using the forwarding channel 2020-02-27 12:20:00 +00:00
Jedrzej Stuczynski 8f48836fd4 Full sphinx packet processing 2020-02-27 12:19:44 +00:00
Jedrzej Stuczynski 594e42793e Updated client error message 2020-02-27 12:19:30 +00:00
Jedrzej Stuczynski dfb7c82c31 Updated mixnode config with forwarding data 2020-02-27 12:19:08 +00:00
Jedrzej Stuczynski 1418d068b0 Mixnode packet forwarder 2020-02-27 12:18:50 +00:00
Jedrzej Stuczynski 8febd59588 Changed LocalBoxFuture to BoxFuture in reconnector (adds Send requirement) 2020-02-27 12:18:38 +00:00
Jedrzej Stuczynski 0e6d0c5bda Beginning of listener and packet processing refactoring 2020-02-26 17:08:06 +00:00
Jedrzej Stuczynski f297ed7323 Refactored mixnode startup and moved a lot of code outside of mod.rs 2020-02-26 17:07:45 +00:00
Jedrzej Stuczynski 811e18b36e Refactored how metrics are handled - separate sender, receiver and reporter 2020-02-26 17:07:18 +00:00
Jedrzej Stuczynski d808c9dab4 changed presence notifier to return JoinHandle 2020-02-26 17:06:47 +00:00
Jedrzej Stuczynski 2eec9dc8a1 Required provider adjustments due to previous changes 2020-02-26 17:06:17 +00:00