| 27 | const std::string EXAMPLE_ADDRESS[2] = {"bc1q09vm5lfy0j5reeulh4x5752q25uqqvz34hufdl", "bc1q02ad21edsxd23d32dfgqqsz4vv4nmtfzuklhy3"}; |
| 28 | |
| 29 | std::string GetAllOutputTypes() |
| 30 | { |
| 31 | std::vector<std::string> ret; |
| 32 | using U = std::underlying_type<TxoutType>::type; |
| 33 | for (U i = (U)TxoutType::NONSTANDARD; i <= (U)TxoutType::WITNESS_UNKNOWN; ++i) { |
| 34 | ret.emplace_back(GetTxnOutputType(static_cast<TxoutType>(i))); |
| 35 | } |
| 36 | return Join(ret, ", "); |
| 37 | } |
| 38 | |
| 39 | void RPCTypeCheck(const UniValue& params, |
| 40 | const std::list<UniValueType>& typesExpected, |
no test coverage detected