You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`cltv_expiry_delta` has changed |`htlc_minimum_msat` has changed |`fee_base_msat` has changed |`fee_proportional_millionths` has changed |`htlc_maximum_msat` has changed |
69
70
70
-
In this case, `update_data` only contains the fields that are indicated to have changed by the channel flags.
71
+
If the most significant bit is set to `0`, the meaning is almost identical, except instead of a change the flags now
72
+
represent a deviation from the defaults sent at the beginning of the update sequence.
71
73
72
-
If `htlc_maximum_msat` has changed, there is an additional `u8` preceding the new value
73
-
indicating whether or not a maximum is present.
74
+
In both cases, `update_data` only contains the fields that are indicated by the channel flags to be non-standard or to
75
+
have changed.
74
76
75
77
## Delta Calculation
76
78
77
-
The way a server is meant to calculate this rapid gossip sync data is by using two
78
-
data points as a reference that are meant to be provided by the client:
79
+
The way a server is meant to calculate this rapid gossip sync data is by using two data points as a reference that are
80
+
meant to be provided by the client:
79
81
`latest_announcement_blockheight` and `latest_update_timestamp`.
80
82
81
-
Based on `latest_announcement_blockheight`, the server only sends channel announcements
82
-
that occurred at or after that block height.
83
+
Based on `latest_announcement_blockheight`, the server only sends channel announcements that occurred at or after that
84
+
block height.
83
85
84
-
Based on `latest_update_timestamp`, the server fetches all channel updates that occurred
85
-
at or after the timestamp. Then, the server also checks for each update whether there
86
-
had been a previous one prior to the given timestamp.
86
+
Based on `latest_update_timestamp`, the server fetches all channel updates that occurred at or after the timestamp.
87
+
Then, the server also checks for each update whether there had been a previous one prior to the given timestamp.
87
88
88
-
If a particular channel update had never occurred before, the full update is sent.
89
-
If an channel has had updates prior to the provided timestamp, the latest update
90
-
prior to the timestamp is taken as a reference, and the delta is calculated against it.
89
+
If a particular channel update had never occurred before, the full update is sent. If an channel has had updates prior
90
+
to the provided timestamp, the latest update prior to the timestamp is taken as a reference, and the delta is calculated
0 commit comments