Skip to content

Commit

Permalink
blip-XX: Pluggable Channel Factories.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZmnSCPxj-jr committed Dec 2, 2024
1 parent 2d6bc43 commit a8cf032
Show file tree
Hide file tree
Showing 2 changed files with 982 additions and 7 deletions.
24 changes: 17 additions & 7 deletions blip-0002.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@ Custom feature bits used in the `I` [Bolt 11](https://github.com/lightning/bolts

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

| Bits | Name | Description | Context | Dependencies | Link |
|---------|-----------------------|------------------------------------------------------------|---------|-------------------------|---------------------------|
| 54/55 | `keysend` | A form of spontaneous payment | N | `var_onion_optin` | [bLIP 3](./blip-0003.md) |
| 256/257 | `hosted_channels` | This node accepts requests for hosted channels | IN | | [bLIP 17](./blip-0017.md) |
| 258/259 | `dns_resolver` | This node accepts DNSSEC proof requests | N | | [bLIP 32](./blip-0032.md) |
| 260/261 | `htlc_endorsement` | This node forwards experimental htlc endorsement signals | N | | [bLIP 4](./blip-004.md) |
| 262/263 | `bolt11_blinded_path` | This invoice may contain a new blinded path tagged field | I | `option_route_blinding` | [bLIP 39](./blip-0039.md) |
| Bits | Name | Description | Context | Dependencies | Link |
|---------|-------------------------------|------------------------------------------------------------|---------|-------------------------|---------------------------|
| 54/55 | `keysend` | A form of spontaneous payment | N | `var_onion_optin` | [bLIP 3](./blip-0003.md) |
| 256/257 | `hosted_channels` | This node accepts requests for hosted channels | IN | | [bLIP 17](./blip-0017.md) |
| 258/259 | `dns_resolver` | This node accepts DNSSEC proof requests | N | | [bLIP 32](./blip-0032.md) |
| 260/261 | `htlc_endorsement` | This node forwards experimental htlc endorsement signals | N | | [bLIP 4](./blip-004.md) |
| 262/263 | `bolt11_blinded_path` | This invoice may contain a new blinded path tagged field | I | `option_route_blinding` | [bLIP 39](./blip-0039.md) |
| 270/271 | `pluggable_channel_factories` | This node supports channels inside channel factories | I | | [bLIP XX](./blip-pcfp.md) |

### Messages

Expand All @@ -75,6 +76,7 @@ bLIPs may create new messages and reserve their type in the following table:
| 63501 | `hc_updated_fail_htlc` | [bLIP 17](./blip-0017.md) |
| 63499 | `hc_update_fail_malformed_htlc` | [bLIP 17](./blip-0017.md) |
| 63497 | `hc_error` | [bLIP 17](./blip-0017.md) |
| 32800 | `factory_message_id` | [bLIP XX](./blip-pcfp.md) |

### TLV fields in BOLT messages

Expand Down Expand Up @@ -114,6 +116,14 @@ The following table contains extension tlv fields for the `update_add_htlc` mess
| 106823 | `endorsed` | [bLIP 4](./blip-0004.md) |
| 65537 | `extra_fee` | [bLIP 25](./blip-0025.md) |

#### `open_channel`

The following table contains extension tlv fields for the `open_channel` message:

| Type | Name | Link |
|--------|-----------------------------|--------------------------------|
| 65600 | `channel_in_factory` | [bLIP XX](./blip-pcfp.md) |

#### `ping`

The following table contains extension tlv fields for the `ping` message:
Expand Down
Loading

0 comments on commit a8cf032

Please sign in to comment.