|
Clio
develop
The XRP Ledger API server.
|
A group of custom validation functions. More...
#include <Validators.hpp>

Static Public Attributes | |
| static CustomValidator | ledgerIndexValidator |
| Provides a commonly used validator for ledger index. | |
| static CustomValidator | ledgerTypeValidator |
| Provides a validator for ledger type. | |
| static CustomValidator | accountValidator |
| Provides a commonly used validator for accounts. | |
| static CustomValidator | accountBase58Validator |
| Provides a commonly used validator for accounts. | |
| static CustomValidator | accountMarkerValidator |
| Provides a commonly used validator for markers. | |
| static CustomValidator | accountTypeValidator |
| Provides a validator for account type. | |
| static CustomValidator | uint160HexStringValidator |
| Provides a commonly used validator for uint160(AccountID) hex string. | |
| static CustomValidator | uint192HexStringValidator |
| Provides a commonly used validator for uint192 hex string. | |
| static CustomValidator | uint256HexStringValidator |
| Provides a commonly used validator for uint256 hex string. | |
| static CustomValidator | currencyValidator |
| Provides a commonly used validator for currency, including standard currency code and token code. | |
| static CustomValidator | issuerValidator |
| Provides a commonly used validator for issuer type. | |
| static CustomValidator | subscribeStreamValidator |
| Provides a validator for validating streams used in subscribe/unsubscribe. | |
| static CustomValidator | subscribeAccountsValidator |
| Provides a validator for validating accounts used in subscribe/unsubscribe. | |
| static CustomValidator | currencyIssueValidator |
| Validates an asset (ripple::Issue). | |
| static CustomValidator | authorizeCredentialValidator |
| Provides a validator for validating authorized_credentials json array. | |
| static CustomValidator | credentialTypeValidator |
| Provides a validator for validating credential_type. | |
A group of custom validation functions.
|
static |
Provides a commonly used validator for accounts.
Account must be a string and can convert to base58.
|
static |
Provides a commonly used validator for markers.
A marker is composed of a comma-separated index and a start hint. The former will be read as hex, and the latter can be cast to uint64.
|
static |
Provides a validator for account type.
A type accepts canonical names of owned ledger entry types (case insensitive) or short names. Used by account_objects.
|
static |
Provides a commonly used validator for accounts.
Account must be a string and the converted public key is valid.
|
static |
Provides a validator for validating authorized_credentials json array.
Used by deposit_preauth.
|
static |
Provides a validator for validating credential_type.
Used by AuthorizeCredentialValidator in deposit_preauth.
|
static |
Validates an asset (ripple::Issue).
Used by amm_info.
|
static |
Provides a commonly used validator for currency, including standard currency code and token code.
|
static |
Provides a commonly used validator for issuer type.
It must be a hex string or base58 string.
|
static |
Provides a commonly used validator for ledger index.
LedgerIndex must be a string or an int. If the specified LedgerIndex is a string, its value must be either "validated" or a valid integer value represented as a string.
|
static |
Provides a validator for ledger type.
A type accepts canonical names of ledger entry types (case insensitive) or short names. Used by ledger_data.
|
static |
Provides a validator for validating accounts used in subscribe/unsubscribe.
|
static |
Provides a validator for validating streams used in subscribe/unsubscribe.
|
static |
Provides a commonly used validator for uint160(AccountID) hex string.
It must be a string and also a decodable hex. AccountID uses this validator.
|
static |
Provides a commonly used validator for uint192 hex string.
It must be a string and also a decodable hex. MPTIssuanceID uses this validator.
|
static |
Provides a commonly used validator for uint256 hex string.
It must be a string and also a decodable hex. Transaction index, ledger hash all use this validator.