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

Further codebase modularization #58

Merged
merged 18 commits into from
Dec 15, 2023

Conversation

tnull
Copy link
Collaborator

@tnull tnull commented Dec 6, 2023

Based on #53.
Closes #36.
Closes #17.
Closes #31.
Closes #68.
Supersedes #52.

We modularize the codebase further.

@tnull tnull marked this pull request as draft December 6, 2023 14:10
@tnull tnull mentioned this pull request Dec 6, 2023
@tnull tnull force-pushed the 2023-11-modularize-more branch from 7207a47 to 6b334df Compare December 6, 2023 14:15
@tnull tnull mentioned this pull request Dec 6, 2023
@tnull tnull force-pushed the 2023-11-modularize-more branch from 6b334df to b455817 Compare December 6, 2023 14:18
@tnull tnull force-pushed the 2023-11-modularize-more branch 4 times, most recently from 16cf4f6 to 8d00528 Compare December 7, 2023 15:22
@tnull tnull mentioned this pull request Dec 11, 2023
tnull added 10 commits December 11, 2023 15:06
Instead of re-exposing all relevant API calls on `LiquidityManager`, we
simply expose them on the original message handlers and expose methods
to retrieve those.
.. and move it to `lsps2/message_handler.rs`
.. and move it to `lsps1/message_handler.rs`
.. and move it to `lsps2/message_handler.rs`
.. and move it to `lsps1/message_handler.rs`
.. and `LSPS0MessageHandler` to `lsps0/message_handler.rs`
In parallel to LSPS2, we expose the internal
`msgs`/`message_handler`/`event` modules of LSPS1.

To this end, we add docs to all message types, mark docs in `event.rs`
as TODO, and hide the public methods of LSPS1's message handler, as
we'll want to expose-and-document them individually at a later date.
@tnull tnull force-pushed the 2023-11-modularize-more branch from 8feb063 to 6155dd4 Compare December 11, 2023 14:06
@tnull tnull marked this pull request as ready for review December 11, 2023 14:06
@tnull
Copy link
Collaborator Author

tnull commented Dec 11, 2023

Now added most of the missing docs to LSPS1, exposed it in parallel to the structure now created in LSPS2, and enforcing docs to be present through CI.

@tnull tnull force-pushed the 2023-11-modularize-more branch 4 times, most recently from ee2593d to a575030 Compare December 14, 2023 13:32
@tnull tnull force-pushed the 2023-11-modularize-more branch from f29b113 to cdf1781 Compare December 15, 2023 09:12
@tnull tnull force-pushed the 2023-11-modularize-more branch 3 times, most recently from 4dad3a3 to 5954efd Compare December 15, 2023 10:43
@tnull tnull force-pushed the 2023-11-modularize-more branch from 5954efd to b7ca8e2 Compare December 15, 2023 10:47
@tnull tnull force-pushed the 2023-11-modularize-more branch from b7ca8e2 to 1f11274 Compare December 15, 2023 11:13
@tnull tnull merged commit 8cd4a4b into lightningdevkit:main Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants