bsv-rs 0.3.5

BSV blockchain SDK for Rust - primitives, script, transactions, and more
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Fee model implementations.
//!
//! This module provides various fee model implementations for computing
//! transaction fees.
//!
//! # Available Fee Models
//!
//! - [`SatoshisPerKilobyte`] - Computes fees based on transaction size
//! - [`LivePolicy`] - Fetches live fee rate from ARC policy endpoint

mod live_policy;
mod sats_per_kb;

pub use live_policy::{
    LivePolicy, LivePolicyConfig, DEFAULT_CACHE_TTL_SECS, DEFAULT_FALLBACK_RATE, DEFAULT_POLICY_URL,
};
pub use sats_per_kb::SatoshisPerKilobyte;