BOLTs: update for BOLT, which removes requirement to wait 6 blocks before sending announcement_signatures.

We have a replacement quote which is suitable here, but it comes in a later BOLT commit.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2025-03-12 09:27:08 +10:30
parent 0e7615b1b7
commit 2e81a40d77
2 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ CCANDIR := ccan
# Where we keep the BOLT RFCs
BOLTDIR := ../bolts/
DEFAULT_BOLTVERSION := 89b99a578f52fcbabb39417f1855900e985b51db
DEFAULT_BOLTVERSION := 8707471dbc23245fb4d84c5f5babac1197f1583e
# Can be overridden on cmdline.
BOLTVERSION := $(DEFAULT_BOLTVERSION)

View File

@@ -29,11 +29,11 @@
#define ROUTING_OPT_HTLC_MAX_MSAT (1 << 0)
#define ROUTING_OPT_DONT_FORWARD (1 << 1)
/* BOLT #7:
/* This quote comes in a later version: mark it out temporarily */
/* BOLT-FIXME #7:
*
* - MUST NOT send `announcement_signatures` messages until `channel_ready`
* has been sent and received AND the funding transaction has at least six
* confirmations.
* - If the funding transaction has less than 6 confirmations:
* - MUST NOT send `channel_announcement`.
*/
#define ANNOUNCE_MIN_DEPTH 6