Trait lightning::chain::chaininterface::FeeEstimator[][src]

pub trait FeeEstimator: Sync + Send {
    fn get_est_sat_per_vbyte(
        &self,
        confirmation_target: ConfirmationTarget
    ) -> u64; }

A trait which should be implemented to provide feerate information on a number of time horizons. Note that all of the functions implemented here must be reentrant-safe (obviously - they're called from inside the library in response to ChainListener events, P2P events, or timer events).

Required Methods

Implementors