-
Notifications
You must be signed in to change notification settings - Fork 410
Closed
Labels
new featureNew feature or requestNew feature or request
Milestone
Description
Lightning is a special snowflake and does fees in satoshis per 1000-weight-units. It'd be nice if BDK supported that, and while we're at it maybe satoshis per 1000-vbytes, which also seems to be missing.
One concern with lightning, that doesn't appear to be handled in the BDK feerate logic is that rounding can push below the bitcoin core 1 sat/vbyte limit, so lightning actually requires a minimum of 253 sats-per-1000-weight. I'm not sure how best to capture this dozen in the BDK API, but I guess just being careful when calculating the concrete fee.
afilini
Metadata
Metadata
Assignees
Labels
new featureNew feature or requestNew feature or request