Files
nym/validator
Dave Hrycyszyn 8745fb4230 Feature/clean up (#238)
* validator: fixing a warning, untestify this when you need it for real code

* webassembly: minor readme changes.

* README changes in wasm

* Updated wasm version

* clients/webassembly: security vuln updates

* typo fix

* WIP commit

* Significantly simplified the API

* Changed switch to have default branch

* Managed to get rid of `this` bind

* Filled in a missing word

Co-authored-by: jstuczyn <jedrzej.stuczynski@gmail.com>
2020-05-19 10:32:52 +01:00
..
2020-05-19 10:32:52 +01:00
2020-04-17 11:39:36 +01:00
2020-04-17 11:39:36 +01:00

Nym Validator

The Nym Validator has several jobs:

  • use Tendermint (v0.33.0) to maintain a total global ordering of incoming transactions
  • rewards + stake slashing based quality of service measurements for mixnet nodes (aka "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

  1. Download and install Tendermint 0.32.7
  2. tendermint init sets up Tendermint for use
  3. tendermint node runs Tendermint. You'll get errors until you run the Nym validator, this is normal :).
  4. cp sample-configs/validator-config.toml.sample sample-configs/validator-config.toml
  5. cargo run -- run --config ../sample-configs/validator-config.toml builds the Nym Validator and runs it