Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/chain.h
Show All 10 Lines | |||||
#include <cstddef> | #include <cstddef> | ||||
#include <cstdint> | #include <cstdint> | ||||
#include <functional> | #include <functional> | ||||
#include <memory> | #include <memory> | ||||
#include <optional> | #include <optional> | ||||
#include <string> | #include <string> | ||||
#include <vector> | #include <vector> | ||||
class ArgsManager; | |||||
class CBlock; | class CBlock; | ||||
class CChainParams; | class CChainParams; | ||||
class Coin; | class Coin; | ||||
class Config; | class Config; | ||||
class CRPCCommand; | class CRPCCommand; | ||||
class CScheduler; | class CScheduler; | ||||
class TxValidationState; | class TxValidationState; | ||||
▲ Show 20 Lines • Show All 329 Lines • ▼ Show 20 Lines | |||||
//! function will be undefined in builds where ENABLE_WALLET is false. | //! function will be undefined in builds where ENABLE_WALLET is false. | ||||
//! | //! | ||||
//! Currently, wallets are the only chain clients. But in the future, other | //! Currently, wallets are the only chain clients. But in the future, other | ||||
//! types of chain clients could be added, such as tools for monitoring, | //! types of chain clients could be added, such as tools for monitoring, | ||||
//! analysis, or fee estimation. These clients need to expose their own | //! analysis, or fee estimation. These clients need to expose their own | ||||
//! MakeXXXClient functions returning their implementations of the ChainClient | //! MakeXXXClient functions returning their implementations of the ChainClient | ||||
//! interface. | //! interface. | ||||
std::unique_ptr<ChainClient> | std::unique_ptr<ChainClient> | ||||
MakeWalletClient(Chain &chain, std::vector<std::string> wallet_filenames); | MakeWalletClient(Chain &chain, ArgsManager &args, | ||||
std::vector<std::string> wallet_filenames); | |||||
} // namespace interfaces | } // namespace interfaces | ||||
#endif // BITCOIN_INTERFACES_CHAIN_H | #endif // BITCOIN_INTERFACES_CHAIN_H |