haskoin-store-0.47.2: Storage and index for Bitcoin and Bitcoin Cash
Safe HaskellNone
LanguageHaskell2010

Haskoin.Store

Synopsis

Documentation

data StoreConfig Source #

Configuration for a Store.

Constructors

StoreConfig 

Fields

Cache

data CacheConfig Source #

Instances

Instances details
(MonadUnliftIO m, MonadLoggerIO m, StoreReadExtra m) => StoreReadExtra (CacheT m) Source # 
Instance details

Defined in Haskoin.Store.Cache

(MonadUnliftIO m, MonadLoggerIO m, StoreReadBase m) => StoreReadBase (CacheT m) Source # 
Instance details

Defined in Haskoin.Store.Cache

data CacheError Source #

Instances

Instances details
Eq CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

Show CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

Generic CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

Associated Types

type Rep CacheError :: Type -> Type #

Exception CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

NFData CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

Methods

rnf :: CacheError -> () #

type Rep CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

type Rep CacheError = D1 ('MetaData "CacheError" "Haskoin.Store.Cache" "haskoin-store-0.47.2-inplace" 'False) (C1 ('MetaCons "RedisError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Reply)) :+: (C1 ('MetaCons "RedisTxError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String)) :+: C1 ('MetaCons "LogicError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String))))

Store Reader

class Monad m => StoreReadBase m where Source #

Instances

Instances details
MonadIO m => StoreReadBase (DatabaseReaderT m) Source # 
Instance details

Defined in Haskoin.Store.Database.Reader

MonadIO m => StoreReadBase (WriterT m) Source # 
Instance details

Defined in Haskoin.Store.Database.Writer

(MonadUnliftIO m, MonadLoggerIO m, StoreReadBase m) => StoreReadBase (CacheT m) Source # 
Instance details

Defined in Haskoin.Store.Cache

class StoreReadBase m => StoreReadExtra m where Source #

Instances

Instances details
MonadIO m => StoreReadExtra (DatabaseReaderT m) Source # 
Instance details

Defined in Haskoin.Store.Database.Reader

(MonadUnliftIO m, MonadLoggerIO m, StoreReadExtra m) => StoreReadExtra (CacheT m) Source # 
Instance details

Defined in Haskoin.Store.Cache

data Limits Source #

Constructors

Limits 

Fields

Instances

Instances details
Eq Limits Source # 
Instance details

Defined in Haskoin.Store.Common

Methods

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

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

Show Limits Source # 
Instance details

Defined in Haskoin.Store.Common

Default Limits Source # 
Instance details

Defined in Haskoin.Store.Common

Methods

def :: Limits #

data Start Source #

Constructors

AtTx 

Fields

AtBlock 

Instances

Instances details
Eq Start Source # 
Instance details

Defined in Haskoin.Store.Common

Methods

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

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

Show Start Source # 
Instance details

Defined in Haskoin.Store.Common

Methods

showsPrec :: Int -> Start -> ShowS #

show :: Start -> String #

showList :: [Start] -> ShowS #

Useful Fuctions

Other Data

data PubExcept Source #

Instances

Instances details
Eq PubExcept Source # 
Instance details

Defined in Haskoin.Store.Common

Show PubExcept Source # 
Instance details

Defined in Haskoin.Store.Common

Generic PubExcept Source # 
Instance details

Defined in Haskoin.Store.Common

Associated Types

type Rep PubExcept :: Type -> Type #

Exception PubExcept Source # 
Instance details

Defined in Haskoin.Store.Common

Serialize PubExcept Source # 
Instance details

Defined in Haskoin.Store.Common

NFData PubExcept Source # 
Instance details

Defined in Haskoin.Store.Common

Methods

rnf :: PubExcept -> () #

type Rep PubExcept Source # 
Instance details

Defined in Haskoin.Store.Common

type Rep PubExcept = D1 ('MetaData "PubExcept" "Haskoin.Store.Common" "haskoin-store-0.47.2-inplace" 'False) ((C1 ('MetaCons "PubNoPeers" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PubReject" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RejectCode))) :+: (C1 ('MetaCons "PubTimeout" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PubPeerDisconnected" 'PrefixI 'False) (U1 :: Type -> Type)))