| 850 | } |
| 851 | |
| 852 | struct 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 | |
| 864 | enum class ScriptContext |
| 865 | { |
no outgoing calls
no test coverage detected