From 890386b9a4fa8c0db20f37507e2380472cca4cb8 Mon Sep 17 00:00:00 2001 From: "David A. Harding" Date: Thu, 14 May 2020 12:47:27 -0400 Subject: [PATCH 1/5] Newsletters: add 98 (2020-05-20) --- .../en/newsletters/2020-05-20-newsletter.md | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 _posts/en/newsletters/2020-05-20-newsletter.md diff --git a/_posts/en/newsletters/2020-05-20-newsletter.md b/_posts/en/newsletters/2020-05-20-newsletter.md new file mode 100644 index 0000000000..5cb0a1c884 --- /dev/null +++ b/_posts/en/newsletters/2020-05-20-newsletter.md @@ -0,0 +1,81 @@ +--- +title: 'Bitcoin Optech Newsletter #98' +permalink: /en/newsletters/2020/05/20/ +name: 2020-05-20-newsletter +slug: 2020-05-20-newsletter +type: newsletter +layout: newsletter +lang: en +--- +This week's newsletter FIXME:harding + +## Action items + +FIXME:harding + +## News + +FIXME:harding + +## Changes to services and client software + +*In this monthly feature, we highlight interesting updates to Bitcoin +wallets and services.* + +FIXME:bitschmidty + +## Releases and release candidates + +FIXME:harding to update Tuesday afternoon with latest releases and RCs + +*New releases and release candidates for popular Bitcoin infrastructure +projects. Please consider upgrading to new releases or helping to test +release candidates.* + +- [Bitcoin Core 0.20.0rc1][bitcoin core 0.20.0] is a release candidate + for the next major version of Bitcoin Core. + +## Notable code and documentation changes + +*Notable changes this week in [Bitcoin Core][bitcoin core repo], +[C-Lightning][c-lightning repo], [Eclair][eclair repo], [LND][lnd repo], +[Rust-Lightning][rust-lightning repo], [libsecp256k1][libsecp256k1 repo], +[Bitcoin Improvement Proposals (BIPs)][bips repo], and [Lightning +BOLTs][bolts repo].* + +*Note: the commits to Bitcoin Core mentioned below apply to its master +development branch and so those changes will likely not be released +until version 0.21, about six months after the release of the upcoming +version 0.20.* + +- [Bitcoin Core #18877][] Serve cfcheckpt requests FIXME:jnewbery + +- [Bitcoin Core #18894][] fixes a UI bug that affected users of both + multi-wallet mode in the GUI and manual coin control. The bug was + described as a [known issue][coin control bug] in the Bitcoin Core + 0.18 release notes. This is tagged to be included in the second + release candidate for Bitcoin Core 0.20. + +- [C-Lightning #3614][] coinmoves: FIXME:dongcarl + +- [Bitcoin #18808][] causes Bitcoin Core to ignore any P2P protocol + `getdata` requests that specify an unknown type of data. The new + logic will also ignore requests for types of data that aren't expected + to be sent over the current connection, such as requests for + transactions (type: `tx`) on block-relay-only connections. + Previously, Bitcoin Core wouldn't process any further requests from + a peer after it received an unknown type, effectively stalling that + connection. + +- [Eclair #1395][] updates the route pathfinding used by Eclair to + factor in channel balances and to use [Yen's algorithm][]. Testing + quoted in the PR description says, "The new algorithm consistently + finds more routes and cheaper ones. The route prefix are more diverse, + which is good as well (especially for MPP). [...] and the new [code] + is consistently 25% faster on my machine (when looking for 3 routes)." + +{% include references.md %} +{% include linkers/issues.md issues="18877,18894,3614,18808,1395" %} +[bitcoin core 0.20.0]: https://bitcoincore.org/bin/bitcoin-core-0.20.0 +[coin control bug]: https://bitcoincore.org/en/releases/0.18.0/#wallet-gui +[yen's algorithm]: https://en.wikipedia.org/wiki/Yen's_algorithm From edec62b6edfa498568573b38313fb3a4bb803000 Mon Sep 17 00:00:00 2001 From: "David A. Harding" Date: Sun, 17 May 2020 15:51:03 -0400 Subject: [PATCH 2/5] News98: add lede, action items, news, releases/RCs, and most notable commits --- .../en/newsletters/2020-05-20-newsletter.md | 101 ++++++++++++++---- 1 file changed, 78 insertions(+), 23 deletions(-) diff --git a/_posts/en/newsletters/2020-05-20-newsletter.md b/_posts/en/newsletters/2020-05-20-newsletter.md index 5cb0a1c884..07ab368e04 100644 --- a/_posts/en/newsletters/2020-05-20-newsletter.md +++ b/_posts/en/newsletters/2020-05-20-newsletter.md @@ -7,15 +7,55 @@ type: newsletter layout: newsletter lang: en --- -This week's newsletter FIXME:harding +This week's newsletter relays a request for comments on a proposed +change to the BIP341 taproot transaction digest and briefly summarizes +discussion about a new and more concise protocol for atomic swaps. Also +included are our regular sections describing changes to services and +client software, new releases and release candidates, and notable +changes to popular Bitcoin infrastructure software. ## Action items -FIXME:harding +- **Evaluate proposed changes to BIP341 taproot transaction digest:** as + described in [last week's newsletter][news97 spk commit], there has + been a request for [taproot][topic taproot] signatures to make an + additional commitment to the scriptPubKeys of all the UTXOs being + spent in a transaction. Anthony Towns has [suggested][towns + suggestion] how [BIP341][] might be updated for this change and Pieter + Wuille has [asked][wuille rfc] whether anyone has any objections. If + you have any questions or concerns about the proposed transaction + digest revision, we suggest either replying to the mailing list or + contacting the BIP341 authors directly. ## News -FIXME:harding +- **Two-transaction cross chain atomic swap or same-chain coinswap:** + Ruben Somsen [posted][somsen post] to the Bitcoin-Dev mailing list and + [created a video][somsen video] describing a procedure for a trustless + exchange of coins using only two transactions, named Succinct Atomic + Swaps (SAS). The [previous standard protocol][nolan swap] uses four + transactions. Somsen's SAS protocol leaves each party holding coins + that they can spend at any time---but which they may need to spend on + short notice if their counterparty attempts theft (similar to how LN + channels need to be monitored). Additionally the keys necessary to + spend the coins won't be contained in the user's [BIP32][] HD wallet, + so additional backups may be required. + + Advantages of the protocol are that it requires less block space + than existing protocols, it saves on transaction fees (both by using + less block space and potentially by requiring less urgency for its + settlement transactions), it only requires consensus-enforced + timelocks on one of the chains in a cross-chain swap, and it + doesn't depend on any new security assumptions or Bitcoin consensus + changes. If taproot is adopted, swaps can be made even more privately + and efficiently. + + Commenting on the protocol, Lloyd Fournier [noted][fournier + elegance] the "elegance" of a simplified version of the protocol + that uses three transactions. Dmitry Petukhov [posted][petukhov + tla+] about a [specification][sas tla+ spec] he'd written for the + protocol in the [TLA+ formal specification language][tla+ + lang], helping to test the correctness of the protocol. ## Changes to services and client software @@ -26,14 +66,17 @@ FIXME:bitschmidty ## Releases and release candidates -FIXME:harding to update Tuesday afternoon with latest releases and RCs - *New releases and release candidates for popular Bitcoin infrastructure projects. Please consider upgrading to new releases or helping to test release candidates.* -- [Bitcoin Core 0.20.0rc1][bitcoin core 0.20.0] is a release candidate - for the next major version of Bitcoin Core. +- [Bitcoin Core 0.20.0rc2][bitcoin core 0.20.0] is the newest release + candidate for the next major version of Bitcoin Core. It + [contains][Bitcoin Core #18973] several bug fixes and improvements + since the first release candidate. + +- [LND 0.10.1-beta.rc1][] is the first release candidate for the next + maintenance release of LND. ## Notable code and documentation changes @@ -50,32 +93,44 @@ version 0.20.* - [Bitcoin Core #18877][] Serve cfcheckpt requests FIXME:jnewbery -- [Bitcoin Core #18894][] fixes a UI bug that affected users of both - multi-wallet mode in the GUI and manual coin control. The bug was - described as a [known issue][coin control bug] in the Bitcoin Core - 0.18 release notes. This is tagged to be included in the second - release candidate for Bitcoin Core 0.20. - -- [C-Lightning #3614][] coinmoves: FIXME:dongcarl +- [Bitcoin Core #18894][] fixes a UI bug that affected people who + simultaneously used multi-wallet mode in the GUI and manual coin + control. The bug was described as a [known issue][coin control bug] + in the Bitcoin Core 0.18 release notes. This is included in the + second release candidate for Bitcoin Core 0.20 linked in the + preceding section. -- [Bitcoin #18808][] causes Bitcoin Core to ignore any P2P protocol +- [Bitcoin Core #18808][] causes Bitcoin Core to ignore any P2P protocol `getdata` requests that specify an unknown type of data. The new logic will also ignore requests for types of data that aren't expected to be sent over the current connection, such as requests for - transactions (type: `tx`) on block-relay-only connections. - Previously, Bitcoin Core wouldn't process any further requests from - a peer after it received an unknown type, effectively stalling that - connection. + transactions on block-relay-only connections. + +- [C-Lightning #3614][] coinmoves: FIXME:dongcarl - [Eclair #1395][] updates the route pathfinding used by Eclair to - factor in channel balances and to use [Yen's algorithm][]. Testing - quoted in the PR description says, "The new algorithm consistently - finds more routes and cheaper ones. The route prefix are more diverse, + factor in channel balances and to use [Yen's algorithm][]. + The PR description says that "the new algorithm consistently + finds more routes and cheaper ones. The route prefixes are more diverse, which is good as well (especially for MPP). [...] and the new [code] is consistently 25% faster on my machine (when looking for 3 routes)." {% include references.md %} -{% include linkers/issues.md issues="18877,18894,3614,18808,1395" %} +{% include linkers/issues.md issues="18877,18894,3614,18808,1395,18973,18962" %} [bitcoin core 0.20.0]: https://bitcoincore.org/bin/bitcoin-core-0.20.0 +[lnd 0.10.1-beta.rc1]: https://github.com/lightningnetwork/lnd/releases/tag/v0.10.1-beta.rc1 [coin control bug]: https://bitcoincore.org/en/releases/0.18.0/#wallet-gui [yen's algorithm]: https://en.wikipedia.org/wiki/Yen's_algorithm +[getheaders]: https://btcinformation.org/en/developer-reference#getheaders +[headers]: https://btcinformation.org/en/developer-reference#headers +[headers first sync]: https://btcinformation.org/en/developer-guide#headers-first +[news97 spk commit]: /en/newsletters/2020/05/13/#request-for-an-additional-taproot-signature-commitment +[towns suggestion]: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-May/017813.html +[wuille rfc]: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-May/017849.html +[somsen post]: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-May/017846.html +[somsen video]: https://www.youtube.com/watch?v=TlCxpdNScCA +[petukhov tla+]: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-May/017866.html +[tla+ lang]: https://en.wikipedia.org/wiki/TLA%2B +[sas tla+ spec]: https://github.com/dgpv/SASwap_TLAplus_spec +[fournier elegance]: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-May/017851.html +[nolan swap]: https://bitcointalk.org/index.php?topic=193281.msg2224949#msg2224949 From a310a4e9c3a4ca5243d4842572073c5881d3d0c6 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Mon, 18 May 2020 10:31:31 -0400 Subject: [PATCH 3/5] News98: Add Bitcoin Core n18877 write-up --- _posts/en/newsletters/2020-05-20-newsletter.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/_posts/en/newsletters/2020-05-20-newsletter.md b/_posts/en/newsletters/2020-05-20-newsletter.md index 07ab368e04..19f8b6b37f 100644 --- a/_posts/en/newsletters/2020-05-20-newsletter.md +++ b/_posts/en/newsletters/2020-05-20-newsletter.md @@ -91,7 +91,17 @@ development branch and so those changes will likely not be released until version 0.21, about six months after the release of the upcoming version 0.20.* -- [Bitcoin Core #18877][] Serve cfcheckpt requests FIXME:jnewbery +- [Bitcoin Core #18877][] is the first step towards support for serving + [compact block filters][topic compact block filters] on the P2P + network, as specified in [BIP157][]. Nodes that enable the compact block filter index + with the `-blockfilterindex` configuration parameter can now respond to + `getcfcheckpt` requests with a `cfcheckpt` compact block filters checkpoint + response. The `getcfheaders` and `getcfilters` messages are not yet supported, and the + node won't advertise support for BIP157 with `NODE_COMPACT_FILTERS` in its + version message. + + The feature is disabled by + default and can be enabled with the `-peerblockfilters` configuration parameter. - [Bitcoin Core #18894][] fixes a UI bug that affected people who simultaneously used multi-wallet mode in the GUI and manual coin From 5c38e428f9ffe848732d21d20d3058fa65b55678 Mon Sep 17 00:00:00 2001 From: Mike Schmidt Date: Mon, 18 May 2020 11:42:20 -0500 Subject: [PATCH 4/5] news98: add client services section --- .../en/newsletters/2020-05-20-newsletter.md | 31 ++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/_posts/en/newsletters/2020-05-20-newsletter.md b/_posts/en/newsletters/2020-05-20-newsletter.md index 19f8b6b37f..7bf32e548e 100644 --- a/_posts/en/newsletters/2020-05-20-newsletter.md +++ b/_posts/en/newsletters/2020-05-20-newsletter.md @@ -62,7 +62,31 @@ changes to popular Bitcoin infrastructure software. *In this monthly feature, we highlight interesting updates to Bitcoin wallets and services.* -FIXME:bitschmidty +- **Lightning-based messenger application Juggernaut launches:** + In a [blog post][juggernaut blog] announcing the first release of Juggernaut, + John Cantrell describes how the messaging and wallet features are built using + [keysend payments][topic spontaneous payments]. + +- **Lightning Loop using multipath payments:** + The latest [upgrade][lightning loop mpp blog] from Lightning Labs + now uses [multipath payments][topic multipath payments] to convert onchain + funds into funds within LN channels. + +- **Blockstream Satellite 2.0 supports initial block download:** + Blockstream [outlines version 2.0 upgrades][blockstream satellite v2 blog] to + their satellite service which include expanded Asia-Pacific coverage, + additional bandwidth, and an updated protocol that enables a full node to complete an initial sync + using only the satellite feed. + +- **Breez wallet enables spontaneous payments:** + [Version 0.9][breez 0.9] of Breez wallet adds the ability to send spontaneous + payments to Lightning nodes that support keysend. + +- **Copay enables CPFP for incoming transactions:** + Version 9.3.0 adds the ability for the user to + [speed up an incoming transaction][copay cpfp] using [child-pays-for-parent][topic cpfp]. + The feature is only enabled after the wallet observes the transaction + remaining unconfirmed for four hours. ## Releases and release candidates @@ -144,3 +168,8 @@ version 0.20.* [sas tla+ spec]: https://github.com/dgpv/SASwap_TLAplus_spec [fournier elegance]: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-May/017851.html [nolan swap]: https://bitcointalk.org/index.php?topic=193281.msg2224949#msg2224949 +[juggernaut blog]: https://medium.com/@johncantrell97/announcing-juggernaut-5bda48d34a18 +[lightning loop mpp blog]: https://lightning.engineering/posts/2020-05-13-loop-mpp/ +[blockstream satellite v2 blog]: https://blockstream.com/2020/05/04/en-announcing-blockstream-satellite-2/ +[breez 0.9]: https://github.com/breez/breezmobile/releases/tag/0.9.keysend +[copay cpfp]: https://github.com/bitpay/copay/pull/10746 From 37dcdce6aa5dcb343cf98a8732025b4598b9bf49 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Mon, 18 May 2020 13:25:45 -0400 Subject: [PATCH 5/5] News98: Add C-Lightning 3614 description --- _posts/en/newsletters/2020-05-20-newsletter.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_posts/en/newsletters/2020-05-20-newsletter.md b/_posts/en/newsletters/2020-05-20-newsletter.md index 7bf32e548e..f1ae7c3db9 100644 --- a/_posts/en/newsletters/2020-05-20-newsletter.md +++ b/_posts/en/newsletters/2020-05-20-newsletter.md @@ -140,7 +140,12 @@ version 0.20.* to be sent over the current connection, such as requests for transactions on block-relay-only connections. -- [C-Lightning #3614][] coinmoves: FIXME:dongcarl +- [C-Lightning #3614][] adds a new notification type named `coin_movements` that + is triggered by finalized ledger updates. Clients subscribed to these + notifications will receive updates on both definitively resolved HTLCs and + confirmed bitcoin transactions, allowing them to construct a canonical ledger + for coin movements through their C-Lightning node. See its + [documentation][coin_movement] for details. - [Eclair #1395][] updates the route pathfinding used by Eclair to factor in channel balances and to use [Yen's algorithm][]. @@ -173,3 +178,4 @@ version 0.20.* [blockstream satellite v2 blog]: https://blockstream.com/2020/05/04/en-announcing-blockstream-satellite-2/ [breez 0.9]: https://github.com/breez/breezmobile/releases/tag/0.9.keysend [copay cpfp]: https://github.com/bitpay/copay/pull/10746 +[coin_movement]: https://github.com/niftynei/lightning/blob/bc803006351a079596b086465246626d3d5e4828/doc/PLUGINS.md#coin_movement