In a library I’m reading, I can export a private key to a WIF, which takes a compressed boolean parameter. It reads:
“…False if you want a standard WIF export (the most standard option). True if you want the compressed form (Note that not all clients will accept this form)….”
I am aware that both of these private keys have the same bytes and will make the same signatures.
However, I am wondering if there is a convention for what kind of private keys are generated for legacy and (native) segwit addresses. Though information for nested segwit would also be nice to know.