Skip to content

Improve Builder and Config docs#835

Merged
tnull merged 1 commit intolightningdevkit:mainfrom
tnull:2026-03-improve-docs
Mar 20, 2026
Merged

Improve Builder and Config docs#835
tnull merged 1 commit intolightningdevkit:mainfrom
tnull:2026-03-improve-docs

Conversation

@tnull
Copy link
Collaborator

@tnull tnull commented Mar 19, 2026

We somewhat improve the docs on Builder and Config. Namely, we expand the docs in a few areas and remove stale fields/docs.

While we're at it, we also fix some typos.

Co-Authored-By: HAL 9000

@tnull tnull requested a review from joostjager March 19, 2026 13:12
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Mar 19, 2026

👋 Thanks for assigning @joostjager as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

joostjager
joostjager previously approved these changes Mar 19, 2026
/// | `log_dir_path` | None |
/// | `network` | Bitcoin |
/// | `listening_addresses` | None |
/// | `announcement_addresses` | None |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This table is quite fragile, it must be kept in sync with the code. Not sure if it is worth keeping it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's worth, at least for now.

We somewhat improve the docs on `Builder` and `Config`. Namely,
we expand the docs in a few areas and remove stale fields/docs.

While we're at it, we also fix some typos.

Co-Authored-By: HAL 9000
Signed-off-by: Elias Rohrer <dev@tnull.de>
@tnull
Copy link
Collaborator Author

tnull commented Mar 19, 2026

Force-pushed minor fixup:

 git diff-tree -U2 6c26a084 c6308fbb
diff --git a/src/builder.rs b/src/builder.rs
index 360fe604..b6e9e2c8 100644
--- a/src/builder.rs
+++ b/src/builder.rs
@@ -271,5 +271,4 @@ impl std::error::Error for BuildError {}
 /// [`log`]: https://crates.io/crates/log
 /// [Logging]: #logging
-/// [Storage]: #storage
 #[derive(Debug)]
 pub struct NodeBuilder {

@tnull tnull merged commit 9e0a812 into lightningdevkit:main Mar 20, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants