(self, secret, compressed=True)
| 334 | |
| 335 | """ |
| 336 | def __init__(self, secret, compressed=True): |
| 337 | self._cec_key = bitcoin.core.key.CECKey() |
| 338 | self._cec_key.set_secretbytes(secret) |
| 339 | self._cec_key.set_compressed(compressed) |
| 340 | |
| 341 | self.pub = bitcoin.core.key.CPubKey(self._cec_key.get_pubkey(), self._cec_key) |
| 342 | |
| 343 | @property |
| 344 | def is_compressed(self): |
no test coverage detected