mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-26 15:42:52 +01:00
Because downstream languages are often garbage-collected, having the user directly allocate a `ReadOnlyNetworkGraph` and pass a reference to it to `find_route` often results in holding a read lock long in excess of the `find_route` call. Worse, some languages (like JavaScript) tend to only garbage collect when other code is not running, possibly leading to deadlocks. |
||
---|---|---|
.. | ||
bin | ||
msg_targets | ||
utils | ||
chanmon_consistency.rs | ||
chanmon_deser.rs | ||
full_stack.rs | ||
lib.rs | ||
peer_crypt.rs | ||
process_network_graph.rs | ||
router.rs | ||
zbase32.rs |