pub fn spawn_init_read_only(
config: Config,
network: &Network,
) -> JoinHandle<(ReadStateService, ZebraDb, Sender<NonFinalizedState>)>
Expand description
Calls init_read_only
with the provided Config
and Network
from a blocking task.
Returns a [tokio::task::JoinHandle
] with a read state service and chain tip sender.