ledger-core
Public Member Functions | List of all members
ledger::core::LedgerApiBitcoinLikeBlockchainExplorer Class Reference
+ Inheritance diagram for ledger::core::LedgerApiBitcoinLikeBlockchainExplorer:
+ Collaboration diagram for ledger::core::LedgerApiBitcoinLikeBlockchainExplorer:

Public Member Functions

 LedgerApiBitcoinLikeBlockchainExplorer (const std::shared_ptr< api::ExecutionContext > &context, const std::shared_ptr< HttpClient > &http, const api::BitcoinLikeNetworkParameters &parameters, const std::shared_ptr< api::DynamicObject > &configuration)
 
Future< StringpushLedgerApiTransaction (const std::vector< uint8_t > &transaction) override
 
Future< void * > startSession () override
 
Future< UnitkillSession (void *session) override
 
Future< BytesgetRawTransaction (const String &transactionHash) override
 
Future< StringpushTransaction (const std::vector< uint8_t > &transaction) override
 
FuturePtr< TransactionsBulk > getTransactions (const std::vector< std::string > &addresses, Option< std::string > fromBlockHash=Option< std::string >(), Option< void *> session=Option< void *>()) override
 
FuturePtr< BlockgetCurrentBlock () const override
 
FuturePtr< BitcoinLikeBlockchainExplorerTransactiongetTransactionByHash (const String &transactionHash) const override
 
Future< int64_t > getTimestamp () const override
 
std::shared_ptr< api::ExecutionContextgetExplorerContext () const override
 
api::BitcoinLikeNetworkParameters getNetworkParameters () const override
 
std::string getExplorerVersion () const override
 
Future< std::vector< std::shared_ptr< api::BigInt > > > getFees () override
 
- Public Member Functions inherited from ledger::core::BitcoinLikeBlockchainExplorer
 BitcoinLikeBlockchainExplorer (const std::shared_ptr< api::DynamicObject > &configuration, const std::vector< std::string > &matchableKeys)
 
- Public Member Functions inherited from ledger::core::ConfigurationMatchable
 ConfigurationMatchable (const std::vector< std::string > &matchableKeys)
 
bool match (const std::shared_ptr< api::DynamicObject > &configuration)
 
void setConfiguration (const std::shared_ptr< api::DynamicObject > &configuration)
 
- Public Member Functions inherited from ledger::core::AbstractLedgerApiBlockchainExplorer< BlockchainExplorerTransaction, TransactionsBulk, TransactionsParser, TransactionsBulkParser, BlockParser, NetworkParameters >
FuturePtr< TransactionsBulk > getLedgerApiTransactions (const std::vector< std::string > &addresses, Option< std::string > fromBlockHash, Option< void *> session, bool isSnakeCase=false)
 
FuturePtr< BlockgetLedgerApiCurrentBlock () const
 
FuturePtr< BlockchainExplorerTransaction > getLedgerApiTransactionByHash (const String &transactionHash) const
 
Future< void * > startLedgerApiSession () const
 
Future< UnitkillLedgerApiSession (void *session) const
 
Future< BytesgetLedgerApiRawTransaction (const String &transactionHash) const
 
Future< int64_t > getLedgerApiTimestamp () const
 
- Public Member Functions inherited from ledger::core::DedicatedContext
 DedicatedContext (const std::shared_ptr< api::ExecutionContext > &context)
 
template<typename T >
Future< T > async (std::function< T()> f)
 
template<typename T >
Future< T > async (std::function< T()> f) const
 
Future< Unitrun (std::function< void()> f)
 
std::shared_ptr< api::ExecutionContextgetContext () const
 

Additional Inherited Members

- Public Types inherited from ledger::core::BitcoinLikeBlockchainExplorer
typedef ledger::core::Block Block
 
- Protected Attributes inherited from ledger::core::AbstractLedgerApiBlockchainExplorer< BlockchainExplorerTransaction, TransactionsBulk, TransactionsParser, TransactionsBulkParser, BlockParser, NetworkParameters >
std::shared_ptr< HttpClient_http
 
- Protected Attributes inherited from ledger::core::DedicatedContext
std::shared_ptr< api::ExecutionContext_executionContext
 

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