Browse Source

bolt: update to 8b2cf0054660bece9e1004f42a500c6a1a77efd3

This contains only typo fixes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
pull/2938/head
Rusty Russell 6 years ago
committed by Christian Decker
parent
commit
913a1a9b59
  1. 2
      Makefile
  2. 4
      channeld/channeld.c
  3. 2
      common/sphinx.h
  4. 2
      lightningd/channel_control.c
  5. 2
      lightningd/closing_control.c

2
Makefile

@ -15,7 +15,7 @@ CCANDIR := ccan
# Where we keep the BOLT RFCs
BOLTDIR := ../lightning-rfc/
BOLTVERSION := d23f4b056c8ccc5234494c2431c901c455fa877f
BOLTVERSION := 8b2cf0054660bece9e1004f42a500c6a1a77efd3
-include config.vars

4
channeld/channeld.c

@ -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

2
common/sphinx.h

@ -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:

2
lightningd/channel_control.c

@ -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

2
lightningd/closing_control.c

@ -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

Loading…
Cancel
Save