plutus-chain-index-core-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.ChainIndex.Types

Description

Misc. types used in this package

Synopsis

Documentation

newtype BlockId Source #

Block identifier (usually a hash)

Constructors

BlockId 

Instances

Instances details
Eq BlockId 
Instance details

Defined in Ledger.Blockchain

Ord BlockId 
Instance details

Defined in Ledger.Blockchain

Show BlockId 
Instance details

Defined in Ledger.Blockchain

Generic BlockId 
Instance details

Defined in Ledger.Blockchain

Associated Types

type Rep BlockId :: Type -> Type Source #

ToJSON BlockId 
Instance details

Defined in Ledger.Blockchain

FromJSON BlockId 
Instance details

Defined in Ledger.Blockchain

ToSchema BlockId 
Instance details

Defined in Ledger.Blockchain

Pretty BlockId 
Instance details

Defined in Ledger.Blockchain

Methods

pretty :: BlockId -> Doc ann Source #

prettyList :: [BlockId] -> Doc ann Source #

HasDbType BlockId Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType BlockId Source #

type Rep BlockId 
Instance details

Defined in Ledger.Blockchain

type Rep BlockId = D1 ('MetaData "BlockId" "Ledger.Blockchain" "plutus-ledger-0.1.0.0-BAhdPNOPbMF52ZvZJtxBkz" 'True) (C1 ('MetaCons "BlockId" 'PrefixI 'True) (S1 ('MetaSel ('Just "getBlockId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))
type DbType BlockId Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

blockId :: Block -> BlockId Source #

Compute a hash of the block's contents.

data Tip Source #

The tip of the chain index.

Constructors

TipAtGenesis 
Tip 

Fields

Instances

Instances details
Eq Tip Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Methods

(==) :: Tip -> Tip -> Bool Source #

(/=) :: Tip -> Tip -> Bool Source #

Ord Tip Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Methods

compare :: Tip -> Tip -> Ordering Source #

(<) :: Tip -> Tip -> Bool Source #

(<=) :: Tip -> Tip -> Bool Source #

(>) :: Tip -> Tip -> Bool Source #

(>=) :: Tip -> Tip -> Bool Source #

max :: Tip -> Tip -> Tip Source #

min :: Tip -> Tip -> Tip Source #

Show Tip Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic Tip Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep Tip :: Type -> Type Source #

Methods

from :: Tip -> Rep Tip x Source #

to :: Rep Tip x -> Tip Source #

Semigroup Tip Source #

This mirrors the previously defined Tip which used the Last monoid definition.

Instance details

Defined in Plutus.ChainIndex.Types

Methods

(<>) :: Tip -> Tip -> Tip Source #

sconcat :: NonEmpty Tip -> Tip Source #

stimes :: Integral b => b -> Tip -> Tip Source #

Monoid Tip Source # 
Instance details

Defined in Plutus.ChainIndex.Types

ToJSON Tip Source # 
Instance details

Defined in Plutus.ChainIndex.Types

FromJSON Tip Source # 
Instance details

Defined in Plutus.ChainIndex.Types

ToSchema Tip Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Pretty Tip Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Methods

pretty :: Tip -> Doc ann Source #

prettyList :: [Tip] -> Doc ann Source #

HasDbType Tip Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType Tip Source #

type Rep Tip Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep Tip = D1 ('MetaData "Tip" "Plutus.ChainIndex.Types" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "TipAtGenesis" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Tip" 'PrefixI 'True) (S1 ('MetaSel ('Just "tipSlot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Slot) :*: (S1 ('MetaSel ('Just "tipBlockId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BlockId) :*: S1 ('MetaSel ('Just "tipBlockNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BlockNumber))))
type DbType Tip Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

data Point Source #

When performing a rollback the chain sync protocol does not provide a block number where to resume from.

Constructors

PointAtGenesis 
Point 

Fields

Instances

Instances details
Eq Point Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Methods

(==) :: Point -> Point -> Bool Source #

(/=) :: Point -> Point -> Bool Source #

Ord Point Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show Point Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic Point Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep Point :: Type -> Type Source #

Methods

from :: Point -> Rep Point x Source #

to :: Rep Point x -> Point Source #

Semigroup Point Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Monoid Point Source # 
Instance details

Defined in Plutus.ChainIndex.Types

ToJSON Point Source # 
Instance details

Defined in Plutus.ChainIndex.Types

FromJSON Point Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Pretty Point Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Methods

pretty :: Point -> Doc ann Source #

prettyList :: [Point] -> Doc ann Source #

type Rep Point Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep Point = D1 ('MetaData "Point" "Plutus.ChainIndex.Types" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "PointAtGenesis" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Point" 'PrefixI 'True) (S1 ('MetaSel ('Just "pointSlot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Slot) :*: S1 ('MetaSel ('Just "pointBlockId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BlockId)))

data TxValidity Source #

Validity of a transaction that has been added to the ledger

Instances

Instances details
Eq TxValidity Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Ord TxValidity Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show TxValidity Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic TxValidity Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep TxValidity :: Type -> Type Source #

ToJSON TxValidity Source # 
Instance details

Defined in Plutus.ChainIndex.Types

FromJSON TxValidity Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Pretty TxValidity Source # 
Instance details

Defined in Plutus.ChainIndex.Types

MeetSemiLattice TxValidity Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxValidity Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxValidity = D1 ('MetaData "TxValidity" "Plutus.ChainIndex.Types" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "TxValid" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TxInvalid" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnknownValidity" 'PrefixI 'False) (U1 :: Type -> Type)))

type TxStatus = RollbackState () Source #

The status of a Cardano transaction

data RollbackState a Source #

The rollback state of a Cardano transaction

Constructors

Unknown

The transaction is not on the chain. That's all we can say.

TentativelyConfirmed Depth TxValidity a

The transaction is on the chain, n blocks deep. It can still be rolled back.

Committed TxValidity a

The transaction is on the chain. It cannot be rolled back anymore.

Instances

Instances details
Functor RollbackState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Methods

fmap :: (a -> b) -> RollbackState a -> RollbackState b Source #

(<$) :: a -> RollbackState b -> RollbackState a Source #

Eq a => Eq (RollbackState a) Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Ord a => Ord (RollbackState a) Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show a => Show (RollbackState a) Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic (RollbackState a) Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep (RollbackState a) :: Type -> Type Source #

ToJSON a => ToJSON (RollbackState a) Source # 
Instance details

Defined in Plutus.ChainIndex.Types

FromJSON a => FromJSON (RollbackState a) Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show a => Pretty (RollbackState a) Source # 
Instance details

Defined in Plutus.ChainIndex.Types

MeetSemiLattice a => MeetSemiLattice (RollbackState a) Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep (RollbackState a) Source # 
Instance details

Defined in Plutus.ChainIndex.Types

data TxOutState Source #

Constructors

Spent TxId 
Unspent 

Instances

Instances details
Eq TxOutState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Ord TxOutState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show TxOutState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic TxOutState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep TxOutState :: Type -> Type Source #

ToJSON TxOutState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

FromJSON TxOutState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Pretty TxOutState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxOutState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxOutState = D1 ('MetaData "TxOutState" "Plutus.ChainIndex.Types" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "Spent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TxId)) :+: C1 ('MetaCons "Unspent" 'PrefixI 'False) (U1 :: Type -> Type))

liftTxOutStatus :: TxOutStatus -> TxStatus Source #

Converts a TxOutStatus to a TxStatus. Possible since a transaction output belongs to a transaction.

Note, however, that we can't convert a TxStatus to a TxOutStatus.

txOutStatusTxOutState :: TxOutStatus -> Maybe TxOutState Source #

Maybe extract the TxOutState (Spent or Unspent) of a TxOutStatus.

newtype BlockNumber Source #

Constructors

BlockNumber 

Instances

Instances details
Enum BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Eq BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Integral BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Num BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Ord BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Real BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep BlockNumber :: Type -> Type Source #

ToJSON BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

FromJSON BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

ToSchema BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Pretty BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

HasDbType BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

Associated Types

type DbType BlockNumber Source #

type Rep BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep BlockNumber = D1 ('MetaData "BlockNumber" "Plutus.ChainIndex.Types" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'True) (C1 ('MetaCons "BlockNumber" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBlockNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
type DbType BlockNumber Source # 
Instance details

Defined in Plutus.ChainIndex.DbSchema

newtype Depth Source #

How many blocks deep the tx is on the chain

Constructors

Depth 

Fields

Instances

Instances details
Enum Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Eq Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Methods

(==) :: Depth -> Depth -> Bool Source #

(/=) :: Depth -> Depth -> Bool Source #

Integral Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Num Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Ord Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Real Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep Depth :: Type -> Type Source #

Methods

from :: Depth -> Rep Depth x Source #

to :: Rep Depth x -> Depth Source #

ToJSON Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

FromJSON Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Pretty Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Methods

pretty :: Depth -> Doc ann Source #

prettyList :: [Depth] -> Doc ann Source #

MeetSemiLattice Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Methods

(/\) :: Depth -> Depth -> Depth Source #

type Rep Depth Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep Depth = D1 ('MetaData "Depth" "Plutus.ChainIndex.Types" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'True) (C1 ('MetaCons "Depth" 'PrefixI 'True) (S1 ('MetaSel ('Just "unDepth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data Diagnostics Source #

Instances

Instances details
Eq Diagnostics Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Ord Diagnostics Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show Diagnostics Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic Diagnostics Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep Diagnostics :: Type -> Type Source #

ToJSON Diagnostics Source # 
Instance details

Defined in Plutus.ChainIndex.Types

FromJSON Diagnostics Source # 
Instance details

Defined in Plutus.ChainIndex.Types

ToSchema Diagnostics Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep Diagnostics Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep Diagnostics = D1 ('MetaData "Diagnostics" "Plutus.ChainIndex.Types" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "Diagnostics" 'PrefixI 'True) ((S1 ('MetaSel ('Just "numScripts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "numAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "numAssetClasses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "numUnspentOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "numUnmatchedInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

data TxConfirmedState Source #

Instances

Instances details
Eq TxConfirmedState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show TxConfirmedState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic TxConfirmedState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep TxConfirmedState :: Type -> Type Source #

Semigroup TxConfirmedState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Monoid TxConfirmedState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxConfirmedState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxConfirmedState = D1 ('MetaData "TxConfirmedState" "Plutus.ChainIndex.Types" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "TxConfirmedState" 'PrefixI 'True) (S1 ('MetaSel ('Just "timesConfirmed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sum Int)) :*: (S1 ('MetaSel ('Just "blockAdded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Last BlockNumber)) :*: S1 ('MetaSel ('Just "validity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Last TxValidity)))))

data TxStatusFailure Source #

Datatype returned when we couldn't get the state of a tx or a tx output.

Constructors

TxIdStateInvalid BlockNumber TxId TxIdState

We couldn't return the status because the TxIdState was in a ... state ... that we didn't know how to decode in transactionStatus.

TxOutBalanceStateInvalid BlockNumber TxOutRef TxOutBalance

We couldn't return the status because the TxOutBalance does not contain the target tx output.

InvalidRollbackAttempt BlockNumber TxId TxIdState 

data TxIdState Source #

Constructors

TxIdState 

Fields

Instances

Instances details
Eq TxIdState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show TxIdState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic TxIdState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep TxIdState :: Type -> Type Source #

Semigroup TxIdState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Monoid TxIdState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxIdState Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxIdState = D1 ('MetaData "TxIdState" "Plutus.ChainIndex.Types" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "TxIdState" 'PrefixI 'True) (S1 ('MetaSel ('Just "txnsConfirmed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map TxId TxConfirmedState)) :*: S1 ('MetaSel ('Just "txnsDeleted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map TxId (Sum Int)))))

data TxUtxoBalance Source #

The effect of a transaction (or a number of them) on the utxo set.

Constructors

TxUtxoBalance 

Fields

Instances

Instances details
Eq TxUtxoBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show TxUtxoBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic TxUtxoBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep TxUtxoBalance :: Type -> Type Source #

Semigroup TxUtxoBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Monoid TxUtxoBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

ToJSON TxUtxoBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

FromJSON TxUtxoBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Serialise TxUtxoBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxUtxoBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxUtxoBalance = D1 ('MetaData "TxUtxoBalance" "Plutus.ChainIndex.Types" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "TxUtxoBalance" 'PrefixI 'True) (S1 ('MetaSel ('Just "_tubUnspentOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Set TxOutRef)) :*: S1 ('MetaSel ('Just "_tubUnmatchedSpentInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Set TxOutRef))))

data TxOutBalance Source #

The effect of a transaction (or a number of them) on the tx output set.

Constructors

TxOutBalance 

Fields

Instances

Instances details
Eq TxOutBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Show TxOutBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Generic TxOutBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Associated Types

type Rep TxOutBalance :: Type -> Type Source #

Semigroup TxOutBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

Monoid TxOutBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

ToJSON TxOutBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

FromJSON TxOutBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxOutBalance Source # 
Instance details

Defined in Plutus.ChainIndex.Types

type Rep TxOutBalance = D1 ('MetaData "TxOutBalance" "Plutus.ChainIndex.Types" "plutus-chain-index-core-0.1.0.0-EG2fOrGca5623jCDzCiAyI" 'False) (C1 ('MetaCons "TxOutBalance" 'PrefixI 'True) (S1 ('MetaSel ('Just "_tobUnspentOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Set TxOutRef)) :*: S1 ('MetaSel ('Just "_tobSpentOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map TxOutRef TxId))))

data ChainSyncBlock Source #

A block of transactions to be synced.

Constructors

Block 

Instances

Instances details
Show ChainSyncBlock Source # 
Instance details

Defined in Plutus.ChainIndex.Types

newtype TxProcessOption Source #

User-customizable options to process a transaction. See #73 for more motivations.

Constructors

TxProcessOption 

Fields

  • tpoStoreTx :: Bool

    Should the chain index store this transaction or not. If not, only handle the UTXOs. This, for example, allows applications to skip unwanted pre-Alonzo transactions.