|
xrpld
|
#include <Permissions.h>

Classes | |
| struct | GranularPermissionEntry |
| struct | TxDelegationEntry |
Public Member Functions | |
| Permission (Permission const &)=delete | |
| Permission & | operator= (Permission const &)=delete |
| std::optional< std::string > | getPermissionName (std::uint32_t value) const |
| std::optional< std::uint32_t > | getGranularValue (std::string const &name) const |
| std::optional< std::string > | getGranularName (GranularPermissionType value) const |
| std::optional< TxType > | getGranularTxType (GranularPermissionType gpType) const |
| std::optional< std::reference_wrapper< uint256 const > > | getTxFeature (TxType txType) const |
| bool | isDelegable (std::uint32_t permissionValue, Rules const &rules) const |
| bool | hasGranularPermissions (TxType txType) const |
| bool | checkGranularSandbox (STTx const &tx, std::unordered_set< GranularPermissionType > const &heldPermissions) const |
| Verifies a delegated transaction against its granular permission template. | |
Static Public Member Functions | |
| static Permission const & | getInstance () |
| static uint32_t | txToPermissionType (TxType type) |
| static std::optional< TxType > | permissionToTxType (std::uint32_t value) |
Private Member Functions | |
| Permission () | |
Definition at line 43 of file Permissions.h.
|
private |
Definition at line 39 of file Permissions.cpp.
|
delete |
|
static |
Definition at line 139 of file Permissions.cpp.
|
delete |
|
nodiscard |
Definition at line 146 of file Permissions.cpp.
|
nodiscard |
Definition at line 166 of file Permissions.cpp.
|
nodiscard |
Definition at line 176 of file Permissions.cpp.
|
nodiscard |
Definition at line 186 of file Permissions.cpp.
|
nodiscard |
Definition at line 202 of file Permissions.cpp.
|
nodiscard |
Definition at line 216 of file Permissions.cpp.
|
nodiscard |
Definition at line 196 of file Permissions.cpp.
|
staticnodiscard |
Definition at line 249 of file Permissions.cpp.
|
staticnodiscard |
Definition at line 255 of file Permissions.cpp.
|
nodiscard |
Verifies a delegated transaction against its granular permission template.
| tx | The transaction to verify. |
| heldPermissions | The granular permissions that the sender hold. |
Definition at line 266 of file Permissions.cpp.
|
private |
Definition at line 68 of file Permissions.h.
|
private |
Definition at line 69 of file Permissions.h.
|
private |
Definition at line 70 of file Permissions.h.
|
private |
Definition at line 71 of file Permissions.h.