Skip to content

Newsletters: add 97 (2020-05-13)#401

Merged
bitschmidty merged 6 commits intobitcoinops:masterfrom
harding:2020-05-13-newsletter
May 13, 2020
Merged

Newsletters: add 97 (2020-05-13)#401
bitschmidty merged 6 commits intobitcoinops:masterfrom
harding:2020-05-13-newsletter

Conversation

@harding
Copy link
Copy Markdown
Collaborator

@harding harding commented May 10, 2020

Have a happy halving everyone!

Copy link
Copy Markdown
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.

Thanks @harding, TIL about Sanders' attack. First-pass review comments below.

into thinking that its balance was increasing when it was actually
decreasing. An attacker would create an unsigned transaction
spending two of the hardware wallet's inputs to two outputs---one
output paying paying the wallet slightly more than the larger of the
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

double-spending of the word "paying" here :)

would ask for a signature on the first input (without disclosing that the
second input belonged to the wallet); the wallet would sign that
input after verifying that the output paying back into the wallet
was larger than the input. Then the attacker would then ask for a
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can remove one of the two "then"s, most likely the first one: s/Then the/The/

inputs,[^outpoint-txid-spk] but making it directly in the
transaction digest would allow a [Partially Signed Bitcoin
Transaction][topic psbt] (PSBT) to trustlessly provide signers with
a copy of all scriptPubKeys being spent in a transaction. That
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

s/That/This/ -- though a more specific description might be better.

a copy of all scriptPubKeys being spent in a transaction. That
would be trustless because, if any of the scriptPubKeys were missing
or modified, the signer's commitment to the scriptPubKeys would be
invalid, making the transaction invalid. This allow would hardware
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

s/allow would/would allow/

messages in both the locale's language and in English. This can help
users find help and quickly describe the problem to developers.
Additionally, the English version of the error message is now what
gets written to the debug log, again to make it easier for developers
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"is now what gets written" seems a bit informal here

[^outpoint-txid-spk]:
In the existing [BIP341][] specification of [taproot][topic
taproot], each input commits to the outpoints of every input
included in the transaction. Outpoints are the concatenated txid
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe: transaction id (txid)

does "concatenated" here apply to both the txid and the vout?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Removing the word "concatenated" to hopefully make it clearer. "Txid" is one of our unintroduced abbreviations in the style guide, and I continue to think most technical readers will be familiar with that term.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"Txid" is one of our unintroduced abbreviations in the style guide, and I continue to think most technical readers will be familiar with that term.

Got it 👍 will keep that list in mind

included in the transaction. Outpoints are the concatenated txid
and output index (vout) of the output being spent. Txids are a hash
of most parts of the transaction containing that output. So a
commitment to a outpoint is a commitment to a txid which is a
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

an outpoint

@jonatack
Copy link
Copy Markdown
Collaborator

ACK -- edits look good.

@jnewbery
Copy link
Copy Markdown
Contributor

I've added the PR Review Club section, including a small change to the details-list function to include an external link. I used the wikipedia external link icon, which I think is fine to reuse: https://commons.wikimedia.org/wiki/File:Icon_External_Link.png.

The link works on the web build, but for some reason the :after CSS doesn't appear in the email build. I haven't tested with an RSS reader.

No comments on the other newsletter content. Looks great to me 👍

Copy link
Copy Markdown
Collaborator Author

@harding harding left a comment

Choose a reason for hiding this comment

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

A few nits on the PR review club changes. I'm going to push a commit that makes the suggested change for the external link icon because that also fixes the email preview---but @jnewbery (or anyone else), please feel free to revert if you really want the Wikipedia external link icon (which I do think is a better signal to users but worse for copy/pasting). Thanks!

Comment thread _includes/linkers/issues.md Outdated
requests in the Bitcoin Core, LND, C-Lightning, libsecp256k1, BIPs, BOLTs,
and Rust-Lightning repositories.
and Rust-Lightning repositories, and Bitcoin Core PR Review Club archive
pages.
Copy link
Copy Markdown
Collaborator Author

@harding harding May 11, 2020

Choose a reason for hiding this comment

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

Nit: two final "ands" here. At this point, we can probably just remove the list of repositories and let anyone interested read the code. With each repository on a separate line, I think it's easy enough to figure out.

Comment thread _includes/functions/details-list.md Outdated
{% assign qslug = include.[q] | slugify: 'latin' %}
{% if jekyll.environment == "email" %}
- <i markdown="1">{{include.[q]}}</i><br>{{include.[a]}}
- <i markdown="1">{{include.[q]}}</i><br>{{include.[a]}} {{alink}}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I think a &nbsp; would be better than a regular space so that the external link icon doesn't appear on a line by itself.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Agree -- a non-breaking space here would be good.

Comment thread assets/css/main.scss Outdated
}

a.external:after {
content: url("/img/Icon_External_Link.png");
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Maybe use ➚ instead since it's unicode and so should copy automatically when @bitschmidty makes the newsletter email (I believe he needs to copy any images?). Its HTML entity coding is &#x279a;

@jnewbery
Copy link
Copy Markdown
Contributor

@harding - yeah, I got caught up and was trying to be too clever to include the wikipedia external link icon. Using a standard unicode code point makes much more sense.

Copy link
Copy Markdown
Member

@adamjonas adamjonas left a comment

Choose a reason for hiding this comment

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

A few minor observations. 👍 the PR review section.

a0link="https://bitcoincore.reviews/17994.html#l-33"

q1="Is it possible to create the undo data for a block without having all the
preceeding blocks?"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
preceeding blocks?"
preceding blocks?"

preceeding blocks?"
a1="No. Creating the undo data for a block requires having the UTXO set at
the point that the block was connected. For that, we need to have
validated and connected all preceeding blocks."
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
validated and connected all preceeding blocks."
validated and connected all preceding blocks."

the hardware wallet to automatically participate in [coinjoin][topic
coinjoin] transactions or LN payment routing.

However, several years ago Greg Sanders [described][sanders safe
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
However, several years ago Greg Sanders [described][sanders safe
However, several years ago, Greg Sanders [described][sanders safe

Copy link
Copy Markdown
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.

ACK review club quiz content (modulo s/preceeding/preceding/)

Comment thread _includes/functions/details-list.md Outdated
{% assign qslug = include.[q] | slugify: 'latin' %}
{% if jekyll.environment == "email" %}
- <i markdown="1">{{include.[q]}}</i><br>{{include.[a]}}
- <i markdown="1">{{include.[q]}}</i><br>{{include.[a]}} {{alink}}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Agree -- a non-breaking space here would be good.

@harding
Copy link
Copy Markdown
Collaborator Author

harding commented May 12, 2020

Pushed some edits, all small except for a rewrite of one sentence from the PR Club overview paragraph. Thanks @jnewbery, @adamjonas, and @jonatack for the reviews! ACK @moneyball PR description (thanks for researching that!) and @dongcarl PR description (excellent write-up, thanks!)

Copy link
Copy Markdown
Contributor

@bitschmidty bitschmidty left a comment

Choose a reason for hiding this comment

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

ACK

Tested the email version as well (regarding small changes from 88e8a54 )

UTXO set is updated to reflect the transactions in a new block; if the
block is later removed during a reorg, the undo file contains the
changes that will restore the UTXO set to its previous state, undoing
the effects of originally processing the block.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Much better. Harding, you're a word 🧙‍♂️ .

Copy link
Copy Markdown
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.

One small nit, but otherwise all LGTM

to comprehend the problem and provide assistance.

- [C-Lightning #3659][] has `channeld` create the penalty transaction, as
it has enough information about previous commitment transactions to create
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: 'to create it' seems a little redundant.

@bitschmidty bitschmidty force-pushed the 2020-05-13-newsletter branch from c6eceb7 to 038ee2a Compare May 13, 2020 12:04
@bitschmidty
Copy link
Copy Markdown
Contributor

Squashed and added a small change changing internal link to relative from absolute

@bitschmidty bitschmidty merged commit 4784ba7 into bitcoinops:master May 13, 2020
@bitschmidty
Copy link
Copy Markdown
Contributor

Another chunk of a newsletter, thanks to the team! @harding @jonatack @moneyball @jnewbery @dongcarl with the 🖊️ and @adamjonas with the 🔍

hulatown pushed a commit to PrimitivesLane/bitcoinops.github.io that referenced this pull request Apr 17, 2026
hulatown pushed a commit to PrimitivesLane/bitcoinops.github.io that referenced this pull request Apr 21, 2026
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.

7 participants