Function cuprate_consensus::initialize_verifier
source ยท pub async fn initialize_verifier<D, Ctx>(
database: D,
ctx_svc: Ctx,
) -> Result<(BlockVerifierService<Ctx, TxVerifierService<D>, D>, TxVerifierService<D>), ConsensusError>
Expand description
Initialize the 2 verifier tower::Service
s (block and transaction).