| 44 | const std::string EXAMPLE_ADDRESS[2] = {"bc1q09vm5lfy0j5reeulh4x5752q25uqqvz34hufdl", "bc1q02ad21edsxd23d32dfgqqsz4vv4nmtfzuklhy3"}; |
| 45 | |
| 46 | std::string GetAllOutputTypes() |
| 47 | { |
| 48 | std::vector<std::string> ret; |
| 49 | using U = std::underlying_type_t<TxoutType>; |
| 50 | for (U i = (U)TxoutType::NONSTANDARD; i <= (U)TxoutType::WITNESS_UNKNOWN; ++i) { |
| 51 | ret.emplace_back(GetTxnOutputType(static_cast<TxoutType>(i))); |
| 52 | } |
| 53 | return Join(ret, ", "); |
| 54 | } |
| 55 | |
| 56 | void RPCTypeCheckObj(const UniValue& o, |
| 57 | const std::map<std::string, UniValueType>& typesExpected, |
no test coverage detected