mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Add MIN_RELAY_FEE_SAT_PER_1000_WEIGHT
Hardcode min relay fee as its value is fixed on the bitcoin network and updating it would be done really conservatively.
This commit is contained in:
parent
821357ea61
commit
201fb4b56a
1 changed files with 3 additions and 0 deletions
|
@ -115,6 +115,9 @@ pub trait FeeEstimator: Sync + Send {
|
|||
fn get_est_sat_per_1000_weight(&self, confirmation_target: ConfirmationTarget) -> u64;
|
||||
}
|
||||
|
||||
/// Minimum relay fee as required by bitcoin network mempool policy.
|
||||
pub const MIN_RELAY_FEE_SAT_PER_1000_WEIGHT: u64 = 4000;
|
||||
|
||||
/// Utility for tracking registered txn/outpoints and checking for matches
|
||||
pub struct ChainWatchedUtil {
|
||||
watch_all: bool,
|
||||
|
|
Loading…
Add table
Reference in a new issue