6 #ifndef BITCOIN_OUTPUTTYPE_H 7 #define BITCOIN_OUTPUTTYPE_H 48 #endif // BITCOIN_OUTPUTTYPE_H
std::vector< CTxDestination > GetAllDestinationsForKey(const CPubKey &key)
Get all destinations (potentially) supported by the wallet for the given key.
bool ParseOutputType(const std::string &str, OutputType &output_type)
CTxDestination AddAndGetDestinationForScript(CKeyStore &keystore, const CScript &script, OutputType)
Get a destination of the requested type (if possible) to the specified script.
CTxDestination GetDestinationForKey(const CPubKey &key, OutputType)
Get a destination of the requested type (if possible) to the specified key.
boost::variant< CNoDestination, CKeyID, CScriptID, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessUnknown > CTxDestination
A txout script template with a specific destination.
An encapsulated public key.
Special output type for change outputs only.
const std::string & FormatOutputType(OutputType type)
Serialized script, used inside transaction inputs and outputs.
A virtual base class for key stores.