lnwallet: add dust limit to contribution
In order to make the node's dust limit available to the wallet during the initial stages of the funding process, add and set a DustLimit field in the Contribution.
This commit is contained in:
1 parent
74854963bf
commit
18f453a3e6
3 files changed
+24
-13
No files matched your search
@@ -46,6 +46,11 @@ type ChannelContribution struct {
|
||||
// initial version of this party's commitment transaction.
|
||||
RevocationKey *btcec.PublicKey
|
||||
|
||||
// DustLimit is the threshold below which no HTLC output should be
|
||||
// generated for this party. HTLCs below this amount are not
|
||||
// enforceable on-chain from this party's point of view.
|
||||
DustLimit btcutil.Amount
|
||||
|
||||
// CsvDelay The delay (in blocks) to be used for the pay-to-self output
|
||||
// in this party's version of the commitment transaction.
|
||||
CsvDelay uint32
|
||||
|
||||
Reference in new issue
Block a user