Skip to content

Calculate a projected fee for a channel open with LND UTXOs

Notifications You must be signed in to change notification settings

BlockSpaces/festivus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Festivus

Calculate a projected fee for a channel open with LND UTXOs

use tonic_lnd::walletrpc::ListUnspent;
use tonic_lnd::lnrpc::Utxo;

let projected_fees = calculate_fees(utxos, amount);

let (total_fees, sat_vbyte) = projected_fees.fastest_fee;

About

Calculate a projected fee for a channel open with LND UTXOs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages