Get the KeyID of this public key (hash of its serialization)
| 162 | |
| 163 | //! Get the KeyID of this public key (hash of its serialization) |
| 164 | CKeyID GetID() const |
| 165 | { |
| 166 | return CKeyID(Hash160(Span{vch}.first(size()))); |
| 167 | } |
| 168 | |
| 169 | //! Get the 256-bit hash of this public key. |
| 170 | uint256 GetHash() const |
no test coverage detected