Files
nym/validator-api/Cargo.toml
T
Drazen Urch bf502f6338 Squashed commit of the following:
commit 020cad897d
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>
Date:   Fri Sep 24 15:49:21 2021 +0100

    Feature/rust rewarding (#750)

    * Calculating gas fees

    * Ability to set custom fees

    * Added extra test

    * Removed commented code

    * Moved all msg types to common contract crate

    * Temporarily disabling get_tx method

    * Finishing up nymd client API

    * Comment fix

    * Remaining fee values

    * Some cleanup

    * Removed needless borrow

    * Fixed imports in contract tests

    * Moved error types around

    * New ValidatorClient

    * Experiment with new type of defaults

    * Removed dead module

    * Dealt with unwrap

    * Migrated mixnode to use new validator client

    * Migrated gateway to use new validator client

    * Mixnode and gateway adjustments

    * More exported defaults

    * Clients using new validator client

    * Fixed mixnode upgrade

    * Moved default values to a new crate

    * Changed behaviour of validator client features

    * Migrated basic functions of validator api

    * Updated config + fixed startup

    * Fixed wasm client build

    * Integration with the explorer api

    * Removed tokio dev dependency

    * Needless borrow

    * Fixex wasm client build

    * Fixed tauri client build

    * Needless borrows

    * New tables for rewarding

    * Updated cosmos-sdk version

    * Removed reward-specific node status routes

    * New rewarding-specific config entries

    * Additional network defaults

    * Initial periodic rewards from validator api

    * Replaced print with log

    * Filtering nodes with uptime > 0

    * Additional failure logging statements

    * Fixed operation ordering

    * Adjusted next rewarding epoch determination

    * Modified rewarding behaviour to keep track of rewarding in progress

    * Improved error message on config load failure

    * Additional log statement

    * Adjusted rewarding gas limit calculation

    * Made naming slightly more consistent

    * Fixed incorrect parentheses placement

    * Fixed fee calculation

    * Cargo fmt

    * Removed failed merge artifacts

    * Introduced comment for any future reward modification

    * typos

    * Helper functions for the future

    * Making @mfahampshire 's life easier

    * Redesigned epoch + rewarding skipped epochs (if possible)

    * Removed old merge artifacts

    * Naming consistency

    * Constraining arguments

    * Removed unnecessary if branch

    * Ignore monitor check for current epoch

    * Additional checks for current epoch data

    * Monitor threshold check

    * cargo fmt

    * Fixed post-merge issues in transactions.rs

commit 5dfaff6296
Author: Drazen Urch <drazen@urch.eu>
Date:   Tue Sep 21 10:59:17 2021 +0200

    Update hmac and blake3 (#673)

    * Update hmac and blake3

    * Remain paranoid for `0.*` crates

    * Most paranoid versions :)

    * Updated aes and using published version of blake3

    Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>

commit 5b03982043
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>
Date:   Mon Sep 20 10:40:03 2021 +0100

    Replaced unwrap_or_else with unwrap_or_default (#780)

commit 8f6856d6fb
Author: Drazen Urch <drazen@urch.eu>
Date:   Mon Sep 20 11:15:06 2021 +0200

    Make fee helpers public (#777)

    Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com>
2021-09-27 11:36:51 +02:00

58 lines
2.0 KiB
TOML

# Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
# SPDX-License-Identifier: Apache-2.0
[package]
name = "nym-validator-api"
version = "0.11.0"
authors = [
"Dave Hrycyszyn <futurechimp@users.noreply.github.com>",
"Jędrzej Stuczyński <andrew@nymtech.net>",
"Drazen Urch <durch@users.noreply.github.com>",
]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = "2.33.0"
dirs = "3.0"
dotenv = "0.15.0"
futures = "0.3"
humantime-serde = "1.0"
log = "0.4"
pin-project = "1.0"
pretty_env_logger = "0.4"
rand = "0.7"
reqwest = { version = "0.11", features = ["json"] }
rocket = { version = "0.5.0-rc.1", features = ["json"] }
serde = "1.0"
serde_json = "1.0"
tokio = { version = "1.4", features = ["rt-multi-thread", "macros", "signal", "time"] }
rocket_cors = { git="https://github.com/lawliet89/rocket_cors", rev="dfd3662c49e2f6fc37df35091cb94d82f7fb5915" }
url = "2.2"
thiserror = "1"
time = { version = "0.3", features = ["serde-human-readable", "parsing"]}
anyhow = "1"
getset = "0.1.1"
rocket_sync_db_pools = {version = "0.1.0-rc.1", default-features = false}
sqlx = { version = "0.5", features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate"]}
## internal
config = { path = "../common/config" }
crypto = { path="../common/crypto" }
gateway-client = { path="../common/client-libs/gateway-client" }
mixnet-contract = { path="../common/mixnet-contract" }
nymsphinx = { path="../common/nymsphinx" }
topology = { path="../common/topology" }
validator-client = { path="../common/client-libs/validator-client", features = ["nymd-client"] }
version-checker = { path="../common/version-checker" }
coconut-interface = { path = "../common/coconut-interface" }
credentials = { path = "../common/credentials" }
[build-dependencies]
tokio = { version = "1.4", features = ["rt-multi-thread", "macros"] }
sqlx = { version = "0.5", features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate"] }