1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-02-23 14:40:41 +01:00

typos and consistency

This commit is contained in:
pm47 2016-12-13 15:44:14 +01:00
parent 291c93bfd0
commit 93f948cbd9

View file

@ -89,7 +89,7 @@ The remote node can redeem the HTLC with the scriptsig:
<remotesig> <payment-preimage> <remotesig> <payment-preimage>
Either node can use the HTLC-timeout transaction to time out the HTLC once the HTLC is expired, as show below. Either node can use the HTLC-timeout transaction to time out the HTLC once the HTLC is expired, as shown below.
#### Received HTLC Outputs #### Received HTLC Outputs
@ -118,15 +118,15 @@ These HTLC transactions are almost identical, except the HTLC-Timeout transactio
* version: 2 * version: 2
* txin: the commitment transaction HTLC output. * txin: the commitment transaction HTLC output.
* locktime: 0 for HTLC-Success, `htlc-timeout` for HTLC-Timeout. * locktime: `0` for HTLC-Success, `htlc-timeout` for HTLC-Timeout.
* txin count: 1 * txin count: 1
* `txin[0]` outpoint: `txid` of the commitment transaction and `output_index` of the matching HTLC output for the HTLC transaction. * `txin[0]` outpoint: `txid` of the commitment transaction and `output_index` of the matching HTLC output for the HTLC transaction.
* `txin[0]` sequence: 0 * `txin[0]` sequence: `0`
* `txin[0]` script bytes: 0 * `txin[0]` script bytes: `0`
* `txin[0]` witness stack: `0 <remotesig> <localsig> 0` (HTLC-Timeout) or `0 <remotesig> <localsig> <payment-preimage>` (HTLC-success). * `txin[0]` witness stack: `0 <remotesig> <localsig> <payment-preimage>` for HTLC-Success, `0 <remotesig> <localsig> 0` for HTLC-Timeout.
* txout count: 1 * txout count: 1
* `txout[0]` amount: the HTLC amount minus fees (see [Fee Calculation](#fee-calculation)). * `txout[0]` amount: the HTLC amount minus fees (see [Fee Calculation](#fee-calculation)).
* `txout[0]` script: version 0 P2WSH with witness script as below. * `txout[0]` script: version 0 P2WSH with witness script as shown below.
The witness script for the output is: The witness script for the output is: