Add new types for Spending Keys and Receivers
This commit is contained in:
parent
e371fcdb72
commit
f1174751fc
1 changed files with 12 additions and 0 deletions
|
@ -45,6 +45,18 @@ type Seed = C.ByteString
|
||||||
-- | A mnemonic phrase used to derive seeds
|
-- | A mnemonic phrase used to derive seeds
|
||||||
type Phrase = BS.ByteString
|
type Phrase = BS.ByteString
|
||||||
|
|
||||||
|
-- | A spending key for Sapling
|
||||||
|
type SaplingSpendingKey = BS.ByteString
|
||||||
|
|
||||||
|
-- | A spending key for Orchard
|
||||||
|
type OrchardSpendingKey = BS.ByteString
|
||||||
|
|
||||||
|
-- | A Sapling receiver
|
||||||
|
type SaplingReceiver = BS.ByteString
|
||||||
|
|
||||||
|
-- | An Orchard receiver
|
||||||
|
type OrchardReceiver = BS.ByteString
|
||||||
|
|
||||||
-- | Type to represent data after Bech32 decoding
|
-- | Type to represent data after Bech32 decoding
|
||||||
data RawData = RawData
|
data RawData = RawData
|
||||||
{ hrp :: !BS.ByteString -- ^ Human-readable part of the Bech32 encoding
|
{ hrp :: !BS.ByteString -- ^ Human-readable part of the Bech32 encoding
|
||||||
|
|
Loading…
Reference in a new issue