-
Notifications
You must be signed in to change notification settings - Fork 941
Fix fee calculations #8236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rustyrussell
wants to merge
20
commits into
ElementsProject:master
Choose a base branch
from
rustyrussell:fix-fee-calculations
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix fee calculations #8236
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d73d76a
lightningd: don't attach an anchor at all if feerate already sufficient.
rustyrussell 296ad4c
lightningd: return addrtype when asking wallet_can_spend.
rustyrussell de1e206
openingd: don't cast existing_htlc array to simple_htlc array.
rustyrussell 08e90c3
hsmd: make our private utxo type, to ensure binary compatibility.
rustyrussell b88b6b6
hsmd: roll the definition of simple_htlc into the csv.
rustyrussell 4fb696f
hsmd: rename simple_htlc to hsm_htlc, don't gratuitously dynamically …
rustyrussell 5dc5921
common/utxo: use a real type for the UTXO, not a boolean is_p2sh.
rustyrussell 8a619dc
wallet: make enum wallet_output_type UPPERCASE.
rustyrussell 5705a1e
lightningd: fail too-large txs *before* opening channel.
rustyrussell fbfd367
common: fix utxo_spend_weight to understand how cheap P2TR is.
rustyrussell 3141ec7
wallet: generalize wallet_utxo_boost.
rustyrussell f551368
channeld: be more accurate with the weight of commitment txs.
rustyrussell 939f643
bitcoin: fix out-by-one-error in bitcoin_tx_input_weight.
rustyrussell 990a641
anchorspend: fix weight estimation.
rustyrussell 1cb86b8
wallet: implement dev-finalizepsbt for testing feerates.
rustyrussell 6c11a8c
txprepare: fix `all` amount when other amounts also specified.
rustyrussell 7a2da5b
pytest: enhance tests to test anchor and htlc tx feerates match targets.
rustyrussell a21babe
pytest: create warning if we grind signature shorter than 71 bytes, d…
rustyrussell 84d4f7d
bitcoin: make input witness weight calculation explicit.
rustyrussell 46d76db
pytest: fix up feerates for elements.
rustyrussell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might upset VLS in a rather sneaky way: we monitor hsmd_wire.csv to get notified if any messages change. By changing the fromwire and towire implementations that the generated code uses the message changes but no indication is left of it. Can we either create a new type or append a new field instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I'll make a note and preserve the wire format!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once we get rid of the old "closing info" UTXOs, we can actually ensure all the info is in the PSBT, and never send the utxos anyway.