Jedrzej Stuczynski
|
a958445309
|
Got rid of compiler warnings
|
2019-12-18 14:44:07 +00:00 |
|
Jedrzej Stuczynski
|
428f202cbc
|
Got rid of most of compiler warnings
|
2019-12-18 14:39:54 +00:00 |
|
Jedrzej Stuczynski
|
073ef2776e
|
Returning result from delete_file function + some extra notes
|
2019-12-18 14:28:44 +00:00 |
|
Jedrzej Stuczynski
|
441a6c3e1b
|
Client sending registration request on startup
|
2019-12-18 14:25:29 +00:00 |
|
Jedrzej Stuczynski
|
091104be8f
|
Register response using concrete authToken type + defined from_bytes method
|
2019-12-18 13:25:15 +00:00 |
|
Jedrzej Stuczynski
|
8bbe771229
|
Potentially working mutex on register request
|
2019-12-18 13:20:18 +00:00 |
|
Jedrzej Stuczynski
|
0ead20764b
|
Pull request using the mutex
|
2019-12-18 13:06:51 +00:00 |
|
Jedrzej Stuczynski
|
8f451283dc
|
Put the client processing data behind a mutex
|
2019-12-18 12:39:16 +00:00 |
|
Jedrzej Stuczynski
|
6ae5142166
|
Changes required by the merge
|
2019-12-18 11:43:09 +00:00 |
|
Jedrzej Stuczynski
|
a8e46d34df
|
Merge branch 'develop' into features/auth_token
|
2019-12-18 11:41:13 +00:00 |
|
Jedrzej Stuczynski
|
0fe7276d44
|
Method to update auth token of provider client + removed mut from register
|
2019-12-18 11:22:46 +00:00 |
|
Jedrzej Stuczynski
|
2b89be3031
|
Basic structure for client registration message send
|
2019-12-18 11:20:52 +00:00 |
|
Jedrzej Stuczynski
|
bc143c16c0
|
Moved sending bytes to provider to separate method
|
2019-12-18 11:11:07 +00:00 |
|
Jedrzej Stuczynski
|
d08e51461b
|
Overwriting provider address at 'new'
|
2019-12-18 11:04:13 +00:00 |
|
Jedrzej Stuczynski
|
ef0e1d081d
|
Included address and auth token to provider client
|
2019-12-18 10:58:47 +00:00 |
|
Jedrzej Stuczynski
|
20fe59b9ba
|
Tests for marshaling/unmarshaling register request
|
2019-12-18 10:48:44 +00:00 |
|
Jedrzej Stuczynski
|
d0902218d4
|
Fixed ProviderRequest marshaling and unmarshaling
|
2019-12-18 10:45:17 +00:00 |
|
Jedrzej Stuczynski
|
38517e41ba
|
constructor for registerrequest
|
2019-12-18 10:38:01 +00:00 |
|
Jedrzej Stuczynski
|
7a57078c65
|
Moved socket address from start method to new
|
2019-12-18 10:30:27 +00:00 |
|
Jedrzej Stuczynski
|
6726329e2c
|
Optional auth token for client constructor
|
2019-12-18 10:26:53 +00:00 |
|
Jedrzej Stuczynski
|
812a0fe144
|
Deprecated run command
|
2019-12-18 10:25:32 +00:00 |
|
Jedrzej Stuczynski
|
5915e45961
|
Made code compile + moved address to provider client constructor
|
2019-12-18 10:22:24 +00:00 |
|
Jedrzej Stuczynski
|
507f37fcec
|
Made AuthToken be type alias for u8;32 + Used correct type alliases for the clients ledger
|
2019-12-18 10:03:12 +00:00 |
|
Jedrzej Stuczynski
|
06c645cf56
|
Using destination address type alias rather than just array of 32
( + rustfmt)
|
2019-12-18 09:41:29 +00:00 |
|
Dave Hrycyszyn
|
c81f2e860c
|
commands: removing unused import
|
2019-12-17 17:26:42 +00:00 |
|
Dave Hrycyszyn
|
4c3a5ac9d3
|
client: generating a random route.
|
2019-12-17 17:26:24 +00:00 |
|
aniampio
|
b63494f686
|
Add check of the token when pulling
|
2019-12-17 18:14:40 +01:00 |
|
aniampio
|
f78ce3f9b6
|
Remove lost comment
|
2019-12-17 17:36:01 +01:00 |
|
aniampio
|
671e55f4d5
|
Change SHA256 to HMAC
|
2019-12-17 17:29:10 +01:00 |
|
Dave Hrycyszyn
|
d2550c6a31
|
Merge pull request #33 from nymtech/feature/new_websocket_implementation
Feature/new websocket implementation
|
2019-12-17 16:10:10 +00:00 |
|
Jedrzej Stuczynski
|
3fb8ebbfee
|
Changed tokio tungstenite to use specific commit
|
2019-12-17 16:05:25 +00:00 |
|
Jedrzej Stuczynski
|
4918ed50f1
|
Most-merge conflicts
|
2019-12-17 16:00:15 +00:00 |
|
Jedrzej Stuczynski
|
2f871ea320
|
Merge branch 'develop' into feature/new_websocket_implementation
|
2019-12-17 15:57:59 +00:00 |
|
Jędrzej Stuczyński
|
5cde753e6c
|
Merge pull request #32 from nymtech/feature/client-public-key-as-provider-identity
Feature/client public key as provider identity
|
2019-12-17 15:32:14 +00:00 |
|
Jedrzej Stuczynski
|
c02a44fbce
|
Ability to send mix messages from websocket
|
2019-12-17 15:21:48 +00:00 |
|
Dave Hrycyszyn
|
e1822495a6
|
socket clients: setting up with id and local parameters
|
2019-12-17 15:04:25 +00:00 |
|
Dave Hrycyszyn
|
ddaf4b6a86
|
commands: using Nym banner on client start
|
2019-12-17 14:50:36 +00:00 |
|
Dave Hrycyszyn
|
127f6b4047
|
run: reading the client's keypair from disk whenever it's run
|
2019-12-17 14:48:44 +00:00 |
|
Dave Hrycyszyn
|
74e0fb849b
|
keys: relying on the type system to ensure keys are 32 byte arrays
|
2019-12-17 14:48:20 +00:00 |
|
Dave Hrycyszyn
|
a42dd55320
|
main: adding "id" parameter back onto "run" command
|
2019-12-17 14:47:45 +00:00 |
|
aniampio
|
85d147ef62
|
Change token from vec to fixed size array
|
2019-12-17 15:46:55 +01:00 |
|
Dave Hrycyszyn
|
7b545c78ee
|
Merge pull request #31 from nymtech/feature/client-cleanup
Import cleanup
|
2019-12-17 14:10:33 +00:00 |
|
Dave Hrycyszyn
|
8bf9dabdf1
|
Import cleanup
|
2019-12-17 14:09:41 +00:00 |
|
aniampio
|
cb69182e02
|
Make sure the client is registered only once and there is only one directory for it
|
2019-12-17 14:49:29 +01:00 |
|
Jędrzej Stuczyński
|
ba28917ba5
|
Merge pull request #30 from nymtech/feature/provider-from-topology
Feature/provider from topology
|
2019-12-17 13:43:50 +00:00 |
|
Dave Hrycyszyn
|
253dbdafaf
|
Merge branch 'develop' into feature/provider-from-topology
|
2019-12-17 13:38:02 +00:00 |
|
Dave Hrycyszyn
|
8dd8873a03
|
using new Config object for provider
|
2019-12-17 13:34:18 +00:00 |
|
Dave Hrycyszyn
|
4e55c6c395
|
rustfmt
|
2019-12-17 13:33:59 +00:00 |
|
Dave Hrycyszyn
|
381e85f0bc
|
main: setting default provider parameters
|
2019-12-17 13:33:42 +00:00 |
|
Dave Hrycyszyn
|
8ef95ac522
|
main: making provider module public
|
2019-12-17 13:33:08 +00:00 |
|