Commit Graph

1276 Commits

Author SHA1 Message Date
Dave Hrycyszyn fd68994e64 A possibly-working wasm Sphinx packet. 2020-04-09 16:42:29 +01:00
Dave Hrycyszyn 61e0ec5ab5 ibid 2020-04-09 16:42:08 +01:00
Dave Hrycyszyn 0d33d35437 nym-sphinx-wasm: updating to latest Sphinx 2020-04-09 16:41:01 +01:00
Dave Hrycyszyn 213fd12ff7 nym-sphinx-wasm: broken WIP commit so the Stuczynski can be unleashed 2020-04-09 15:12:31 +01:00
Dave Hrycyszyn 2d323f180f Initial build of a Sphinx packet in WebAssembly 2020-04-09 14:07:16 +01:00
Dave Hrycyszyn 3f06ccc36b Adding Apache 2 license headers to all files (#178) 2020-04-09 11:24:24 +01:00
Dave Hrycyszyn cb82299f0e Bumped version numbers to 0.7.0-dev 2020-04-07 17:33:26 +01:00
Dave Hrycyszyn ad52e06546 Merge tag 'v0.6.0' into develop
Releasing v0.6.0
2020-04-07 17:30:12 +01:00
Dave Hrycyszyn f5a3d7eea3 Merge branch 'release/0.6.0' v0.6.0 2020-04-07 17:29:55 +01:00
Dave Hrycyszyn d47f0be2f2 Bumping version numbers 2020-04-07 17:29:46 +01:00
Dave Hrycyszyn 7cb78b2090 Add changelog for 0.6.0 2020-04-07 17:20:34 +01:00
Dave Hrycyszyn c4bc6d2799 Making changelog script executable 2020-04-07 17:20:09 +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 f03101cc0b Preventing multiplication overflow for reconnection backoff (#174)
* Preventing multiplication overflow for reconnection backoff

* Check for addition overflow + helpful-ish error message

* Not resetting delay twice

* Lowered healtcheck reconnection backoff to something way more reasonable but still impossible to reach
2020-04-07 11:02:00 +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
Jędrzej Stuczyński c401222a84 Yielding tokio task upon creating loop/real traffic message (#166) 2020-04-01 15:33:27 +01:00
Jędrzej Stuczyński 425746e215 Feature/minor healthchecker improvements (#165)
* Integrated new tcp client into healthchecker

* Printing detailed healtcheck score if in debug

* Decreased logging level for when establishing new connection

* Slightly better formatting for printing healthcheck scores
2020-04-01 12:19:39 +01:00
Jędrzej Stuczyński aee3286793 Feature/packet chunking (#158)
Basic support for message chunking and reconstruction. It's now possible to take arbitrarily-sized input and send it through the mixnet. The sending Nym client will automatically chunk the input into Sphinx packets, and the receiving Nym client will then reconstruct the message at the other end.
2020-03-31 16:00:41 +01:00
Dave Hrycyszyn 941bd6d846 Merge branch 'master' into develop 2020-03-30 20:11:01 +01:00
Dave Hrycyszyn 7228806eca monorepo: adding Apache V2.0 license 2020-03-30 20:10:32 +01:00
Dave Hrycyszyn 74e641b57c Adding developer chat to the README 2020-03-27 18:24:59 +00:00
Dave Hrycyszyn 37fd895d13 Update CHANGELOG.md 2020-03-24 11:33:00 +00:00
Dave Hrycyszyn ef062e15ac Documented changelog process a bit better 2020-03-23 11:33:35 +00:00
Dave Hrycyszyn b9143ebc9e Changelog updated v0.5.0 2020-03-23 11:31:36 +00:00
Dave Hrycyszyn 7083294b21 v0.5.0 changelog 2020-03-23 11:14:19 +00:00
Dave Hrycyszyn 9e068ef063 Merge tag 'vv0.5.0' into develop
Release v0.5.0.
2020-03-23 10:50:27 +00:00
Dave Hrycyszyn 1e99e6dc07 Merge branch 'release/v0.5.0' 2020-03-23 10:35:32 +00:00
Dave Hrycyszyn d576a17d33 New cargo versions for top-level binaries 2020-03-23 10:35:19 +00:00
Dave Hrycyszyn 40a14a10b1 Minor README simplification 2020-03-23 10:35:05 +00:00
Jędrzej Stuczyński 8a51503b34 Merge pull request #155 from nymtech/feature/remove-scary-message
removing spooky startup warning message
2020-03-20 13:35:18 +00:00
Dave Hrycyszyn 5109ef290c removing spooky startup warning message 2020-03-20 13:34:11 +00:00
Jędrzej Stuczyński 6e3b2b54df Merge pull request #154 from nymtech/feature/eliminate-double-banner
Some more startup fixes
2020-03-20 13:17:23 +00:00
Dave Hrycyszyn 0048f1a805 Consistenifying return type 2020-03-20 13:01:03 +00:00
Dave Hrycyszyn 5caf093dca Some more startup fixes 2020-03-20 12:56:26 +00:00
Dave Hrycyszyn 478084a5f1 Merge pull request #153 from nymtech/hotfix/client_startup_fix
Entering runtime context when creating mix traffic controller
2020-03-20 12:37:26 +00:00
jstuczyn db02e828a6 Removed outdated comment 2020-03-20 12:25:56 +00:00
jstuczyn 3a4bdc861a Entering runtime context when creating mix traffic controller 2020-03-20 12:23:04 +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
Dave Hrycyszyn df677362ed Merge pull request #150 from nymtech/hotfix/mixnode_startup_fix
Entering runtime context when creating packet forwarder
2020-03-19 11:54:33 +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
Jędrzej Stuczyński 6254169151 Merge pull request #149 from nymtech/feature/add-topology-to-validator
Feature/add topology to validator
2020-03-17 11:02:51 +00:00
Dave Hrycyszyn 684f7a1432 validator: removed unneeded serde_derive 2020-03-17 10:54:47 +00:00
Dave Hrycyszyn e6ac966757 validator: using fully-qualified struct names to eliminate a bit of noise 2020-03-17 09:42:52 +00:00
Dave Hrycyszyn bb235cb7f1 validator: noting async nature of spawn causes out of order messages 2020-03-16 18:11:36 +00:00
Dave Hrycyszyn 1b844292a9 validator: noted the need for some Tendermint startup tenderness and love 2020-03-16 18:09:15 +00:00