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

Haskoin.Store.BlockStore

Contents

Synopsis

Block Store

data BlockStore Source #

Block store process state.

data BlockStoreConfig Source #

Configuration for a block store.

Constructors

BlockStoreConfig 

Fields

withBlockStore :: (MonadUnliftIO m, MonadLoggerIO m) => BlockStoreConfig -> (BlockStore -> m a) -> m a Source #

Run block store process.

blockStoreTx :: MonadIO m => Peer -> Tx -> BlockStore -> m () Source #