Skip to content

Commit 42777f0

Browse files
authored
bLIP-0012: Hosted Channels (#17)
1 parent 3286ece commit 42777f0

File tree

3 files changed

+385
-6
lines changed

3 files changed

+385
-6
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ For more detail on the process, please read [bLIP-0001](./blip-0001.md) and
2424
| [3](./blip-0003.md) | Keysend | Valentine Wallace | Active |
2525
| [10](./blip-0010.md) | Podcasting 2.0 | Satoshis Stream | Active |
2626
| [11](./blip-0011.md) | NameDesc | Hampus Sjöberg | Active |
27+
| [17](./blip-0017.md) | Hosted Channels | Anton Kumaigorodskiy | Active |

blip-0002.md

+18-6
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ Feature bits in the `0`-`255` range are reserved for BOLTs: bLIPs must use featu
4343

4444
bLIPs may reserve feature bits by adding them to the following table:
4545

46-
| Bits | Name | Description | Context | Dependencies | Link |
47-
|---------|----------------------|-------------------------------------------------|----------------|--------------------------------|--------------------------------|
48-
| 54/55 | `keysend` | A form of spontaneous payment | N | `var_onion_optin` | [bLIP 3](./blip-0003.md) |
46+
| Bits | Name | Description | Context | Dependencies | Link |
47+
| --------- | ---------------------- | ------------------------------------------------- | ---------------- | -------------------------------- | -------------------------------- |
48+
| 54/55 | `keysend` | A form of spontaneous payment | N | `var_onion_optin` | [bLIP 3](./blip-0003.md) |
49+
| 256/257 | `hosted_channels` | This node accepts requests for hosted channels | IN | | [bLIP 17](./blip-0017.md) |
4950

5051
### Messages
5152

@@ -55,9 +56,20 @@ that every lightning implementation understands.
5556
Message types in the `0`-`32767` range are reserved for BOLTs: bLIPs must use message types in the `32768`-`65535` range.
5657
bLIPs may create new messages and reserve their type in the following table:
5758

58-
| Type | Name | Link |
59-
|-------|-----------------------------|--------------------------------|
60-
| 32768 | `message_name` | Link to the corresponding bLIP |
59+
| Type | Name | Link |
60+
| ------- | ------------------------------- | -------------------------- |
61+
| 65535 | `invoke_hosted_channel` | [bLIP 17](./blip-0017.md) |
62+
| 65533 | `init_hosted_channel` | [bLIP 17](./blip-0017.md) |
63+
| 65531 | `last_cross_signed_state` | [bLIP 17](./blip-0017.md) |
64+
| 65529 | `state_update` | [bLIP 17](./blip-0017.md) |
65+
| 65527 | `state_override` | [bLIP 17](./blip-0017.md) |
66+
| 65525 | `hosted_channel_branding` | [bLIP 17](./blip-0017.md) |
67+
| 65511 | `ask_channel_branding` | [bLIP 17](./blip-0017.md) |
68+
| 63505 | `hc_update_add_htlc` | [bLIP 17](./blip-0017.md) |
69+
| 63503 | `hc_update_fulfill_htlc` | [bLIP 17](./blip-0017.md) |
70+
| 63501 | `hc_updated_fail_htlc` | [bLIP 17](./blip-0017.md) |
71+
| 63499 | `hc_update_fail_malformed_htlc` | [bLIP 17](./blip-0017.md) |
72+
| 63497 | `hc_error` | [bLIP 17](./blip-0017.md) |
6173

6274
### TLV fields in BOLT messages
6375

0 commit comments

Comments
 (0)