ledger-core
|
#include <RippleLikeTransaction.hpp>
Public Member Functions | |
virtual std::string | getHash ()=0 |
virtual std::shared_ptr< Amount > | getFees ()=0 |
virtual std::shared_ptr< RippleLikeAddress > | getReceiver ()=0 |
virtual std::shared_ptr< RippleLikeAddress > | getSender ()=0 |
virtual std::shared_ptr< Amount > | getValue ()=0 |
virtual std::vector< uint8_t > | serialize ()=0 |
virtual void | setSignature (const std::vector< uint8_t > &rSignature, const std::vector< uint8_t > &sSignature)=0 |
virtual void | setDERSignature (const std::vector< uint8_t > &signature)=0 |
virtual std::chrono::system_clock::time_point | getDate ()=0 |
virtual std::shared_ptr< BigInt > | getSequence ()=0 |
virtual std::shared_ptr< BigInt > | getLedgerSequence ()=0 |
virtual std::vector< uint8_t > | getSigningPubKey ()=0 |
virtual std::vector< RippleLikeMemo > | getMemos ()=0 |
virtual void | addMemo (const RippleLikeMemo &memo)=0 |
virtual std::experimental::optional< int64_t > | getDestinationTag ()=0 |
TODO: to be more accurate, all RippleLikeBlock classes should be renamed as RippleLikeLedger, since there is an analogy between block and ledger concepts it's ok for the moment ... Class representing a Ripple transaction
|
pure virtual |
Add a memo to a transaction.
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
Get the time when the transaction was issued or the time of the block including this transaction
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
An arbitrary unsigned 32-bit integer that identifies a reason for payment or a non-Ripple account
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
Get Fees (in drop)
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
Get the hash of the transaction.
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
Get Ledger's sequence in which the tx was included
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
Get all memos associated with the transaction.
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
Get destination XRP address
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
Get XRP sender address
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
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)
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
Get Signing public Key
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
Get amount of XRP to send
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
Serialize the transaction to its raw format.
Implemented in ledger::core::RippleLikeTransactionApi.
|
pure virtual |
Set signature of transaction, when a signature is set serialize method gives back serialized Tx
Implemented in ledger::core::RippleLikeTransactionApi.