Skip to content

Commit 208deeb

Browse files
murchandamusbitschmidty
authored andcommitted
News252: Describe Mini Miner 27021
1 parent 9e16d31 commit 208deeb

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

_posts/en/newsletters/2023-05-24-newsletter.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,26 @@ Server][btcpay server repo], [BDK][bdk repo], [Bitcoin Improvement
141141
Proposals (BIPs)][bips repo], [Lightning BOLTs][bolts repo], and
142142
[Bitcoin Inquisition][bitcoin inquisition repo].*
143143

144-
- [Bitcoin Core #27021][] Implement Mini version of BlockAssembler to calculate mining scores FIXME:harding (hoping glozow or Xekyo will volunteer, though)
144+
- [Bitcoin Core #27021][] adds an interface for calculating how much it
145+
would cost to bring an output's unconfirmed ancestor transactions up
146+
to a given feerate, a value known as their _fee deficit_. When [coin
147+
selection][topic coin selection] is considering using a particular
148+
output at a particular feerate, its ancestors' fee deficit for that
149+
feerate is calculated and the result is deducted from its effective
150+
value. That discourages the wallet from choosing highly deficient
151+
outputs for a new transaction when other spendable outputs are
152+
available. In a [follow-up PR][bitcoin core #26152], the interface
153+
will also be used to allow the wallet to pay the extra fees (called
154+
_bump fees_) if it has to select deficient outputs anyway, ensuring
155+
the new transaction pays the effective feerate the user requested.
156+
157+
The algorithm is capable of assessing bump fees for any
158+
ancestor constellation by evaluating the unconfirmed UTXO’s entire
159+
related cluster of unconfirmed transactions and pruning the
160+
transactions that will have been picked into a block at the target
161+
feerate. A second method provides an aggregate bump fee across
162+
multiple unconfirmed outputs to correct for potential overlapping
163+
ancestries.
145164

146165
- [LND #7668][] adds the ability to associate up to 500 characters of
147166
private text with a channel when opening it and allows the operator to
@@ -166,7 +185,7 @@ Proposals (BIPs)][bips repo], [Lightning BOLTs][bolts repo], and
166185
255 characters.
167186

168187
{% include references.md %}
169-
{% include linkers/issues.md v=2 issues="27021,7668,2204,1841,1412" %}
188+
{% include linkers/issues.md v=2 issues="27021,7668,2204,1841,1412,26152" %}
170189
[Core Lightning 23.05]: https://github.com/ElementsProject/lightning/releases/tag/v23.05
171190
[bitcoin core 23.2]: https://bitcoincore.org/bin/bitcoin-core-23.2/
172191
[bitcoin core 24.1]: https://bitcoincore.org/bin/bitcoin-core-24.1/

_topics/en/coin-selection.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ optech_mentions:
6060
- title: "BTCPay Server #4600 updates its coin selection to avoid unnecessary inputs for payjoin"
6161
url: /en/newsletters/2023/02/15/#btcpay-server-4600
6262

63+
- title: "Bitcoin Core #27021 adds interface for calculating an output's ancestor fee deficit"
64+
url: /en/newsletters/2023/05/24/#bitcoin-core-27021
65+
6366
## Optional. Same format as "primary_sources" above
6467
see_also:
6568
- title: An Evaluation of Coin Selection Strategies

0 commit comments

Comments
 (0)