PrevUpHomeNext

checkValidity

Checks transaction signature and local checks.

Synopsis
std::pair< Validity, std::string >
checkValidity(
    HashRouter& router,
    STTx const& tx,
    Rules const& rules,
    Config const& config);
Description
Return Value

A Validity enum representing how valid the STTx is and, if not Valid, a reason string.

Remarks

Results are cached internally, so tests will not be repeated over repeated calls, unless cache expires.

Return Value

std::pair, where .first is the status, and .second is the reason if appropriate.

See Also

Validity

Header

#include <ripple/app/tx/apply.h>


PrevUpHomeNext