You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
395 B
13 lines
395 B
package lnwallet |
|
|
|
import ( |
|
"github.com/btcsuite/btcutil" |
|
"github.com/btcsuite/btcwallet/wallet/txrules" |
|
"github.com/lightningnetwork/lnd/input" |
|
) |
|
|
|
// DefaultDustLimit is used to calculate the dust HTLC amount which will be |
|
// send to other node during funding process. |
|
func DefaultDustLimit() btcutil.Amount { |
|
return txrules.GetDustThreshold(input.P2WSHSize, txrules.DefaultRelayFeePerKb) |
|
}
|
|
|