| 259 | } |
| 260 | |
| 261 | bool ToPrivateString(const SigningProvider& arg, std::string& out) const override |
| 262 | { |
| 263 | std::string ret = strprintf("multi(%i", m_threshold); |
| 264 | for (const auto& p : m_providers) { |
| 265 | std::string sub; |
| 266 | if (!p->ToPrivateString(arg, sub)) return false; |
| 267 | ret += "," + std::move(sub); |
| 268 | } |
| 269 | out = std::move(ret) + ")"; |
| 270 | return true; |
| 271 | } |
| 272 | |
| 273 | bool Expand(int pos, const SigningProvider& arg, std::vector<CScript>& output_scripts, FlatSigningProvider& out) const override |
| 274 | { |
nothing calls this directly
no test coverage detected