lightningdevkit / ldk-node

A ready-to-go node implementation built using LDK.
Other
140 stars 72 forks source link

Allow start from outer runtime #319

Closed tnull closed 2 months ago

tnull commented 2 months ago

Upstreamed from https://github.com/tnull/ldk-node-hack/pull/1

We add a Node::start_with_runtime method that allows to reuse a pre-existing runtime, e.g., to avoid stacking runtime contexts when running in a tokio async environment.