3b6110a42e
* 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
Nym Validator
The Nym Validator has several jobs:
- use Tendermint (v0.33.0) to maintain a total global ordering of incoming transactions
- track quality of service for mixnet nodes (mixmining)
- generate Coconut credentials and ensure they're not double spent
- maintain a decentralized directory of all Nym nodes that have staked into the system
Some of these functions may be moved away to their own node types in the future, for example to increase scalability or performance. At the moment, we'd like to keep deployments simple, so they're all in the validator node.
Running the validator on your local machine
- Download and install Tendermint 0.32.7
tendermint initsets up Tendermint for usetendermint noderuns Tendermint. You'll get errors until you run the Nym validator, this is normal :).cp sample-configs/validator-config.toml.sample sample-configs/validator-config.tomlcargo run -- run --config ../sample-configs/validator-config.tomlbuilds the Nym Validator and runs it