[][src]Module exonum_supervisor::mode

Module with available running modes for Supervisor.

Currently two modes are available:

  • Simple mode. Within simple mode, the amount of checks performed by the Supervisor is reduced to the minimum: the only requirement is that every request is sent by the validator.
  • Decentralized mode. Within decentralized mode, deploy requests and config proposals should be approved by at least (2/3+1) validators.

Structs

Decentralized

Decentralized supervisor mode: to deploy service a request should be sent to every validator before it will be executed. For configs, a byzantine majority of validators should vote for it.

Simple

Simple supervisor mode: to deploy service one have to send one request to any of the validators.

Traits

SupervisorMode

Trait encapsulating the decision making logic of the supervisor.