mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-10 01:24:30 +01:00
bolt: update to 8b2cf0054660bece9e1004f42a500c6a1a77efd3
This contains only typo fixes. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
8774070a31
commit
913a1a9b59
2
Makefile
2
Makefile
@@ -15,7 +15,7 @@ CCANDIR := ccan
|
||||
|
||||
# Where we keep the BOLT RFCs
|
||||
BOLTDIR := ../lightning-rfc/
|
||||
BOLTVERSION := d23f4b056c8ccc5234494c2431c901c455fa877f
|
||||
BOLTVERSION := 8b2cf0054660bece9e1004f42a500c6a1a77efd3
|
||||
|
||||
-include config.vars
|
||||
|
||||
|
||||
@@ -2098,7 +2098,7 @@ static void check_current_dataloss_fields(struct peer *peer,
|
||||
return;
|
||||
|
||||
/* BOLT #2:
|
||||
* - if `next_remote_revocation_number` equals 0:
|
||||
* - if `next_revocation_number` equals 0:
|
||||
* - MUST set `your_last_per_commitment_secret` to all zeroes
|
||||
*/
|
||||
|
||||
@@ -2231,7 +2231,7 @@ static void peer_reconnect(struct peer *peer,
|
||||
* - MUST set `next_revocation_number` to the commitment number
|
||||
* of the next `revoke_and_ack` message it expects to receive.
|
||||
* - if it supports `option_data_loss_protect`:
|
||||
* - if `next_remote_revocation_number` equals 0:
|
||||
* - if `next_revocation_number` equals 0:
|
||||
* - MUST set `your_last_per_commitment_secret` to all zeroes
|
||||
* - otherwise:
|
||||
* - MUST set `your_last_per_commitment_secret` to the last
|
||||
|
||||
@@ -52,7 +52,7 @@ struct sphinx_path;
|
||||
* ## Legacy `hop_data` payload format
|
||||
*
|
||||
* The `hop_data` format is identified by a single `0x00`-byte length,
|
||||
* for backward compatibility. It's payload is defined as:
|
||||
* for backward compatibility. Its payload is defined as:
|
||||
*
|
||||
* 1. type: `hop_data` (for `realm` 0)
|
||||
* 2. data:
|
||||
|
||||
@@ -344,7 +344,7 @@ void peer_start_channeld(struct channel *channel,
|
||||
/* BOLT #2:
|
||||
*
|
||||
* - if it supports `option_data_loss_protect`:
|
||||
* - if `next_remote_revocation_number` equals 0:
|
||||
* - if `next_revocation_number` equals 0:
|
||||
* - MUST set `your_last_per_commitment_secret` to all zeroes
|
||||
* - otherwise:
|
||||
* - MUST set `your_last_per_commitment_secret` to the last
|
||||
|
||||
@@ -247,7 +247,7 @@ void peer_start_closingd(struct channel *channel,
|
||||
/* BOLT #2:
|
||||
*
|
||||
* - if it supports `option_data_loss_protect`:
|
||||
* - if `next_remote_revocation_number` equals 0:
|
||||
* - if `next_revocation_number` equals 0:
|
||||
* - MUST set `your_last_per_commitment_secret` to all zeroes
|
||||
* - otherwise:
|
||||
* - MUST set `your_last_per_commitment_secret` to the last
|
||||
|
||||
Reference in New Issue
Block a user