| 205 | } |
| 206 | |
| 207 | bool CPubKey::IsFullyValid() const { |
| 208 | if (!IsValid()) |
| 209 | return false; |
| 210 | secp256k1_pubkey pubkey; |
| 211 | return secp256k1_ec_pubkey_parse(secp256k1_context_verify, &pubkey, &(*this)[0], size()); |
| 212 | } |
| 213 | |
| 214 | bool CPubKey::Decompress() { |
| 215 | if (!IsValid()) |
no test coverage detected