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:
2
Makefile
2
Makefile
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user