xrpld
Loading...
Searching...
No Matches
xrpl::credentials Namespace Reference

Functions

bool checkExpired (SLE const &sleCredential, NetClock::time_point const &closed)
TER deleteSLE (ApplyView &view, SLE::ref sleCredential, beast::Journal j)
NotTEC checkFields (STTx const &tx, beast::Journal j)
TER valid (STTx const &tx, ReadView const &view, AccountID const &src, beast::Journal j)
TER validDomain (ReadView const &view, uint256 domainID, AccountID const &subject)
TER authorizedDepositPreauth (ReadView const &view, STVector256 const &ctx, AccountID const &dst)
std::set< std::pair< AccountID, Slice > > makeSorted (STArray const &credentials)
NotTEC checkArray (STArray const &credentials, unsigned maxSize, beast::Journal j)
static std::expected< bool, TERremoveExpired (ApplyView &view, STVector256 const &arr, beast::Journal const j)

Function Documentation

◆ checkExpired()

bool xrpl::credentials::checkExpired ( SLE const & sleCredential,
NetClock::time_point const & closed )

Definition at line 37 of file CredentialHelpers.cpp.

◆ deleteSLE()

TER xrpl::credentials::deleteSLE ( ApplyView & view,
SLE::ref sleCredential,
beast::Journal j )
nodiscard

Definition at line 73 of file CredentialHelpers.cpp.

◆ checkFields()

NotTEC xrpl::credentials::checkFields ( STTx const & tx,
beast::Journal j )

Definition at line 127 of file CredentialHelpers.cpp.

◆ valid()

TER xrpl::credentials::valid ( STTx const & tx,
ReadView const & view,
AccountID const & src,
beast::Journal j )

Definition at line 155 of file CredentialHelpers.cpp.

◆ validDomain()

TER xrpl::credentials::validDomain ( ReadView const & view,
uint256 domainID,
AccountID const & subject )

Definition at line 189 of file CredentialHelpers.cpp.

◆ authorizedDepositPreauth()

TER xrpl::credentials::authorizedDepositPreauth ( ReadView const & view,
STVector256 const & ctx,
AccountID const & dst )

Definition at line 230 of file CredentialHelpers.cpp.

◆ makeSorted()

std::set< std::pair< AccountID, Slice > > xrpl::credentials::makeSorted ( STArray const & credentials)

Definition at line 254 of file CredentialHelpers.cpp.

◆ checkArray()

NotTEC xrpl::credentials::checkArray ( STArray const & credentials,
unsigned maxSize,
beast::Journal j )

Definition at line 267 of file CredentialHelpers.cpp.

◆ removeExpired()

std::expected< bool, TER > xrpl::credentials::removeExpired ( ApplyView & view,
STVector256 const & arr,
beast::Journal const j )
staticnodiscard

Definition at line 47 of file CredentialHelpers.cpp.