6 #ifndef BITCOIN_OUTPUTTYPE_H
7 #define BITCOIN_OUTPUTTYPE_H
44 #endif // BITCOIN_OUTPUTTYPE_H
const std::array< OutputType, 3 > OUTPUT_TYPES
std::vector< CTxDestination > GetAllDestinationsForKey(const CPubKey &key)
Get all destinations (potentially) supported by the wallet for the given key.
CTxDestination GetDestinationForKey(const CPubKey &key, OutputType)
Get a destination of the requested type (if possible) to the specified key.
NODISCARD bool ParseOutputType(const std::string &str, OutputType &output_type)
An encapsulated public key.
Fillable signing provider that keeps keys in an address->secret map.
CTxDestination AddAndGetDestinationForScript(FillableSigningProvider &keystore, const CScript &script, OutputType)
Get a destination of the requested type (if possible) to the specified script.
const std::string & FormatOutputType(OutputType type)
Serialized script, used inside transaction inputs and outputs.
boost::variant< CNoDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessUnknown > CTxDestination
A txout script template with a specific destination.