| 198 | }; |
| 199 | |
| 200 | std::vector<CPubKey> XOnlyPubKey::GetCPubKeys() const |
| 201 | { |
| 202 | std::vector<CPubKey> out; |
| 203 | unsigned char b[33] = {0x02}; |
| 204 | std::copy(m_keydata.begin(), m_keydata.end(), b + 1); |
| 205 | CPubKey fullpubkey; |
| 206 | fullpubkey.Set(b, b + 33); |
| 207 | out.push_back(fullpubkey); |
| 208 | b[0] = 0x03; |
| 209 | fullpubkey.Set(b, b + 33); |
| 210 | out.push_back(fullpubkey); |
| 211 | return out; |
| 212 | } |
| 213 | |
| 214 | std::vector<CKeyID> XOnlyPubKey::GetKeyIDs() const |
| 215 | { |
no test coverage detected