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
Add a tlv field in `init` to list supported compression algorithms.
This compression will be used in several places, currently in extended
gossip queries.
Fixes#811
| 18/19 |`option_support_large_channel`| Can create large channels | IN ||[BOLT #2](02-peer-protocol.md#the-open_channel-message)|
41
-
| 20/21 |`option_anchor_outputs`| Anchor outputs | IN |`option_static_remotekey`|[BOLT #3](03-transactions.md)|
42
-
| 22/23 |`option_anchors_zero_fee_htlc_tx`| Anchor commitment type with zero fee HTLC transactions | IN ||[BOLT #3][bolt03-htlc-tx], [lightning-dev][ml-sighash-single-harmful]|
30
+
| Bits | Name | Description | Context | Dependencies | Link |
| 18/19 |`option_support_large_channel`| Can create large channels | IN ||[BOLT #2](02-peer-protocol.md#the-open_channel-message)|
42
+
| 20/21 |`option_anchor_outputs`| Anchor outputs | IN |`option_static_remotekey`|[BOLT #3](03-transactions.md)|
43
+
| 22/23 |`option_anchors_zero_fee_htlc_tx`| Anchor commitment type with zero fee HTLC transactions | IN ||[BOLT #3][bolt03-htlc-tx], [lightning-dev][ml-sighash-single-harmful]|
44
+
| 24/25 |`option_compression`| Compression algorithms advertised in `init`| IN ||[BOLT #1](01-messaging.md#the-init-message)|
43
45
44
46
## Requirements
45
47
46
48
The origin node:
47
-
* If it supports a feature above, SHOULD set the corresponding odd
48
-
bit in all feature fields indicated by the Context column unless
49
-
indicated that it must set the even feature bit instead.
50
-
* If it requires a feature above, MUST set the corresponding even
51
-
feature bit in all feature fields indicated by the Context column,
52
-
unless indicated that it must set the odd feature bit instead.
53
-
* MUST NOT set feature bits it does not support.
54
-
* MUST NOT set feature bits in fields not specified by the table above.
55
-
* MUST set all transitive feature dependencies.
49
+
50
+
* If it supports a feature above, SHOULD set the corresponding odd
51
+
bit in all feature fields indicated by the Context column unless
52
+
indicated that it must set the even feature bit instead.
53
+
* If it requires a feature above, MUST set the corresponding even
54
+
feature bit in all feature fields indicated by the Context column,
55
+
unless indicated that it must set the odd feature bit instead.
56
+
* MUST NOT set feature bits it does not support.
57
+
* MUST NOT set feature bits in fields not specified by the table above.
58
+
* MUST set all transitive feature dependencies.
56
59
57
60
The requirements for receiving specific bits are defined in the linked sections in the table above.
58
61
The requirements for feature bits that are not defined
0 commit comments