Skip to content

Commit

Permalink
Add fee for RBF and UTXOs
Browse files Browse the repository at this point in the history
  • Loading branch information
223880 committed Jun 21, 2024
1 parent 12d98c9 commit c7f762e
Showing 1 changed file with 56 additions and 2 deletions.
58 changes: 56 additions & 2 deletions src/lending/fee.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,58 @@
use crate::RBF;
use bitcoin::BumpFee:::RBF;

impl RBF = {
fn main() {
let mut rbf = RBF::new();
}

fn bump_fee() {
let mut rbf = RBF::new();
rbf.bump_fee();
}

fn bump_fee_with_conf() {
let mut rbf = RBF::new();
rbf.bump_fee_with_conf();
}
fn bump_fee_with_conf_and_utxo() {
let mut rbf = RBF::new();
rbf.bump_fee_with_conf_and_utxo();
}
fn bump_fee_with_conf_and_utxo_and_utxo_provider() {
let mut rbf = RBF::new();
rbf.bump_fee_with_conf_and_utxo_and_utxo_provider();
}

fn get_utxo_provider() {
let mut rbf = RBF::new();
rbf.get_utxo_provider();
}

fn set_utxo_provider() {
let mut rbf = RBF::new();
rbf.set_utxo_provider();
}

fn set_utxo_provider_with_conf() {
let mut rbf = RBF::new();
rbf.set_utxo_provider_with_conf();
}

fn set_utxo_provider_with_conf_and_utxo() {
let mut rbf = RBF::new();
rbf.set_utxo_provider_with_conf_and_utxo();
}

fn set_utxo_provider_with_conf_and_utxo_and_utxo_provider() {
let mut rbf = RBF::new();
rbf.set_utxo_provider_with_conf_and_utxo_and_utxo_provider();
}
impl RBF {
pub fn new() -> Self {
RBF
}
}
impl bump_fee {
pub fn new() -> Self {
bump_fee
}
}

0 comments on commit c7f762e

Please sign in to comment.