1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

Make generated pubkeys slightly more grep-able (#988)

* remotepubkey instead of remote_pubkey
* Add a grepable reference of localpubkey usage
This commit is contained in:
Gregory Sanders 2022-05-12 03:19:21 -04:00 committed by GitHub
parent c1b94dfad1
commit c4a0369e70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,13 +128,14 @@ If a revoked commitment transaction is published, the other party can spend this
If `option_anchors` applies to the commitment transaction, the `to_remote` output is encumbered by a one block csv lock.
<remote_pubkey> OP_CHECKSIGVERIFY 1 OP_CHECKSEQUENCEVERIFY
<remotepubkey> OP_CHECKSIGVERIFY 1 OP_CHECKSEQUENCEVERIFY
The output is spent by an input with `nSequence` field set to `1` and witness:
<remote_sig>
Otherwise, this output is a simple P2WPKH to `remotepubkey`.
Otherwise, this output is a simple P2WPKH to `remotepubkey`. Note: the remote's commitment transaction uses your `localpubkey` for their
`to_remote` output to yourself.
#### `to_local_anchor` and `to_remote_anchor` Output (option_anchors)