| 410 | return ret; |
| 411 | } |
| 412 | bool ToPrivateString(const SigningProvider& arg, std::string& out) const override |
| 413 | { |
| 414 | CExtKey key; |
| 415 | if (!GetExtKey(arg, key)) return false; |
| 416 | out = EncodeExtKey(key) + FormatHDKeypath(m_path); |
| 417 | if (IsRange()) { |
| 418 | out += "/*"; |
| 419 | if (m_derive == DeriveType::HARDENED) out += '\''; |
| 420 | } |
| 421 | return true; |
| 422 | } |
| 423 | bool ToNormalizedString(const SigningProvider& arg, std::string& out, const DescriptorCache* cache) const override |
| 424 | { |
| 425 | // For hardened derivation type, just return the typical string, nothing to normalize |
nothing calls this directly
no test coverage detected