Skip to content

Non-tokio LDK Net #1493

Open
Open
@TheBlueMatt

Description

@TheBlueMatt

@MaxFangX did a ton of work to build a non-tokio lightning-net crate in #1469, however, sadly, the constraints of the SGX environment he was targeted ended up forcing some decisions that probably don't make all that much sense for a more general-purpose one. That said, with a bit more work, we can probably still build a general lightnin-net crate that would support the SGX environment, just with a pretty different model.

In any case, we should have a lightning-net crate for those not using tokio, and it should be pretty trivial to do. I suggested a specific design for the interface at the end of #1469 (comment) that could support SGX, and we should probably do something that is dead-simple, basically a transliteration of https://github.com/lightningdevkit/ldk-c-bindings/blob/main/ldk-net/ldk_net.c to rust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions