Skip to main content

VerifyResult

Type Alias VerifyResult 

Source
type VerifyResult = Result<Result<(VerifiedUnminedTx, Vec<OutPoint>, Option<Height>, Option<Sender<Result<(), Box<dyn Error + Send + Sync + 'static>>>>), Box<(TransactionDownloadVerifyError, UnminedTxId)>>, (UnminedTxId, Elapsed)>;
Expand description

A download and verify result queued before notifying the mempool.

Aliased Type§

enum VerifyResult {
    Ok(Result<(VerifiedUnminedTx, Vec<OutPoint>, Option<Height>, Option<Sender<Result<(), Box<dyn Error + Send + Sync>>>>), Box<(TransactionDownloadVerifyError, UnminedTxId)>>),
    Err((UnminedTxId, Elapsed)),
}

Variants§

§1.0.0

Ok(Result<(VerifiedUnminedTx, Vec<OutPoint>, Option<Height>, Option<Sender<Result<(), Box<dyn Error + Send + Sync>>>>), Box<(TransactionDownloadVerifyError, UnminedTxId)>>)

Contains the success value

§1.0.0

Err((UnminedTxId, Elapsed))

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.