| 720 | size_t GetSize() const override { return 32; } |
| 721 | |
| 722 | std::string ToString(StringType type=StringType::PUBLIC) const override |
| 723 | { |
| 724 | std::string out = "musig("; |
| 725 | for (size_t i = 0; i < m_participants.size(); ++i) { |
| 726 | const auto& pubkey = m_participants.at(i); |
| 727 | if (i) out += ","; |
| 728 | out += pubkey->ToString(type); |
| 729 | } |
| 730 | out += ")"; |
| 731 | out += FormatHDKeypath(m_path); |
| 732 | if (IsRangedDerivation()) { |
| 733 | out += "/*"; |
| 734 | } |
| 735 | return out; |
| 736 | } |
| 737 | bool ToPrivateString(const SigningProvider& arg, std::string& out) const override |
| 738 | { |
| 739 | bool any_privkeys = false; |
nothing calls this directly
no test coverage detected