Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,523 Lines • ▼ Show 20 Lines | public: | ||||
//! @param[in] memonly Whether to record this update to the database. Set to | //! @param[in] memonly Whether to record this update to the database. Set to | ||||
//! true for wallet loading, normally false when actually | //! true for wallet loading, normally false when actually | ||||
//! updating the wallet. | //! updating the wallet. | ||||
void SetActiveScriptPubKeyMan(uint256 id, OutputType type, bool internal, | void SetActiveScriptPubKeyMan(uint256 id, OutputType type, bool internal, | ||||
bool memonly = false); | bool memonly = false); | ||||
//! Create new DescriptorScriptPubKeyMans and add them to the wallet | //! Create new DescriptorScriptPubKeyMans and add them to the wallet | ||||
void SetupDescriptorScriptPubKeyMans(); | void SetupDescriptorScriptPubKeyMans(); | ||||
//! Return the DescriptorScriptPubKeyMan for a WalletDescriptor if it is | |||||
//! already in the wallet | |||||
DescriptorScriptPubKeyMan * | |||||
GetDescriptorScriptPubKeyMan(const WalletDescriptor &desc) const; | |||||
//! Add a descriptor to the wallet, return a ScriptPubKeyMan & associated | |||||
//! output type | |||||
ScriptPubKeyMan * | |||||
AddWalletDescriptor(WalletDescriptor &desc, | |||||
const FlatSigningProvider &signing_provider, | |||||
const std::string &label); | |||||
}; | }; | ||||
/** | /** | ||||
* Called periodically by the schedule thread. Prompts individual wallets to | * Called periodically by the schedule thread. Prompts individual wallets to | ||||
* resend their transactions. Actual rebroadcast schedule is managed by the | * resend their transactions. Actual rebroadcast schedule is managed by the | ||||
* wallets themselves. | * wallets themselves. | ||||
*/ | */ | ||||
void MaybeResendWalletTxs(); | void MaybeResendWalletTxs(); | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |