v0.0.112
0.0.112 - Oct 25, 2022 - "History Matters"
API Updates
Result<(), ChannelMonitorUpdateErr>return values have been replaced with
aChannelMonitorUpdateStatustrinary enum. This better denotes that
ChannelMonitorUpdateStatus::InProgressis not an error, but asynchronous
persistence of a monitor update. Note that asynchronous persistence still
has some edge cases and is not yet recommended for production (#1106).ChannelMonitorpersistence failure no longer automatically broadcasts the
latest commitment transaction. See the
ChannelMonitorUpdateStatus::PermanentFailuredocs for more info (#1106).*Features::knownhas been replaced with individual
*MessageHandler::provided_*_featuresmethods (#1707).OnionMessengernow takes aCustomOnionMessageHandlerimplementation,
allowing you to send and receive custom onion messages (#1748).ProbabilisticScorernow tracks the historical distribution of liquidity
estimates for channels. See newhistorical_*parameters in
ProbabilisticScoringParametersfor more details (#1625).lightning-block-sync'sBlockSourcetrait now supports BIP 157/158
filtering clients by returning only header data for some blocks (#1706).lightning-invoice'sRoutertrait now accepts anInFlightHtlcsto
ensure we do not over-use a remote channel's funds during routing (#1694).
Note that this was previously backported to 0.0.111 for bindings users.NetworkGraph::remove_stale_channelshas been renamed
NetworkGraph::remove_stale_channels_and_trackingasNetworkGraphnow
refuses to re-add nodes and channels that were recently removed (#1649).- The
lightning-rapid-gossip-synccrate now supportsno-std(#1708). - The default
ProbabilisticScoringParameters::liquidity_offset_half_lifehas
been increased to six hours from one (#1754). - All commitment transaction building logic for anchor outputs now assumes the
no-HTLC-tx-fee variant (#1685). - A number of missing
Eqimplementations were added (#1763).
Bug Fixes
lightning-background-processornow builds without error with thefutures
feature (#1744).ChannelManager::get_persistable_update_future's returnedFuturehas been
corrected to not fail to be awoken in some cases (#1758).- Asynchronously performing the initial
ChannelMonitorpersistence is now
safe (#1678). - Redundantly applying rapid gossip sync updates no longer
Errs (#1764). - Nodes which inform us via payment failures that they should no longer be
used are now removed from the network graph. Some LND nodes spuriously
generate this error and may remove themselves from our graph (#1649).
In total, this release features 134 files changed, 6598 insertions, 4370
deletions in 109 commits from 13 authors, in alphabetical order:
- Duncan Dean
- Elias Rohrer
- Gabriel Comte
- Gursharan Singh
- Jeffrey Czyz
- Jurvis Tan
- Matt Corallo
- Max Fang
- Paul Miller
- Valentine Wallace
- Viktor Tigerström
- Wilmer Paulino
- acid-bit