Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/wallet.h
Show First 20 Lines • Show All 339 Lines • ▼ Show 20 Lines | struct WalletTxOut { | ||||
CTxOut txout; | CTxOut txout; | ||||
int64_t time; | int64_t time; | ||||
int depth_in_main_chain = -1; | int depth_in_main_chain = -1; | ||||
bool is_spent = false; | bool is_spent = false; | ||||
}; | }; | ||||
//! Return implementation of Wallet interface. This function will be undefined | //! Return implementation of Wallet interface. This function will be undefined | ||||
//! in builds where ENABLE_WALLET is false. | //! in builds where ENABLE_WALLET is false. | ||||
std::unique_ptr<Wallet> MakeWallet(CWallet &wallet); | std::unique_ptr<Wallet> MakeWallet(const std::shared_ptr<CWallet> &wallet); | ||||
} // namespace interfaces | } // namespace interfaces | ||||
#endif // BITCOIN_INTERFACES_WALLET_H | #endif // BITCOIN_INTERFACES_WALLET_H |