Newsletters: add 97 (2020-05-13)#401
Conversation
| 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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
"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 |
There was a problem hiding this comment.
maybe: transaction id (txid)
does "concatenated" here apply to both the txid and the vout?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
"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 |
|
ACK -- edits look good. |
|
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 No comments on the other newsletter content. Looks great to me 👍 |
harding
left a comment
There was a problem hiding this comment.
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!
| 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. |
There was a problem hiding this comment.
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.
| {% 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}} |
There was a problem hiding this comment.
I think a would be better than a regular space so that the external link icon doesn't appear on a line by itself.
There was a problem hiding this comment.
Agree -- a non-breaking space here would be good.
| } | ||
|
|
||
| a.external:after { | ||
| content: url("/img/Icon_External_Link.png"); |
There was a problem hiding this comment.
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 ➚
|
@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. |
| 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?" |
There was a problem hiding this comment.
| 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." |
There was a problem hiding this comment.
| 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 |
There was a problem hiding this comment.
| However, several years ago Greg Sanders [described][sanders safe | |
| However, several years ago, Greg Sanders [described][sanders safe |
jonatack
left a comment
There was a problem hiding this comment.
ACK review club quiz content (modulo s/preceeding/preceding/)
| {% 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}} |
There was a problem hiding this comment.
Agree -- a non-breaking space here would be good.
|
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!) |
bitschmidty
left a comment
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Much better. Harding, you're a word 🧙♂️ .
jnewbery
left a comment
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
nit: 'to create it' seems a little redundant.
c6eceb7 to
038ee2a
Compare
|
Squashed and added a small change changing internal link to relative from absolute |
|
Another chunk of a newsletter, thanks to the team! @harding @jonatack @moneyball @jnewbery @dongcarl with the 🖊️ and @adamjonas with the 🔍 |
Have a happy halving everyone!
C-Lightning #3659@moneyballRust-Lightning #539@dongcarl