Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Restructure crate #48

Merged
merged 6 commits into from
Nov 28, 2023
Merged

Conversation

tnull
Copy link
Collaborator

@tnull tnull commented Nov 28, 2023

Fixes #34

The structure of this crate was up for discussion right from the beginning (see #1) and we tentatively chose a semantic structure with modules named after their purpose (transport, channel_request, jit_channel).

However, given that the specifications now follow a "no versioning" model in which breaking changes will result in a new LSPSX standard this structure doesn't really make sense anymore. In particular when LSPS4 will become a reality it live side-by-side with LSPS2, so we will have two jit_channel standards for a while.

To this end, we rename the modules accordingly and cfg-gate LSPS1 for now as it's not usable yet, although now checked in CI to make sure we won't break compatibility with it.

As the implementation isn't ready as of yet, we hide LSPS1 for now but
make sure we test it in CI so that future changes don't break code
compatibility.
@tnull tnull force-pushed the 2023-11-crate-restructuring branch from 7258a64 to 017d89a Compare November 28, 2023 14:03
@tnull tnull force-pushed the 2023-11-crate-restructuring branch from 017d89a to 547599b Compare November 28, 2023 14:48
@tnull tnull force-pushed the 2023-11-crate-restructuring branch from 547599b to ad3cc2f Compare November 28, 2023 14:50
@tnull tnull merged commit 4493ef3 into lightningdevkit:main Nov 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project Restructuring: Move LSPS implementations to lspsX modules
2 participants