Repository navigation
Commit b30b028
committed
channeld: allow announcement_signatures while waiting for STFU message
BOLT #2 quiescence forbids channel state update messages (`update_*`,
`commitment_signed`, etc.) after `stfu`, not BOLT #7 gossip messages.
`announcement_signatures` does not mutate commitment state and is sent
asynchronously via `connectd` when a funding or splice transaction
confirms.
Commit e11c2f6 exempted `WIRE_ANNOUNCEMENT_SIGNATURES` when in STFU
mode with `!stfu_wait_single_msg`, but missed the `stfu_wait_single_msg`
check immediately below it, causing `channeld` to warn
(`Got invalid message during STFU mode: WIRE_ANNOUNCEMENT_SIGNATURES`)
and disconnect.
Exempt `WIRE_ANNOUNCEMENT_SIGNATURES` from the `stfu_wait_single_msg`
check and preserve `stfu_wait_single_msg` so the following STFU protocol
message is still accepted.1 parent a4a6cef commit b30b028
2 files changed
Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5361 | 5361 | | |
5362 | 5362 | | |
5363 | 5363 | | |
5364 | | - | |
5365 | | - | |
5366 | | - | |
5367 | | - | |
5368 | | - | |
5369 | | - | |
5370 | | - | |
| 5364 | + | |
| 5365 | + | |
| 5366 | + | |
| 5367 | + | |
| 5368 | + | |
| 5369 | + | |
| 5370 | + | |
| 5371 | + | |
| 5372 | + | |
| 5373 | + | |
5371 | 5374 | | |
5372 | | - | |
| 5375 | + | |
| 5376 | + | |
5373 | 5377 | | |
5374 | 5378 | | |
5375 | 5379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4215 | 4215 | | |
4216 | 4216 | | |
4217 | 4217 | | |
4218 | | - | |
4219 | 4218 | | |
4220 | 4219 | | |
4221 | 4220 | | |
| |||
0 commit comments