e2e06df4e6
* Moved mixnode status route to node status api module * Introduced validator-api endpoint for estimating mixnode's reward * Stake saturation endpoint * kebab-cased coconut routes * Created separate crate for validator API models * Additional routes in validator API client * Introduced support for new queries in the wallet * Typescript type derivation * Fixed up date in license notice
26 lines
829 B
Rust
26 lines
829 B
Rust
// Copyright 2021 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
use network_defaults::VALIDATOR_API_VERSION;
|
|
|
|
pub const API_VERSION: &str = VALIDATOR_API_VERSION;
|
|
pub const MIXNODES: &str = "mixnodes";
|
|
pub const GATEWAYS: &str = "gateways";
|
|
|
|
pub const ACTIVE: &str = "active";
|
|
pub const REWARDED: &str = "rewarded";
|
|
|
|
pub const COCONUT_BLIND_SIGN: &str = "blind-sign";
|
|
pub const COCONUT_VERIFICATION_KEY: &str = "verification-key";
|
|
|
|
pub const STATUS_ROUTES: &str = "status";
|
|
pub const MIXNODE: &str = "mixnode";
|
|
pub const GATEWAY: &str = "gateway";
|
|
|
|
pub const CORE_STATUS_COUNT: &str = "core-status-count";
|
|
pub const SINCE_ARG: &str = "since";
|
|
|
|
pub const STATUS: &str = "status";
|
|
pub const REWARD_ESTIMATION: &str = "reward-estimation";
|
|
pub const STAKE_SATURATION: &str = "stake-saturation";
|