Copyright | No rights reserved |
---|---|
License | MIT |
Maintainer | jprupp@protonmail.ch |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- arbitraryPrivateKey :: Gen PrivateKey
- arbitraryPublicKey :: Ctx -> Gen PublicKey
- arbitraryKeyPair :: Ctx -> Gen (PrivateKey, PublicKey)
- arbitraryFingerprint :: Gen Fingerprint
- arbitraryXPrvKey :: Gen XPrvKey
- arbitraryXPubKey :: Ctx -> Gen XPubKey
- arbitraryXKeyPair :: Ctx -> Gen (XPrvKey, XPubKey)
- genIndex :: Gen Word32
- arbitraryBip32PathIndex :: Gen Bip32PathIndex
- arbitraryHardPath :: Gen HardPath
- arbitrarySoftPath :: Gen SoftPath
- arbitraryDerivPath :: Gen DerivPath
- arbitraryParsedPath :: Gen ParsedPath
- arbitrarySignature :: Ctx -> Gen (Hash256, SecKey, Sig)
Documentation
arbitraryPrivateKey :: Gen PrivateKey Source #
Arbitrary private key with arbitrary compressed flag.
arbitraryKeyPair :: Ctx -> Gen (PrivateKey, PublicKey) Source #
Arbitrary keypair, both either compressed or not.
arbitraryXPrvKey :: Gen XPrvKey Source #
Arbitrary extended private key.
arbitraryXKeyPair :: Ctx -> Gen (XPrvKey, XPubKey) Source #
Arbitrary extended public key with its corresponding private key.
arbitraryBip32PathIndex :: Gen Bip32PathIndex Source #
Arbitrary BIP-32 path index. Can be hardened or not.
arbitraryHardPath :: Gen HardPath Source #
Arbitrary BIP-32 derivation path composed of only hardened derivations.
arbitrarySoftPath :: Gen SoftPath Source #
Arbitrary BIP-32 derivation path composed of only non-hardened derivations.
arbitraryDerivPath :: Gen DerivPath Source #
Arbitrary derivation path composed of hardened and non-hardened derivations.
arbitraryParsedPath :: Gen ParsedPath Source #
Arbitrary parsed derivation path. Can contain ParsedPrv
, ParsedPub
or
ParsedEmpty
elements.