Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Sample architecture & code skeleton #2

Closed
wants to merge 96 commits into from

Conversation

ariard
Copy link

@ariard ariard commented Feb 22, 2021

This is #1 after solving git history divergences conflicts.

Please note the new ARCH.md detailing sample initialization.

TheBlueMatt and others added 25 commits February 22, 2021 09:26
Fixes two issues:
 * Explicitly specify radix for header bits field parsing and
 * Handle confirmations being negative (ie reorg'ed out)
This is a meaningful rewrite of the previous sample rust-lightning
based node. Mainly, it switches the code architecture to a new
threading model, where each major LN components gets its own and
communicate with others through dedidcated channels. It also splits
the command line in its own binary, move logging in its own file,
and vets the whole with a configuration file.

Documentation is work in progress and aims to expose Rust-Lightning
architecture usage.

This is still experimental software and shouldn't be used beyond
a local regtest. You still have wide holes which would provoke
certain loss of funds.
jkczyz added a commit to jkczyz/ldk-sample that referenced this pull request Feb 22, 2021
@jkczyz
Copy link
Collaborator

jkczyz commented Feb 22, 2021

Feel free to take jkczyz@f7119d5, which builds on the current rust-lightning plus lightningdevkit/rust-lightning#791.

@ariard
Copy link
Author

ariard commented Mar 19, 2021

Closing for now, going to look on the new version soon.

@ariard ariard closed this Mar 19, 2021
orbitalturtle added a commit to orbitalturtle/ldk-sample that referenced this pull request Jan 17, 2024
Make configuration and start function public so they can be imported
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.

7 participants