|
async fn unwrap_relay_or_else_fetch( |
We're doing this relay health check outside of the relay manager. This means the selection seems to be happening in multiple places. If all of this business logic were abstracted in a single manager, I think it'd make more sense in our implementation and be easier for downstream implementations to reference. This came up in the bdk-cli persistence integration pr because @Mshehu5 implementing was using our reference, and this reference is confusing.
rust-payjoin/payjoin-cli/src/app/v2/mod.rs
Line 885 in 2c9085c
We're doing this relay health check outside of the relay manager. This means the selection seems to be happening in multiple places. If all of this business logic were abstracted in a single manager, I think it'd make more sense in our implementation and be easier for downstream implementations to reference. This came up in the bdk-cli persistence integration pr because @Mshehu5 implementing was using our reference, and this reference is confusing.