Skip to content

Commit

Permalink
BOLT-02: option_anchors implies static remote key
Browse files Browse the repository at this point in the history
So we can remove references to anchors here, as you need static key in
order to support it, so that reference is redundant.
  • Loading branch information
Roasbeef committed Dec 6, 2021
1 parent d0f41db commit 779f366
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 02-peer-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ The sending node:
next `commitment_signed` it expects to receive.
- MUST set `next_revocation_number` to the commitment number of the
next `revoke_and_ack` message it expects to receive.
- if `option_static_remotekey` or `option_anchors` applies to the commitment
- if `option_static_remotekey` applies to the commitment
transaction:
- MUST set `my_current_per_commitment_point` to a valid point.
- otherwise:
Expand Down Expand Up @@ -1362,8 +1362,7 @@ A node:
- SHOULD fail the channel.

A receiving node:
- if `option_static_remotekey` or `option_anchors` applies to the commitment
transaction:
- if `option_static_remotekey` applies to the commitment transaction:
- if `next_revocation_number` is greater than expected above, AND
`your_last_per_commitment_secret` is correct for that
`next_revocation_number` minus 1:
Expand Down

0 comments on commit 779f366

Please sign in to comment.