ledger-core
Public Member Functions | List of all members
ledger::core::api::RippleLikeAccount Class Referenceabstract

#include <RippleLikeAccount.hpp>

+ Inheritance diagram for ledger::core::api::RippleLikeAccount:

Public Member Functions

virtual void broadcastRawTransaction (const std::vector< uint8_t > &transaction, const std::shared_ptr< StringCallback > &callback)=0
 
virtual void broadcastTransaction (const std::shared_ptr< RippleLikeTransaction > &transaction, const std::shared_ptr< StringCallback > &callback)=0
 
virtual std::shared_ptr< RippleLikeTransactionBuilderbuildTransaction ()=0
 
virtual void getFees (const std::shared_ptr< AmountCallback > &callback)=0
 
virtual void getBaseReserve (const std::shared_ptr< AmountCallback > &callback)=0
 
virtual void isAddressActivated (const std::string &address, const std::shared_ptr< BoolCallback > &isActivated)=0
 

Detailed Description

Class representing a Ripple account

Member Function Documentation

◆ getBaseReserve()

virtual void ledger::core::api::RippleLikeAccount::getBaseReserve ( const std::shared_ptr< AmountCallback > &  callback)
pure virtual

Get base reserve (dust to leave on an XRP account) from network Note: same note as above

◆ getFees()

virtual void ledger::core::api::RippleLikeAccount::getFees ( const std::shared_ptr< AmountCallback > &  callback)
pure virtual

Get fees from network Note: it would have been better to have this method on RippleLikeWallet but since RippleLikeWallet is not used anywhere, it's better to keep all specific methods under the same specific class so it will be easy to segratate when the right time comes !

◆ isAddressActivated()

virtual void ledger::core::api::RippleLikeAccount::isAddressActivated ( const std::string &  address,
const std::shared_ptr< BoolCallback > &  isActivated 
)
pure virtual

Check whether an account has been activated or not Here activation, means that the XRP account received a first transaction with a minimum amount greater or equal to XRP base reserve

Parameters

The documentation for this class was generated from the following file: