ledger-core
Classes | Public Member Functions | Protected Types | Protected Member Functions | List of all members
ledger::core::BitcoinLikeUtxoPicker Class Referenceabstract
+ Inheritance diagram for ledger::core::BitcoinLikeUtxoPicker:
+ Collaboration diagram for ledger::core::BitcoinLikeUtxoPicker:

Classes

struct  Buddy
 

Public Member Functions

 BitcoinLikeUtxoPicker (const std::shared_ptr< api::ExecutionContext > &context, const api::Currency &currency)
 
virtual BitcoinLikeTransactionBuildFunction getBuildFunction (const BitcoinLikeGetUtxoFunction &getUtxo, const BitcoinLikeGetTxFunction &getTransaction, const std::shared_ptr< BitcoinLikeBlockchainExplorer > &explorer, const std::shared_ptr< BitcoinLikeKeychain > &keychain, const uint64_t currentBlockHeight, const std::shared_ptr< spdlog::logger > &logger, bool partial)
 
const api::CurrencygetCurrency () 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
 

Protected Types

using UTXODescriptor = std::tuple< std::string, int32_t, uint32_t >
 
using UTXODescriptorList = std::vector< UTXODescriptor >
 

Protected Member Functions

virtual Future< UnitfillInputs (const std::shared_ptr< Buddy > &buddy)
 
virtual Future< UTXODescriptorList > filterInputs (const std::shared_ptr< Buddy > &buddy)=0
 
virtual Future< UnitfillOutputs (const std::shared_ptr< Buddy > &buddy)
 
virtual Future< UnitfillTransactionInfo (const std::shared_ptr< Buddy > &buddy)
 

Additional Inherited Members

- Protected Attributes inherited from ledger::core::DedicatedContext
std::shared_ptr< api::ExecutionContext_executionContext
 

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