secp256k1_ec_pubkey_cmp

Compare two public keys using lexicographic (of compressed serialization) order

extern (C)
int
secp256k1_ec_pubkey_cmp

Return Value

Type: int

<0 if the first public key is less than the second >0 if the first public key is greater than the second 0 if the two public keys are equal Args: ctx: a secp256k1 context object. In: pubkey1: first public key to compare pubkey2: second public key to compare

Meta