Skip to content

Conversation

starius
Copy link
Contributor

@starius starius commented Sep 1, 2025

This is WIP! And only one commit is for review: "switch from SatPerVbyte to SatPerKw fields in APIs".

Depends on #240 , #239 , and lightningnetwork/lnd#10067


Use SatPerKw instead of SatPerVbyte in SendCoins, CloseChannel, and walletrpc.BumpFee APIs.

Added new option WithSendCoinsFeerate for SendCoins and WithOpenChannelFeerate for OpenChannel API specifying feerate in sats/kw.

Use new fields provided by lightningnetwork/lnd#10067

CC @MPins

Pull Request Checklist

  • PR is opened against correct version branch.
  • Version compatibility matrix in the README and minimal required version
    in lnd_services.go are updated.
  • Update macaroon_recipes.go if your PR adds a new method that is called
    differently than the RPC method it invokes.

starius and others added 3 commits August 31, 2025 23:13
Include lightningnetwork/lnd#10067
add sats_per_kweight option when crafting a transaction (continue)
Use SatPerKw instead of SatPerVbyte in SendCoins, CloseChannel,
and walletrpc.BumpFee APIs.

Added new option WithSendCoinsFeerate for SendCoins and WithOpenChannelFeerate
for OpenChannel API specifying feerate in sats/kw.

Use new fields provided by lightningnetwork/lnd#10067
@@ -3164,6 +3181,9 @@ func MaxFeePerVbyte(maxFeePerVbyte chainfee.SatPerVByte) CloseChannelOption {
}
}

// TODO: MaxFeePerKw
// See https://github.com/lightningnetwork/lnd/pull/10067/files#r2302906743

Copy link

@MPins MPins Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to let you know that I addressed the MaxFeePerKw in the lightningnetwork/lnd#10067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants