Documentation
¶
Index ¶
- func ComputeTaprootScript(t testing.TB, taprootKey *btcec.PublicKey) []byte
- func PubToKeyDesc(p *btcec.PublicKey) keychain.KeyDescriptor
- func RandBool() bool
- func RandBytes(num int) []byte
- func RandInt[T constraints.Integer]() T
- func RandOp(t testing.TB) wire.OutPoint
- func RandPrivKey(t testing.TB) *btcec.PrivateKey
- func RandPubKey(t testing.TB) *btcec.PublicKey
- func SchnorrKey(t testing.TB, pubKey *btcec.PublicKey) *btcec.PublicKey
- func SchnorrPubKey(t testing.TB, privKey *btcec.PrivateKey) *btcec.PublicKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeTaprootScript ¶
func PubToKeyDesc ¶
func PubToKeyDesc(p *btcec.PublicKey) keychain.KeyDescriptor
func RandInt ¶
func RandInt[T constraints.Integer]() T
RandInt makes a random integer of the specified type.
func RandPrivKey ¶
func RandPubKey ¶
func SchnorrKey ¶
func SchnorrPubKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.