Files
nym/nym-node/src/cli/commands/migrate.rs
T
Jędrzej Stuczyński d062524d32 mix throughput tester (#5661)
* wip: sending with single client

* tag packets to measure latency

* constantly logging rates

* concurrency

* adjusting some values

* write results to files upon completion
2025-03-31 15:57:24 +01:00

31 lines
893 B
Rust

// Copyright 2024 - Nym Technologies SA <contact@nymtech.net>
// SPDX-License-Identifier: GPL-3.0-only
use crate::error::NymNodeError;
use colored::Color::TrueColor;
use colored::Colorize;
#[derive(clap::Args, Debug)]
pub(crate) struct Args {
#[arg(trailing_var_arg = true, allow_hyphen_values = true, hide = true)]
_args: Vec<String>,
}
pub(crate) fn execute(_args: Args) -> Result<(), NymNodeError> {
let orange = TrueColor {
r: 251,
g: 110,
b: 78,
};
println!("{}", "** Attention **".color(orange).bold());
print!("This binary ");
print!("{}", "DOES NOT".color(orange).bold());
print!("' support migrating from older mixnode/gateway binaries anymore ");
println!();
println!("please use an older version instead before attempting to use this binary again.");
println!();
Err(NymNodeError::UnsupportedMigration)
}