Skip to content
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

Newsletters: add 63 (2019-09-11) #222

Merged
merged 1 commit into from
Sep 11, 2019

Conversation

harding
Copy link
Collaborator

@harding harding commented Sep 9, 2019

No description provided.

own change or in conjunction with other ongoing development such as
[Erlay][].

- [Bitcoin Core #14540][] allows users to create new wallets for
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/14540/15450


## Notable code and documentation changes

*Notable changes this week in [Bitcoin Core][bitcoin core repo],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you considered covering the miniscript repos? I think they deserve attention.

During the last two weeks there has been quite some activity in the C++ and Rust miniscript repos thanks to your call for review in a previous newsletter:

  • Miniscript request for comments: the developers of this language have requested community feedback on their initial design.

Recent review activity in the miniscript C++ repo:

Recent review activity in the rust-miniscript repo:

Some coverage could perhaps attract additional reviewers? Together we can make the miniscript implementations super robust! :-)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to avoid significant increases in the amount of work that goes into the newsletter from now until the end of the year as I've committed to several non-newsletter Optech projects that I want to make progress on (e.g. the Scaling Book we've been working on for over a year now and only have two chapters and an intro done).

If someone else wants to monitor a particular project and write summaries, that's fine (although I'll warn you that I may be picky about what I consider notable).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I empathize, and good luck with the Scaling Book 🥇

Copy link
Collaborator

@jonatack jonatack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting and enjoyable newletter! Feel free to ignore any of the nits and grammatical minutae below.

---
This week's newsletter describes a demo implementation of eltoo and
several discussions related to it, requests comments on limiting the
normal number of LN gossip updates to once per day, and provides our
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: s/once/one/

Lightning-Dev mailing list, Richard Myers [posted][eltoo sample] a link
to a sample implementation of an eltoo payment flow between nodes on a
custom [signet][]. [Eltoo][] is a proposal to replace LN's current
enforcement layer, which depends upon the threat of a penalty for any
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: s/upon/on/ ?

any earlier state within a certain period. With eltoo, there's no
penalty required, simplifying many aspects of the protocol and reducing
the complexity of many proposed protocol enhancements. Myers's sample
implementation works by using the Bitcoin Core integration test
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possibly: s/works by using/uses/ and s/integration/functional/

mechanism that gives the latest state the ability to spend funds from
any earlier state within a certain period. With eltoo, there's no
penalty required, simplifying many aspects of the protocol and reducing
the complexity of many proposed protocol enhancements. Myers's sample
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps s/Myers's/Richard's/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or at least Myers'

implementation works by using the Bitcoin Core integration test
framework to simulate payments in an eltoo payment channel.

This lead to a discussion ([1][eltoo ms 1], [2][eltoo ms 2]) of
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/lead/led/ ?

whether using [miniscript][] would help make LN "more future-proof
and extensible than directly using Bitcoin Script."

It also lead to eltoo co-author Christian Decker writing a
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/lead/led/ ?

[summary][eltoo summary] of why he thinks eltoo is especially
valuable in providing a clean separation of protocol layers. For
example, by making state changes in eltoo similar to state changes
in Bitcoin, this allows tools and contract protocols built for
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps s/allows/would allow/ if not yet implemented

regular Bitcoin transactions (state changes) to be easily reused
within payment channels.

- **Request for comments on limiting LN gossip updates to once per
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could possibly be in the Action items section?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although phrased as a RFC, I see this item as really a feature announcement for the ability to reduce gossip requirements. The people who should be responding are probably other LN implementation maintainers, and they should probably be reading the Lightning-dev mailing list directly. :-)

## News

- **Eltoo sample implementation and discussion:** on the
Lightning-Dev mailing list, Richard Myers [posted][eltoo sample] a link
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fwiw interesting eltoo thread launched by Richard Myers an hour ago https://twitter.com/remyers_/status/1171026810005532673?s=20

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

He just sent a longer description to the Lightning-dev mailing list, so I think we're good with just the existing link to that thread in the newsletter.

default is adjustable). In theory, the channel can still be used
after this---which is why it isn't closed---although the node may not
have enough funds to initiate a spend, possibly making receiving its
only option unless onchain feerates drop. Because of a limitation of
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps s/onchain/on-chain/ and s/Because/Due to/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harding
Copy link
Collaborator Author

harding commented Sep 9, 2019

Edits pushed for feedback so far. Thanks all!

Copy link
Contributor

@jnewbery jnewbery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a few minor nits

- **Eltoo sample implementation and discussion:** on the
Lightning-Dev mailing list, Richard Myers [posted][eltoo sample] a link
to a sample implementation of an eltoo payment flow between nodes on a
custom [signet][]. [Eltoo][] is a proposal to replace LN's current
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find this sentence with subclause a bit difficult to parse (since it places the description of LN-penalty between the word Eltoo and the description of LN-eltoo). Consider re-ordering to something like:

"The current LN enforcement layer depends on the threat of a penalty for any party that attempts to use an old channel state. Eltoo replaces this with an enforcement mechanism that gives the latest state the ability to spend funds from any earlier state within a certain period." or similar

- [Bitcoin Core #15759][] increases the number of outbound connections
the node will make from 8 to 10. The two new connections will only be
used to announce and relay new blocks; they won't announce or relay
unconfirmed transactions. Only announcing blocks minimizes the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps also mention that the block-relay connections will not gossip ADDRs?

the node will make from 8 to 10. The two new connections will only be
used to announce and relay new blocks; they won't announce or relay
unconfirmed transactions. Only announcing blocks minimizes the
bandwidth overhead of the new connections and doesn't give spy nodes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/bandwidth/bandwidth and memory/

to partition the network and execute various attacks possible against
isolated nodes. If no problems are found with this change and the
bandwidth overhead remains small, it's possible the number of
blocks-only peers may be increased in later versions, either as its
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suhas renamed these connections to block-relay connections to avoid confusion with blocks-only mode bitcoin/bitcoin#15759 (review)

@harding harding force-pushed the 2019-09-11-newsletter branch from cead9d1 to 56822ff Compare September 10, 2019 16:17
@harding
Copy link
Collaborator Author

harding commented Sep 10, 2019

Pushed edits for @jnewbery second-round feedback (thanks!). I actually read the PR comments for block-relay-connections, rather than just the merge commit summary, and substantially rewrote this item. John: given that we're on even more different than usual timezones and busy with Scaling Bitcoin stuff, please feel free to edit yourself or drop this item from this week's newsletter (we can cover it next week).

@bitschmidty
Copy link
Contributor

tACK 56822ff

@jnewbery
Copy link
Contributor

I've pushed a commit that slightly changes the wording on the PR 15759 description.

Thanks @harding . Great newsletter.

ACK a48dfe5

@harding
Copy link
Collaborator Author

harding commented Sep 11, 2019

Edit a48dfe5 LGTM. Thanks!

@bitschmidty bitschmidty merged commit ca46803 into bitcoinops:master Sep 11, 2019
@bitschmidty
Copy link
Contributor

A demo of eltoo from Richard Myers
BOLT11 indicates what your node requires

Our longest list of notable changes to date
On LN gossip Rusty says: "you must limit the rate!"

@harding thanks for another educational newsletter! @jnewbery @jonatack @kanzure thanks for the review input. @practicalswift thanks for volunteering to write the miniscript section! :P

Jluc-bitcoinfr added a commit to Jluc-bitcoinfr/bitcoinops.github.io that referenced this pull request Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants