rust-lightning icon indicating copy to clipboard operation
rust-lightning copied to clipboard

Ability to construct an invoice from bindings

Open TheBlueMatt opened this issue 3 years ago • 3 comments

Most languages don't support move semantics, so the standard rust builder pattern doesn't work. Worse, the invoice construction builder has a ton of type info that enforces downstream correctness. Realistically, we probably need to expose a full #[cfg(c_bindings)] invoice constructor that is parallel with the rust one.

TheBlueMatt avatar Nov 22 '22 22:11 TheBlueMatt

Gonna slip this.

TheBlueMatt avatar Jan 31 '23 00:01 TheBlueMatt

Slipping to 0.1.

TheBlueMatt avatar Apr 17 '23 17:04 TheBlueMatt

Surprisingly, with the utils, no one has actually complained about this, so removing the milestone entirely.

TheBlueMatt avatar May 06 '24 02:05 TheBlueMatt