|
ledger-core
|
Inheritance diagram for ledger::core::RippleLikeBlockchainExplorerAccountSynchronizer:
Collaboration diagram for ledger::core::RippleLikeBlockchainExplorerAccountSynchronizer:Public Member Functions | |
| RippleLikeBlockchainExplorerAccountSynchronizer (const std::shared_ptr< WalletPool > &pool, const std::shared_ptr< RippleLikeBlockchainExplorer > &explorer) | |
| void | updateCurrentBlock (std::shared_ptr< AbstractBlockchainExplorerAccountSynchronizer::SynchronizationBuddy > &buddy, const std::shared_ptr< api::ExecutionContext > &context) override |
| void | updateTransactionsToDrop (soci::session &sql, std::shared_ptr< SynchronizationBuddy > &buddy, const std::string &accountUid) override |
| std::shared_ptr< ProgressNotifier< Unit > > | synchronize (const std::shared_ptr< RippleLikeAccount > &account) override |
| void | reset (const std::shared_ptr< RippleLikeAccount > &account, const std::chrono::system_clock::time_point &toDate) override |
| bool | isSynchronizing () const override |
Public Member Functions inherited from ledger::core::AbstractBlockchainExplorerAccountSynchronizer< Account, AddressType, Keychain, Explorer > | |
| std::shared_ptr< ProgressNotifier< Unit > > | synchronizeAccount (const std::shared_ptr< Account > &account) |
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< Unit > | run (std::function< void()> f) |
| std::shared_ptr< api::ExecutionContext > | getContext () const |
Additional Inherited Members | |
Protected Member Functions inherited from ledger::core::AbstractBlockchainExplorerAccountSynchronizer< Account, AddressType, Keychain, Explorer > | |
| Future< Unit > | performSynchronization (const std::shared_ptr< Account > &account) |
| Future< Unit > | synchronizeBatches (uint32_t currentBatchIndex, std::shared_ptr< SynchronizationBuddy > buddy) |
| Future< bool > | synchronizeBatch (uint32_t currentBatchIndex, std::shared_ptr< SynchronizationBuddy > buddy, bool hadTransactions=false) |
| virtual void | updateCurrentBlock (std::shared_ptr< SynchronizationBuddy > &buddy, const std::shared_ptr< api::ExecutionContext > &context)=0 |
Static Protected Member Functions inherited from ledger::core::AbstractBlockchainExplorerAccountSynchronizer< Account, AddressType, Keychain, Explorer > | |
| static void | initializeSavedState (Option< BlockchainExplorerAccountSynchronizationSavedState > &savedState, int32_t halfBatchSize) |
Protected Attributes inherited from ledger::core::AbstractBlockchainExplorerAccountSynchronizer< Account, AddressType, Keychain, Explorer > | |
| std::shared_ptr< Explorer > | _explorer |
| std::shared_ptr< ProgressNotifier< Unit > > | _notifier |
| std::mutex | _lock |
| std::shared_ptr< Account > | _currentAccount |
Protected Attributes inherited from ledger::core::DedicatedContext | |
| std::shared_ptr< api::ExecutionContext > | _executionContext |
1.8.13