privkey_to_pubkey

function privkey_to_pubkey(privkey: byte_array, compressed: boolean): byte_array

Converts a privkey to a pubkey

Since

0.10.6

Parameters

privkey

The private key

compressed

Whether or not the pubkey should be compressed. Defaults to false (uncompressed).