Commit Graph

904 Commits

Author SHA1 Message Date
Jedrzej Stuczynski 1e938dfd55 Provider poller getting rate from the provided config value 2020-01-31 13:04:39 +00:00
Jedrzej Stuczynski e48b28eefd Generating proper tmp random dir on each test run 2020-01-31 12:51:17 +00:00
Jedrzej Stuczynski ea5223ddf5 Custom deserializer for Option<String> to fix receiving Some("") rather than None 2020-01-31 12:50:56 +00:00
Jedrzej Stuczynski 65772cdc1e Fixed how ensuring config save directory exists 2020-01-31 12:40:16 +00:00
Jedrzej Stuczynski f8a468135a Replaced AuthToken with new implementation 2020-01-31 11:59:27 +00:00
Jedrzej Stuczynski 5a4bf6f08a ibid. 2020-01-31 11:49:45 +00:00
Jedrzej Stuczynski dbf3c0d6ea Created new version of AuthToken that can be converted to and from String 2020-01-31 11:49:36 +00:00
Jedrzej Stuczynski abd937e308 Started modifying NymClient to hold config struct 2020-01-31 11:49:03 +00:00
Jedrzej Stuczynski f23fd57e8d TCP and WebSocket taking only port as an argument rather than whole SocketAddr 2020-01-31 11:48:41 +00:00
Jedrzej Stuczynski e9f96e030f Extra bit of information in template indicating AuthToken is expected to be b58 2020-01-31 11:48:16 +00:00
Jedrzej Stuczynski 02add8d416 More config getters + extra comments 2020-01-31 11:47:46 +00:00
Jedrzej Stuczynski a5cee1fa62 Topology refresh switching to millis interval 2020-01-31 11:47:20 +00:00
Jedrzej Stuczynski bc18173ffa Made builder methods on config more generic to accept any kind of strings 2020-01-31 10:19:10 +00:00
Jedrzej Stuczynski 3ac46255f0 ibid. 2020-01-31 10:18:40 +00:00
Jedrzej Stuczynski b8530c91c1 Made conversion into 'SocketType' enum more generic
Now it works for anything that can be converted into String
2020-01-31 10:10:52 +00:00
Jedrzej Stuczynski f13e5ae186 Allow using "ws" alias for websocket 2020-01-31 10:07:58 +00:00
Jedrzej Stuczynski 0780f6c501 Added optional provider auth token to config 2020-01-31 10:04:29 +00:00
Jedrzej Stuczynski 09ac19fb45 Using except rather than unwrap during client init 2020-01-31 10:04:10 +00:00
Jedrzej Stuczynski bb29421854 Ensuring the whole path to pem files exist before saving 2020-01-31 10:03:51 +00:00
Jedrzej Stuczynski 2ac707d57c Constructing client config + printing it 2020-01-30 17:07:05 +00:00
Jedrzej Stuczynski af5c389eea Ability to convert SocketType from &str or String 2020-01-30 17:06:45 +00:00
Jedrzej Stuczynski b27b619412 Debug on Pathfinder 2020-01-30 16:13:11 +00:00
Jedrzej Stuczynski 7b0aee7a2c Using correct methods 2020-01-30 16:13:04 +00:00
Jedrzej Stuczynski 807e4234d6 Default save_to_file method making sure the directory exists 2020-01-30 16:12:44 +00:00
Jedrzej Stuczynski 51e43547ed Changed NymConfig to take optional id for some of its method 2020-01-30 16:09:53 +00:00
Jedrzej Stuczynski 2e63f95b76 More descriptive variable names in pemstore 2020-01-30 16:08:44 +00:00
Jedrzej Stuczynski 32f067256b Pemstore no longer creating directory for config file 2020-01-30 16:08:30 +00:00
Jedrzej Stuczynski e97102d3e4 Generating and saving client config on client init 2020-01-30 14:55:33 +00:00
Jedrzej Stuczynski 851bad7864 Extra logging for pemstore 2020-01-30 14:55:21 +00:00
Jedrzej Stuczynski 728f5e237a Ability to create client pathfinder from the config 2020-01-30 14:55:10 +00:00
Jedrzej Stuczynski 9767dd58ca Additional methods on client config 2020-01-30 14:54:58 +00:00
Jedrzej Stuczynski f33e9e80f6 Added config_file_name() to NymConfig trait 2020-01-30 14:54:45 +00:00
Jedrzej Stuczynski 0ad648703f Changed delays/intervals values to use millis rather than seconds 2020-01-30 14:21:44 +00:00
Jedrzej Stuczynski 03f7be502b Updated import path for serde 2020-01-30 12:57:06 +00:00
Jedrzej Stuczynski 3409dfcdf3 Merge branch 'develop' into feature/config_files 2020-01-30 12:50:35 +00:00
Jędrzej Stuczyński fd89dc36ec Merge pull request #111 from nymtech/feature/un-genericize-keys
Feature/un genericize keys
2020-01-30 12:49:19 +00:00
Dave Hrycyszyn 9797b8da74 crypto: simplified keypairs a bit 2020-01-30 12:27:00 +00:00
Dave Hrycyszyn 6b879e88e7 nym: removing type parameters on keypairs 2020-01-30 12:19:23 +00:00
Dave Hrycyszyn d3199778e4 validator: starting removal of keypair generics 2020-01-30 11:55:15 +00:00
Dave Hrycyszyn c426b09b07 validator: placeholder comment for Ethereum integration 2020-01-30 11:50:37 +00:00
Jędrzej Stuczyński 3c6e6d1ad7 Merge pull request #110 from nymtech/feature/abci
Feature/abci
2020-01-30 11:46:31 +00:00
Dave Hrycyszyn 46055fe8c4 validator: removing unused config 2020-01-30 11:33:04 +00:00
Dave Hrycyszyn d75ac203d2 validator: simplified task spawning 2020-01-30 11:32:06 +00:00
Dave Hrycyszyn c4c004cd9c validator: WIP on merge conflicts 2020-01-30 11:25:00 +00:00
Dave Hrycyszyn c956576231 Merge pull request #109 from nymtech/feature/keypair_generic_cleanup
Simplified the use of generics on identity keypair by using output types
2020-01-30 10:33:02 +00:00
Jedrzej Stuczynski 2d99b2b93a Fixed validator compilation error 2020-01-30 10:19:55 +00:00
Jedrzej Stuczynski 713a7a6fe8 Initial fields for the client config 2020-01-29 16:04:57 +00:00
Jedrzej Stuczynski 00dc25a94f Definition of NymConfig trait + default methods 2020-01-29 16:04:27 +00:00
Jedrzej Stuczynski a73585e13a Simplified the use of generics on identity keypair by using output types 2020-01-29 15:30:20 +00:00
Dave Hrycyszyn acc0f8430a validator: updating run instructions 2020-01-29 13:05:16 +00:00