rust-lightning/lightning
Matt Corallo d718822874 Make ChainMonitor::get_claimable_balances take a slice of refs
For the same reason as `get_route`, a slice of objects isn't
practical to map to bindings - the objects in the bindings space
are structs with a pointer and some additional metadata. Thus, to
create a slice of them, we'd need to take ownership of the objects
behind the pointer, place them into a slace, and then restore them
to the pointer.

This would be a lot of memory copying and marshalling, not to
mention wouldn't be thread-safe, which the same function otherwise
would be if we used a slice of references instead of a slice of
objects.
2021-09-22 04:42:31 +00:00
..
src Make ChainMonitor::get_claimable_balances take a slice of refs 2021-09-22 04:42:31 +00:00
Cargo.toml Update versions to 0.0.100 and lightning-invoice to 0.8 2021-08-17 18:55:07 +00:00