Dave Hrycyszyn
3f06ccc36b
Adding Apache 2 license headers to all files ( #178 )
2020-04-09 11:24:24 +01:00
Jędrzej Stuczyński
3b6110a42e
Feature/tcp client connection timeout ( #176 )
...
* Added timeout values to configs
* Fixed possible crash when using delay larger than 2 years
* Connection timeout with hardcoded value
* Using provided timeout value
* tcp client requiring timeout value at construction
* Client using updated tcp client
* Mixnode using updated tcp client
* Healthchecker having separate timeout + new client config field
* Updated validator with connection timeout field
* Added connection_timeout to validator config template
2020-04-07 15:50:23 +01:00
Jędrzej Stuczyński
7e1c957090
Feature/mixing stats logging ( #175 )
...
* Extra startup log messages
* Type alias for sent metrics map
* Initial metrics informer
* Separated report and running stats
* Decreases report logging level
* Added logging delay as a config value
* New metrics informer constructor
* Determining if running stats should be logged
* Separated running total and reports logging
* Missing changes
2020-04-07 11:21:12 +01:00
Jędrzej Stuczyński
6766cf3470
Feature/non mandatory debug config ( #173 )
...
* configs no longer need to have all debug fields set
* Removed debug section from config template of mixnode, provider and validator
* Significantly reduced debug section in client config template
2020-04-06 16:32:34 +01:00
Jędrzej Stuczyński
b564cd935e
Feature/addressing move ( #169 )
...
* Moved 'addressing' to nymsphinx + slightly better API + tests
* Replaced all usages of above in the project
* Removed 'split_and_encapsulate_message' from chunking API to get rid of circular dependency + to prefer usage of TopologyAccessor
* changes in Cargo.lock
* formatting
2020-04-03 15:07:02 +01:00
Jędrzej Stuczyński
d859a98367
Checking if any other node is already announcing the same host ( #168 )
2020-04-02 15:39:14 +01:00
Jędrzej Stuczyński
d02e248328
Bugfix/closing tcp client connections on drop ( #167 )
...
* Filtering out early eof errors
* Wrapping ConnectionManager in Abortable
* Decreased pathchecker logging level
* Client aborting all connection futures on drop
* Moved AbortHandle to connection_managers HashMap to couple them closer together
2020-04-02 15:38:21 +01:00
Dave Hrycyszyn
5caf093dca
Some more startup fixes
2020-03-20 12:56:26 +00:00
Jędrzej Stuczyński
eae2fe675d
Merge pull request #151 from nymtech/feature/remove-startup-warnings
...
Friendlification of startup messages
2020-03-19 11:55:30 +00:00
jstuczyn
776a857779
Entering runtime context when creating packet forwarder
2020-03-19 11:32:44 +00:00
Dave Hrycyszyn
3ccaf77249
mixnode, sfw-provider: no need to expose deep internals to users first thing
2020-03-19 11:18:43 +00:00
jstuczyn
3b2461080c
Changed the multi-tcp client to have an option to wait for an error response
2020-03-16 17:04:26 +00:00
jstuczyn
270d7567df
Merge branch 'develop' into feature/concurrent_connection_managers
2020-03-16 15:08:36 +00:00
Dave Hrycyszyn
b2789bf2a1
Merge pull request #148 from nymtech/feature/windows_fix
...
Making code work on windows machines.
2020-03-16 15:06:21 +00:00
Jędrzej Stuczyński
560b01974f
Merge pull request #145 from nymtech/feature/simplify-setup
...
Extracting the log setup
2020-03-16 14:22:28 +00:00
jstuczyn
c0044499da
Missing quoation mark
2020-03-16 13:33:09 +00:00
Dave Hrycyszyn
d8e4c8d24d
Extracting logging setup for all binaries
2020-03-16 13:22:15 +00:00
jstuczyn
f5e3e10707
Updated merged changes in config to be consistent with previous updates
2020-03-16 13:12:15 +00:00
jstuczyn
2eb237cc0e
Merge branch 'develop' into feature/windows_fix
2020-03-16 13:08:26 +00:00
jstuczyn
5d2fb6bdfa
Updated quotation marks used in config templates to work on windows with paths containing \U sequences
2020-03-16 12:37:09 +00:00
Jedrzej Stuczynski
ab5656ce94
Updated configs and args with location
2020-03-13 16:34:06 +00:00
Jedrzej Stuczynski
fe85fefb5b
Client and mixnode adjustments due to previous changes
2020-03-12 16:24:04 +00:00
Jedrzej Stuczynski
e8a5320ae6
Defaulting for global 'Info' logging level if not set in .env
2020-03-11 14:53:28 +00:00
Jedrzej Stuczynski
c625c00d58
Using log builder to include timestamps + filters
2020-03-11 10:36:24 +00:00
Jedrzej Stuczynski
858481e1d2
Changed presence and metrics interval to use deadlines rather than fixed delays
2020-03-10 10:11:59 +00:00
Jedrzej Stuczynski
a9a3e98801
Reverts changes in 744a004d06
2020-03-10 09:26:44 +00:00
Jedrzej Stuczynski
30fcc54d8f
Decreased default metrics and presence sending delay
2020-03-09 16:43:08 +00:00
Jedrzej Stuczynski
aa7898eca2
Changed read to read_exact for reading sphinx packets to increase reliability
2020-03-09 16:42:46 +00:00
Dave Hrycyszyn
d84951b6a5
Merge branch 'develop' of github.com:nymtech/nym into develop
2020-03-06 15:07:20 +00:00
Dave Hrycyszyn
744a004d06
Temporarily bumping up log levels to show good v bad packet ratio
2020-03-06 15:07:11 +00:00
Jedrzej Stuczynski
562aeefc7a
If not overridden, 'announce-host' should default to 'host'
2020-03-06 14:03:50 +00:00
Jedrzej Stuczynski
f73d6371d2
Made clippy happier
2020-03-05 15:18:07 +00:00
Dave Hrycyszyn
1d26ec1ada
Merge pull request #125 from nymtech/feature/provider-refactoring
...
Feature/provider refactoring
2020-03-03 14:13:51 +00:00
Jedrzej Stuczynski
ec93fdbbde
Extra comments + derived traits
2020-02-28 13:03:29 +00:00
Jedrzej Stuczynski
b6e2c25c09
Made relevant mix methods private
2020-02-28 12:33:09 +00:00
Dave Hrycyszyn
e600dc7c4f
all: fixing mis-spelling
2020-02-27 17:14:52 +00:00
Jedrzej Stuczynski
b922c869f0
Got rid of compiler warnings
2020-02-27 14:42:46 +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
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
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
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
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
f136f8e75a
Presence reporter responsible for starting own task
2020-02-26 11:31:27 +00:00