ledger-core
|
Public Member Functions | |
LedgerApiBitcoinLikeBlockchainExplorer (const std::shared_ptr< api::ExecutionContext > &context, const std::shared_ptr< HttpClient > &http, const api::BitcoinLikeNetworkParameters ¶meters, const std::shared_ptr< api::DynamicObject > &configuration) | |
Future< String > | pushLedgerApiTransaction (const std::vector< uint8_t > &transaction) override |
Future< void * > | startSession () override |
Future< Unit > | killSession (void *session) override |
Future< Bytes > | getRawTransaction (const String &transactionHash) override |
Future< String > | pushTransaction (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< Block > | getCurrentBlock () const override |
FuturePtr< BitcoinLikeBlockchainExplorerTransaction > | getTransactionByHash (const String &transactionHash) const override |
Future< int64_t > | getTimestamp () const override |
std::shared_ptr< api::ExecutionContext > | getExplorerContext () const override |
api::BitcoinLikeNetworkParameters | getNetworkParameters () const override |
std::string | getExplorerVersion () const override |
Future< std::vector< std::shared_ptr< api::BigInt > > > | getFees () override |
![]() | |
BitcoinLikeBlockchainExplorer (const std::shared_ptr< api::DynamicObject > &configuration, const std::vector< std::string > &matchableKeys) | |
![]() | |
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) |
![]() | |
FuturePtr< TransactionsBulk > | getLedgerApiTransactions (const std::vector< std::string > &addresses, Option< std::string > fromBlockHash, Option< void *> session, bool isSnakeCase=false) |
FuturePtr< Block > | getLedgerApiCurrentBlock () const |
FuturePtr< BlockchainExplorerTransaction > | getLedgerApiTransactionByHash (const String &transactionHash) const |
Future< void * > | startLedgerApiSession () const |
Future< Unit > | killLedgerApiSession (void *session) const |
Future< Bytes > | getLedgerApiRawTransaction (const String &transactionHash) const |
Future< int64_t > | getLedgerApiTimestamp () const |
![]() | |
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< Unit > | run (std::function< void()> f) |
std::shared_ptr< api::ExecutionContext > | getContext () const |
Additional Inherited Members | |
![]() | |
typedef ledger::core::Block | Block |
![]() | |
std::shared_ptr< HttpClient > | _http |
![]() | |
std::shared_ptr< api::ExecutionContext > | _executionContext |