You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It requires a OS: Deref<Target = OutputSweeper<T, D, F, CF, KVStoreSyncWrapper<K>, L, O>>, but you can't get such an object from an OutputSweeperSync outside of a test environment (and we don't really want to expose it). Not sure how to fix this, but we need to....
It requires a OS: Deref<Target = OutputSweeper<T, D, F, CF, KVStoreSyncWrapper<K>, L, O>>, but you can't get such an object from an OutputSweeperSync outside of a test environment (and we don't really want to expose it). Not sure how to fix this, but we need to....
Activity
tnull commentedon Sep 24, 2025
Well, the title isn't entirely accurate as we use it in LDK Node pre-lightningdevkit/ldk-node#633. I think you can get such a monstrosity via
OutputSweeper::new_with_kv_store_sync(see https://github.com/lightningdevkit/ldk-node/blob/65945f8e25ef7d1f6a621115f814678a661470ce/src/builder.rs#L1613).I'm still in favor of dropping
process_events_async_with_kv_store_syncaltogether though.TheBlueMatt commentedon Sep 24, 2025
Bleh, that's borderline unsafe - having blocking IO in something that pretends to be async is not a great outcome.
TheBlueMatt commentedon Sep 25, 2025
Fixed in #4119.