vincenzopalazzo / lampo.rs

lampo (lightning in Italian) is a experimental implementation of a tiny lightning node
http://lampo.devcrew.cc
BSD 3-Clause "New" or "Revised" License
37 stars 14 forks source link

lampo backend interface re-thinking #181

Open vincenzopalazzo opened 9 months ago

vincenzopalazzo commented 9 months ago

I had a conversation with @tnull, (an expert in LDK and Lightning), who was kind enough to review my initial of lampo. It is a little bit hacky had buggy but I am not surprised by the code that I wrote on some hot London night in 2022.

The main issue is that the lampo-bitcoind has several bugs events that ldk can take in the wrong way. I need to think about potential solutions and all the bugs, and one possibility might be found here: https://docs.rs/lightning-transaction-sync/latest/lightning_transaction_sync/#usage-example.

I'm uncertain about how to handle the lampo-nakamoto backend. However, it's clear that incorporating lightning_transaction_sync is important for moving towards a well-tested solution and OFC the important part for me is that it is maintained by ldk people 😄. However, we'll need to consider if this allows us the same level of flexibility.

vincenzopalazzo commented 1 week ago

Ok, I finally deallocated some projects in this way I have more time for lampo.

However, I think the backend interface need a full rewrite, and I start playing with it at https://github.com/vincenzopalazzo/lampo.rs/pull/291