1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

specify when the temporary_channel_id->channel_id switch occurs

This commit is contained in:
Pierre-Marie Padiou 2017-04-28 17:00:12 +02:00 committed by Rusty Russell
parent 4a2146b1ed
commit 440c2de107

View File

@ -131,6 +131,8 @@ The 2-byte `len` field indicates the number of bytes in the immediately followin
The channel is referred to by `channel-id` unless `channel-id` is zero (ie. all bytes zero), in which case it refers to all channels.
The funding node MUST use `temporary-channel-id` in lieu of `channel-id` for all error messages sent before (and including) the `funding_created` message. The fundee node MUST use `temporary-channel-id` in lieu of `channel-id` for all error messages sent before (and not including) the `funding_signed` message.
A node SHOULD send `error` for protocol violations or internal
errors which make channels unusable or further communication unusable.
A node MAY send an empty [data] field. A node sending `error` MUST