Right, i just looked. I think you just get 32 bytes from /dev/urandom, as it notes there you have a negligible chance of an invalid seckey. But also you can check there, right.
Mostly you just use bip32 master secrets ofc, in practice.
https://github.com/bitcoin-core/secp256k1/blob/f79f46c70386c693ff4e7aef0b9e7923ba284e56/include/secp256k1.h#L670
Please Login to reply.
No replies yet.