8ad641f8f8
In simulation mode, the nym-api should be able to run performance simulations regardless of which instance is handling epoch advancement, since simulations don't perform any blockchain transactions. This fix: - Allows simulation mode to proceed when another API is advancing the epoch - Skips epoch transition attempts in simulation mode - Skips actual reward distribution blockchain operations in simulation mode
11 lines
350 B
Rust
11 lines
350 B
Rust
// Copyright 2025 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
//! Simulation API for reward calculation analysis
|
|
//!
|
|
//! This module provides REST endpoints for accessing and analyzing
|
|
//! simulated reward calculation data comparing old vs new methodologies.
|
|
|
|
pub(crate) mod handlers;
|
|
pub(crate) mod models;
|