ledger-core
|
Public Member Functions | |
RippleLikeTransactionApi (const api::Currency ¤cy) | |
RippleLikeTransactionApi (const std::shared_ptr< OperationApi > &operation) | |
std::string | getHash () override |
std::shared_ptr< api::Amount > | getFees () override |
std::shared_ptr< api::RippleLikeAddress > | getReceiver () override |
std::shared_ptr< api::RippleLikeAddress > | getSender () override |
std::shared_ptr< api::Amount > | getValue () override |
std::vector< uint8_t > | serialize () override |
std::chrono::system_clock::time_point | getDate () override |
std::shared_ptr< api::BigInt > | getSequence () override |
std::shared_ptr< api::BigInt > | getLedgerSequence () override |
void | setSignature (const std::vector< uint8_t > &rSignature, const std::vector< uint8_t > &sSignature) override |
void | setDERSignature (const std::vector< uint8_t > &signature) override |
std::vector< uint8_t > | getSigningPubKey () override |
RippleLikeTransactionApi & | setFees (const std::shared_ptr< BigInt > &fees) |
RippleLikeTransactionApi & | setValue (const std::shared_ptr< BigInt > &value) |
RippleLikeTransactionApi & | setSequence (const BigInt &sequence) |
RippleLikeTransactionApi & | setLedgerSequence (const BigInt &ledgerSequence) |
RippleLikeTransactionApi & | setSender (const std::shared_ptr< api::RippleLikeAddress > &sender) |
RippleLikeTransactionApi & | setReceiver (const std::shared_ptr< api::RippleLikeAddress > &receiver) |
RippleLikeTransactionApi & | setSigningPubKey (const std::vector< uint8_t > &pubKey) |
RippleLikeTransactionApi & | setHash (const std::string &hash) |
RippleLikeTransactionApi & | setDestinationTag (uint32_t tag) |
std::vector< api::RippleLikeMemo > | getMemos () override |
void | addMemo (api::RippleLikeMemo const &memo) override |
std::experimental::optional< int64_t > | getDestinationTag () override |
|
overridevirtual |
Add a memo to a transaction.
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Get the time when the transaction was issued or the time of the block including this transaction
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
An arbitrary unsigned 32-bit integer that identifies a reason for payment or a non-Ripple account
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Get Fees (in drop)
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Get the hash of the transaction.
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Get Ledger's sequence in which the tx was included
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Get all memos associated with the transaction.
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Get destination XRP address
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Get XRP sender address
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Get block to which transaction belongs (was mined in) getBlock(): optional<RippleLikeBlock>; Get sequence of an account when tx was built (number of sent transactions from an account)
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Get Signing public Key
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Get amount of XRP to send
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Serialize the transaction to its raw format.
Implements ledger::core::api::RippleLikeTransaction.
|
overridevirtual |
Set signature of transaction, when a signature is set serialize method gives back serialized Tx
Implements ledger::core::api::RippleLikeTransaction.