lsm-tree-0.1.0.0: Log-structured merge-trees
Safe HaskellSafe-Inferred
LanguageGHC2021

Database.LSMTree.Extras.UTxO

Synopsis

Documentation

data UTxOKey Source #

A model of a UTxO key (34 bytes) after TxIn: a 256-bit hash, 16-bit identifier

Constructors

UTxOKey 

Fields

Instances

Instances details
Arbitrary UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Generic UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Associated Types

type Rep UTxOKey :: Type -> Type #

Methods

from :: UTxOKey -> Rep UTxOKey x #

to :: Rep UTxOKey x -> UTxOKey #

Show UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

NFData UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Methods

rnf :: UTxOKey -> () #

Eq UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Methods

(==) :: UTxOKey -> UTxOKey -> Bool #

(/=) :: UTxOKey -> UTxOKey -> Bool #

Ord UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

SerialiseKey UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Uniform UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Methods

uniformM :: StatefulGen g m => g -> m UTxOKey Source #

Unbox UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Vector Vector UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

MVector MVector UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

IsoUnbox UTxOKey (Word256, Word16) Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

type Rep UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

type Rep UTxOKey = D1 ('MetaData "UTxOKey" "Database.LSMTree.Extras.UTxO" "lsm-tree-0.1.0.0-inplace-extras" 'False) (C1 ('MetaCons "UTxOKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "txId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word256) :*: S1 ('MetaSel ('Just "txIx") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Word16)))
newtype Vector UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

newtype MVector s UTxOKey Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

data UTxOValue Source #

A model of a UTxO value (60 bytes)

Instances

Instances details
Arbitrary UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Generic UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Associated Types

type Rep UTxOValue :: Type -> Type #

Show UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

NFData UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Methods

rnf :: UTxOValue -> () #

Eq UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Ord UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

SerialiseValue UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Uniform UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Methods

uniformM :: StatefulGen g m => g -> m UTxOValue Source #

Unbox UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Vector Vector UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

MVector MVector UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

IsoUnbox UTxOValue (Word256, Word128, Word64, Word32) Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

type Rep UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

type Rep UTxOValue = D1 ('MetaData "UTxOValue" "Database.LSMTree.Extras.UTxO" "lsm-tree-0.1.0.0-inplace-extras" 'False) (C1 ('MetaCons "UTxOValue" 'PrefixI 'True) ((S1 ('MetaSel ('Just "utxoValue256") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word256) :*: S1 ('MetaSel ('Just "utxoValue128") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word128)) :*: (S1 ('MetaSel ('Just "utxoValue64") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "utxoValue32") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32))))
newtype Vector UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

newtype MVector s UTxOValue Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

newtype UTxOBlob Source #

A blob of arbitrary size

Constructors

UTxOBlob ByteString 

Instances

Instances details
Generic UTxOBlob Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Associated Types

type Rep UTxOBlob :: Type -> Type #

Methods

from :: UTxOBlob -> Rep UTxOBlob x #

to :: Rep UTxOBlob x -> UTxOBlob #

Show UTxOBlob Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

NFData UTxOBlob Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Methods

rnf :: UTxOBlob -> () #

Eq UTxOBlob Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

Ord UTxOBlob Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

SerialiseValue UTxOBlob Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

type Rep UTxOBlob Source # 
Instance details

Defined in Database.LSMTree.Extras.UTxO

type Rep UTxOBlob = D1 ('MetaData "UTxOBlob" "Database.LSMTree.Extras.UTxO" "lsm-tree-0.1.0.0-inplace-extras" 'True) (C1 ('MetaCons "UTxOBlob" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))