|
rippled
|


Public Types | |
| enum | RequireFullyCanonicalSig : bool { RequireFullyCanonicalSig::no, RequireFullyCanonicalSig::yes } |
| Check the signature. More... | |
| using | iterator = boost::transform_iterator< Transform, STObject::list_type::const_iterator > |
Public Member Functions | |
| STTx ()=delete | |
| STTx & | operator= (STTx const &other)=delete |
| STTx (STTx const &other)=default | |
| STTx (SerialIter &sit) noexcept(false) | |
| STTx (SerialIter &&sit) noexcept(false) | |
| STTx (STObject &&object) noexcept(false) | |
| STTx (TxType type, std::function< void(STObject &)> assembler) | |
| Constructs a transaction. More... | |
| STBase * | copy (std::size_t n, void *buf) const override |
| STBase * | move (std::size_t n, void *buf) override |
| SerializedTypeID | getSType () const override |
| std::string | getFullText () const override |
| Blob | getSignature () const |
| uint256 | getSigningHash () const |
| TxType | getTxnType () const |
| Blob | getSigningPubKey () const |
| SeqProxy | getSeqProxy () const |
| boost::container::flat_set< AccountID > | getMentionedAccounts () const |
| uint256 | getTransactionID () const |
| Json::Value | getJson (JsonOptions options) const override |
| Json::Value | getJson (JsonOptions options, bool binary) const |
| void | sign (PublicKey const &publicKey, SecretKey const &secretKey) |
| std::pair< bool, std::string > | checkSign (RequireFullyCanonicalSig requireCanonicalSig) const |
| std::string | getMetaSQL (std::uint32_t inLedger, std::string const &escapedMetaData) const |
| std::string | getMetaSQL (Serializer rawTxn, std::uint32_t inLedger, char status, std::string const &escapedMetaData) const |
| iterator | begin () const |
| iterator | end () const |
| bool | empty () const |
| void | reserve (std::size_t n) |
| void | applyTemplate (const SOTemplate &type) noexcept(false) |
| void | applyTemplateFromSField (SField const &) noexcept(false) |
| bool | isFree () const |
| void | set (const SOTemplate &) |
| bool | set (SerialIter &u, int depth=0) |
| void | set (std::unique_ptr< STBase > v) |
| Set a field. More... | |
| void | set (STBase *v) |
| virtual bool | isEquivalent (const STBase &t) const override |
| virtual bool | isDefault () const override |
| virtual void | add (Serializer &s) const override |
| void | addWithoutSigningFields (Serializer &s) const |
| Serializer | getSerializer () const |
| virtual std::string | getText () const override |
| template<class... Args> | |
| std::size_t | emplace_back (Args &&... args) |
| int | getCount () const |
| bool | setFlag (std::uint32_t) |
| bool | clearFlag (std::uint32_t) |
| bool | isFlag (std::uint32_t) const |
| std::uint32_t | getFlags () const |
| uint256 | getHash (HashPrefix prefix) const |
| uint256 | getSigningHash (HashPrefix prefix) const |
| const STBase & | peekAtIndex (int offset) const |
| STBase & | getIndex (int offset) |
| const STBase * | peekAtPIndex (int offset) const |
| STBase * | getPIndex (int offset) |
| int | getFieldIndex (SField const &field) const |
| SField const & | getFieldSType (int index) const |
| const STBase & | peekAtField (SField const &field) const |
| STBase & | getField (SField const &field) |
| const STBase * | peekAtPField (SField const &field) const |
| STBase * | getPField (SField const &field, bool createOkay=false) |
| unsigned char | getFieldU8 (SField const &field) const |
| std::uint16_t | getFieldU16 (SField const &field) const |
| std::uint32_t | getFieldU32 (SField const &field) const |
| std::uint64_t | getFieldU64 (SField const &field) const |
| uint128 | getFieldH128 (SField const &field) const |
| uint160 | getFieldH160 (SField const &field) const |
| uint256 | getFieldH256 (SField const &field) const |
| AccountID | getAccountID (SField const &field) const |
| Blob | getFieldVL (SField const &field) const |
| STAmount const & | getFieldAmount (SField const &field) const |
| STPathSet const & | getFieldPathSet (SField const &field) const |
| const STVector256 & | getFieldV256 (SField const &field) const |
| const STArray & | getFieldArray (SField const &field) const |
| template<class T > | |
| T::value_type | operator[] (TypedField< T > const &f) const |
| Get the value of a field. More... | |
| template<class T > | |
| std::optional< std::decay_t< typename T::value_type > > | operator[] (OptionaledField< T > const &of) const |
| Get the value of a field as a std::optional. More... | |
| template<class T > | |
| ValueProxy< T > | operator[] (TypedField< T > const &f) |
| Get a modifiable field value. More... | |
| template<class T > | |
| OptionalProxy< T > | operator[] (OptionaledField< T > const &of) |
| Return a modifiable field value as std::optional. More... | |
| template<class T > | |
| auto | operator[] (TypedField< T > const &f) -> ValueProxy< T > |
| template<class T > | |
| auto | operator[] (OptionaledField< T > const &of) -> OptionalProxy< T > |
| template<class T > | |
| T::value_type | at (TypedField< T > const &f) const |
| Get the value of a field. More... | |
| template<class T > | |
| std::optional< std::decay_t< typename T::value_type > > | at (OptionaledField< T > const &of) const |
| Get the value of a field as std::optional. More... | |
| template<class T > | |
| ValueProxy< T > | at (TypedField< T > const &f) |
| Get a modifiable field value. More... | |
| template<class T > | |
| OptionalProxy< T > | at (OptionaledField< T > const &of) |
| Return a modifiable field value as std::optional. More... | |
| template<class T > | |
| auto | at (TypedField< T > const &f) -> ValueProxy< T > |
| template<class T > | |
| auto | at (OptionaledField< T > const &of) -> OptionalProxy< T > |
| void | setFieldU8 (SField const &field, unsigned char) |
| void | setFieldU16 (SField const &field, std::uint16_t) |
| void | setFieldU32 (SField const &field, std::uint32_t) |
| void | setFieldU64 (SField const &field, std::uint64_t) |
| void | setFieldH128 (SField const &field, uint128 const &) |
| void | setFieldH256 (SField const &field, uint256 const &) |
| void | setFieldVL (SField const &field, Blob const &) |
| void | setFieldVL (SField const &field, Slice const &) |
| void | setAccountID (SField const &field, AccountID const &) |
| void | setFieldAmount (SField const &field, STAmount const &) |
| void | setFieldPathSet (SField const &field, STPathSet const &) |
| void | setFieldV256 (SField const &field, STVector256 const &v) |
| void | setFieldArray (SField const &field, STArray const &v) |
| template<class Tag > | |
| void | setFieldH160 (SField const &field, base_uint< 160, Tag > const &v) |
| STObject & | peekFieldObject (SField const &field) |
| STArray & | peekFieldArray (SField const &field) |
| bool | isFieldPresent (SField const &field) const |
| STBase * | makeFieldPresent (SField const &field) |
| void | makeFieldAbsent (SField const &field) |
| bool | delField (SField const &field) |
| void | delField (int index) |
| bool | hasMatchingEntry (const STBase &) |
| bool | operator== (const STObject &o) const |
| bool | operator== (const STBase &t) const |
| bool | operator!= (const STObject &o) const |
| bool | operator!= (const STBase &t) const |
| template<class D > | |
| D & | downcast () |
| template<class D > | |
| D const & | downcast () const |
| void | setFName (SField const &n) |
| A STBase is a field. More... | |
| SField const & | getFName () const |
| void | addFieldID (Serializer &s) const |
Static Public Member Functions | |
| static std::string const & | getMetaSQLInsertReplaceHeader () |
Static Public Attributes | |
| static const std::size_t | minMultiSigners = 1 |
| static const std::size_t | maxMultiSigners = 8 |
Static Protected Member Functions | |
| template<class T > | |
| static STBase * | emplace (std::size_t n, void *buf, T &&val) |
Protected Attributes | |
| SField const * | fName |
Private Types | |
| enum | WhichFields : bool { omitSigningFields = false, withAllFields = true } |
| using | list_type = std::vector< detail::STVar > |
Private Member Functions | |
| std::pair< bool, std::string > | checkSingleSign (RequireFullyCanonicalSig requireCanonicalSig) const |
| std::pair< bool, std::string > | checkMultiSign (RequireFullyCanonicalSig requireCanonicalSig) const |
| void | add (Serializer &s, WhichFields whichFields) const |
| template<typename T , typename V = typename std::remove_cv<typename std::remove_reference< decltype(std::declval<T>().value())>::type, ::type > | |
| V | getFieldByValue (SField const &field) const |
| template<typename T , typename V > | |
| V const & | getFieldByConstRef (SField const &field, V const &empty) const |
| template<typename T , typename V > | |
| void | setFieldUsingSetValue (SField const &field, V value) |
| template<typename T > | |
| void | setFieldUsingAssignment (SField const &field, T const &value) |
| template<typename T > | |
| T & | peekField (SField const &field) |
Static Private Member Functions | |
| static std::vector< STBase const * > | getSortedFields (STObject const &objToSort, WhichFields whichFields) |
| static auto & | getCounter () noexcept |
Private Attributes | |
| uint256 | tid_ |
| TxType | tx_type_ |
| list_type | v_ |
| SOTemplate const * | mType |
|
privateinherited |
Definition at line 249 of file STObject.h.
|
inherited |
Definition at line 256 of file STObject.h.
|
strong |
|
privateinherited |
| Enumerator | |
|---|---|
| omitSigningFields | |
| withAllFields | |
Definition at line 653 of file STObject.h.
|
delete |
|
default |
|
explicitnoexcept |
|
explicitnoexcept |
| ripple::STTx::STTx | ( | TxType | type, |
| std::function< void(STObject &)> | assembler | ||
| ) |
|
overridevirtual |
Reimplemented from ripple::STObject.
|
overridevirtual |
Reimplemented from ripple::STObject.
|
overridevirtual |
Reimplemented from ripple::STObject.
|
overridevirtual |
Reimplemented from ripple::STObject.
| boost::container::flat_set< AccountID > ripple::STTx::getMentionedAccounts | ( | ) | const |
|
overridevirtual |
Reimplemented from ripple::STObject.
| Json::Value ripple::STTx::getJson | ( | JsonOptions | options, |
| bool | binary | ||
| ) | const |
| std::pair< bool, std::string > ripple::STTx::checkSign | ( | RequireFullyCanonicalSig | requireCanonicalSig | ) | const |
|
static |
| std::string ripple::STTx::getMetaSQL | ( | std::uint32_t | inLedger, |
| std::string const & | escapedMetaData | ||
| ) | const |
| std::string ripple::STTx::getMetaSQL | ( | Serializer | rawTxn, |
| std::uint32_t | inLedger, | ||
| char | status, | ||
| std::string const & | escapedMetaData | ||
| ) | const |
|
private |
|
private |
|
inherited |
Definition at line 298 of file STObject.h.
|
inherited |
Definition at line 304 of file STObject.h.
|
inherited |
Definition at line 310 of file STObject.h.
|
inherited |
Definition at line 316 of file STObject.h.
|
noexceptinherited |
Definition at line 89 of file STObject.cpp.
|
noexceptinherited |
Definition at line 143 of file STObject.cpp.
|
inherited |
Definition at line 328 of file STObject.h.
|
inherited |
Definition at line 73 of file STObject.cpp.
|
noexceptinherited |
Definition at line 153 of file STObject.cpp.
|
inherited |
Set a field.
if the field already exists, it is replaced.
Definition at line 604 of file STObject.cpp.
|
inherited |
|
overridevirtualinherited |
Reimplemented from ripple::STBase.
Definition at line 277 of file STObject.cpp.
|
overridevirtualinherited |
Reimplemented from ripple::STBase.
Definition at line 346 of file STObject.h.
|
overridevirtualinherited |
Reimplemented from ripple::STBase.
Definition at line 352 of file STObject.h.
|
privateinherited |
Definition at line 754 of file STObject.cpp.
|
inherited |
Definition at line 358 of file STObject.h.
|
inherited |
Definition at line 367 of file STObject.h.
|
overridevirtualinherited |
Reimplemented from ripple::STBase.
Reimplemented in ripple::STLedgerEntry.
Definition at line 258 of file STObject.cpp.
|
inherited |
Definition at line 385 of file STObject.h.
|
inherited |
Definition at line 392 of file STObject.h.
|
inherited |
Definition at line 424 of file STObject.cpp.
|
inherited |
Definition at line 436 of file STObject.cpp.
|
inherited |
Definition at line 448 of file STObject.cpp.
|
inherited |
Definition at line 454 of file STObject.cpp.
|
inherited |
Definition at line 312 of file STObject.cpp.
|
inherited |
Definition at line 321 of file STObject.cpp.
|
inherited |
Definition at line 409 of file STObject.h.
|
inherited |
Definition at line 414 of file STObject.h.
|
inherited |
Definition at line 419 of file STObject.h.
|
inherited |
Definition at line 424 of file STObject.h.
|
inherited |
Definition at line 330 of file STObject.cpp.
|
inherited |
Definition at line 368 of file STObject.cpp.
Definition at line 346 of file STObject.cpp.
Definition at line 357 of file STObject.cpp.
Definition at line 374 of file STObject.cpp.
Definition at line 385 of file STObject.cpp.
|
inherited |
Definition at line 520 of file STObject.cpp.
|
inherited |
Definition at line 526 of file STObject.cpp.
|
inherited |
Definition at line 532 of file STObject.cpp.
|
inherited |
Definition at line 538 of file STObject.cpp.
Definition at line 544 of file STObject.cpp.
Definition at line 550 of file STObject.cpp.
Definition at line 556 of file STObject.cpp.
Definition at line 562 of file STObject.cpp.
Definition at line 568 of file STObject.cpp.
Definition at line 576 of file STObject.cpp.
Definition at line 583 of file STObject.cpp.
|
inherited |
Definition at line 590 of file STObject.cpp.
Definition at line 597 of file STObject.cpp.
|
inherited |
Get the value of a field.
| A | TypedField built from an SField value representing the desired object field. In typical use, the TypedField will be implicitly constructed. |
| STObject::FieldErr | if the field is not present. |
Definition at line 980 of file STObject.h.
|
inherited |
Get the value of a field as a std::optional.
| An | OptionaledField built from an SField value representing the desired object field. In typical use, the OptionaledField will be constructed by using the ~ operator on an SField. |
Definition at line 987 of file STObject.h.
|
inherited |
Get a modifiable field value.
| A | TypedField built from an SField value representing the desired object field. In typical use, the TypedField will be implicitly constructed. |
| STObject::FieldErr | if the field is not present. |
|
inherited |
Return a modifiable field value as std::optional.
| An | OptionaledField built from an SField value representing the desired object field. In typical use, the OptionaledField will be constructed by using the ~ operator on an SField. |
optional holding a modifiable reference to the value of the specified field. Returns std::nullopt if the field is not present.
|
inherited |
Definition at line 994 of file STObject.h.
|
inherited |
Definition at line 1001 of file STObject.h.
|
inherited |
Get the value of a field.
| A | TypedField built from an SField value representing the desired object field. In typical use, the TypedField will be implicitly constructed. |
| STObject::FieldErr | if the field is not present. |
Definition at line 1008 of file STObject.h.
|
inherited |
Get the value of a field as std::optional.
| An | OptionaledField built from an SField value representing the desired object field. In typical use, the OptionaledField will be constructed by using the ~ operator on an SField. |
Definition at line 1034 of file STObject.h.
|
inherited |
Get a modifiable field value.
| A | TypedField built from an SField value representing the desired object field. In typical use, the TypedField will be implicitly constructed. |
| STObject::FieldErr | if the field is not present. |
|
inherited |
Return a modifiable field value as std::optional.
| An | OptionaledField built from an SField value representing the desired object field. In typical use, the OptionaledField will be constructed by using the ~ operator on an SField. |
optional holding a modifiable reference to the value of the specified field. Returns std::nullopt if the field is not present.
|
inherited |
Definition at line 1054 of file STObject.h.
|
inherited |
Definition at line 1061 of file STObject.h.
|
inherited |
Definition at line 620 of file STObject.cpp.
|
inherited |
Definition at line 626 of file STObject.cpp.
|
inherited |
Definition at line 632 of file STObject.cpp.
|
inherited |
Definition at line 638 of file STObject.cpp.
Definition at line 644 of file STObject.cpp.
Definition at line 650 of file STObject.cpp.
Definition at line 668 of file STObject.cpp.
Definition at line 674 of file STObject.cpp.
Definition at line 662 of file STObject.cpp.
Definition at line 680 of file STObject.cpp.
Definition at line 686 of file STObject.cpp.
|
inherited |
Definition at line 656 of file STObject.cpp.
Definition at line 692 of file STObject.cpp.
|
inherited |
Definition at line 608 of file STObject.h.
Definition at line 412 of file STObject.cpp.
Definition at line 418 of file STObject.cpp.
|
inherited |
Definition at line 401 of file STObject.cpp.
Definition at line 465 of file STObject.cpp.
|
inherited |
Definition at line 487 of file STObject.cpp.
|
inherited |
Definition at line 502 of file STObject.cpp.
|
inherited |
Definition at line 514 of file STObject.cpp.
|
inherited |
Definition at line 216 of file STObject.cpp.
|
inherited |
Definition at line 711 of file STObject.cpp.
|
inherited |
Definition at line 45 of file STBase.cpp.
|
inherited |
Definition at line 647 of file STObject.h.
|
inherited |
Definition at line 51 of file STBase.cpp.
|
staticprivateinherited |
Definition at line 779 of file STObject.cpp.
|
privateinherited |
Definition at line 679 of file STObject.h.
|
privateinherited |
Definition at line 706 of file STObject.h.
|
privateinherited |
Definition at line 729 of file STObject.h.
|
privateinherited |
Definition at line 752 of file STObject.h.
|
privateinherited |
Definition at line 773 of file STObject.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 120 of file STBase.cpp.
|
inherited |
Definition at line 126 of file STBase.cpp.
|
staticprotectedinherited |
|
staticprivatenoexceptinherited |
Definition at line 128 of file CountedObject.h.
|
static |
|
static |
|
privateinherited |
Definition at line 251 of file STObject.h.
|
privateinherited |
Definition at line 252 of file STObject.h.
1.8.17