Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/scriptpubkeyman.h
Show First 20 Lines • Show All 180 Lines • ▼ Show 20 Lines | virtual bool GetReservedDestination(const OutputType type, bool internal, | ||||
CTxDestination &address, int64_t &index, | CTxDestination &address, int64_t &index, | ||||
CKeyPool &keypool) { | CKeyPool &keypool) { | ||||
return false; | return false; | ||||
} | } | ||||
virtual void KeepDestination(int64_t index, const OutputType &type) {} | virtual void KeepDestination(int64_t index, const OutputType &type) {} | ||||
virtual void ReturnDestination(int64_t index, bool internal, | virtual void ReturnDestination(int64_t index, bool internal, | ||||
const CTxDestination &addr) {} | const CTxDestination &addr) {} | ||||
/** | |||||
* Fills internal address pool. Use within ScriptPubKeyMan implementations | |||||
* should be used sparingly and only when something from the address pool is | |||||
* removed, excluding GetNewDestination and GetReservedDestination. External | |||||
* wallet code is primarily responsible for topping up prior to fetching new | |||||
* addresses | |||||
*/ | |||||
virtual bool TopUp(unsigned int size = 0) { return false; } | virtual bool TopUp(unsigned int size = 0) { return false; } | ||||
//! Mark unused addresses as being used | //! Mark unused addresses as being used | ||||
virtual void MarkUnusedAddresses(const CScript &script) {} | virtual void MarkUnusedAddresses(const CScript &script) {} | ||||
/** | /** | ||||
* Sets up the key generation stuff, i.e. generates new HD seeds and sets | * Sets up the key generation stuff, i.e. generates new HD seeds and sets | ||||
* them as active. Returns false if already setup or setup fails, true if | * them as active. Returns false if already setup or setup fails, true if | ||||
▲ Show 20 Lines • Show All 310 Lines • Show Last 20 Lines |