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