MCPcopy Create free account
hub / github.com/ElementsProject/elements / ImportData

Class ImportData

src/wallet/rpc/backup.cpp:852–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

850}
851
852struct ImportData
853{
854 // Input data
855 std::unique_ptr<CScript> redeemscript; //!< Provided redeemScript; will be moved to `import_scripts` if relevant.
856 std::unique_ptr<CScript> witnessscript; //!< Provided witnessScript; will be moved to `import_scripts` if relevant.
857
858 // Output data
859 std::set<CScript> import_scripts;
860 std::map<CKeyID, bool> used_keys; //!< Import these private keys if available (the value indicates whether if the key is required for solvability)
861 std::map<CKeyID, std::pair<CPubKey, KeyOriginInfo>> key_origins;
862};
863
864enum class ScriptContext
865{

Callers 1

ProcessImportLegacyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected