nvpn 4.1.9

CLI and daemon for Nostr VPN private mesh networks
Documentation
use super::*;
use nostr_vpn_core::paid_routes::PaidRouteUsage;

#[path = "automatic/payments.rs"]
mod payments;
#[path = "automatic/runtime.rs"]
mod runtime;
#[path = "automatic/selection.rs"]
mod selection;
#[path = "automatic/state.rs"]
mod state;

pub(crate) use payments::finalize_automatic_paid_exit;
pub(crate) use payments::fund_paid_exit_session;
pub(crate) use payments::queue_recovered_paid_exit_channel_open;
use payments::{fund_automatic_paid_exit, suspend_automatic_paid_exit};
pub(crate) use runtime::update_automatic_paid_exit;
pub(crate) use runtime::{paid_exit_route_probe_measurement, record_paid_exit_probe};
pub(crate) use selection::reconcile_automatic_paid_exit_selection;
#[cfg(test)]
use state::PAID_EXIT_AUTO_RETRY_COOLDOWN_SECS;
#[cfg(test)]
use state::PaidExitAutomaticCandidate;
use state::{PAID_EXIT_AUTO_HEALTH_TTL_SECS, PaidExitAutomaticProbe};
pub(crate) use state::{PaidExitAutomaticBuyer, PaidExitUsageFlush};

#[cfg(test)]
#[path = "automatic/tests.rs"]
mod tests;