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]|
43
-
| 26/27 |`option_shutdown_anysegwit`| Future segwit versions allowed in `shutdown`| IN ||[BOLT #2][bolt02-shutdown]|
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
+
| 26/27 |`option_shutdown_anysegwit`| Future segwit versions allowed in `shutdown`| IN ||[BOLT #2][bolt02-shutdown]|
45
+
| 32/33 |`option_compression`| Compression algorithms advertised in `init`| IN ||[BOLT #1](01-messaging.md#the-init-message)|
44
46
45
47
## Definitions
46
48
@@ -49,15 +51,16 @@ We define `option_anchors` as `option_anchor_outputs || option_anchors_zero_fee_
49
51
## Requirements
50
52
51
53
The origin node:
52
-
* If it supports a feature above, SHOULD set the corresponding odd
53
-
bit in all feature fields indicated by the Context column unless
54
-
indicated that it must set the even feature bit instead.
55
-
* If it requires a feature above, MUST set the corresponding even
56
-
feature bit in all feature fields indicated by the Context column,
57
-
unless indicated that it must set the odd feature bit instead.
58
-
* MUST NOT set feature bits it does not support.
59
-
* MUST NOT set feature bits in fields not specified by the table above.
60
-
* MUST set all transitive feature dependencies.
54
+
55
+
* If it supports a feature above, SHOULD set the corresponding odd
56
+
bit in all feature fields indicated by the Context column unless
57
+
indicated that it must set the even feature bit instead.
58
+
* If it requires a feature above, MUST set the corresponding even
59
+
feature bit in all feature fields indicated by the Context column,
60
+
unless indicated that it must set the odd feature bit instead.
61
+
* MUST NOT set feature bits it does not support.
62
+
* MUST NOT set feature bits in fields not specified by the table above.
63
+
* MUST set all transitive feature dependencies.
61
64
62
65
The requirements for receiving specific bits are defined in the linked sections in the table above.
63
66
The requirements for feature bits that are not defined
0 commit comments