Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data BlockStore
- data BlockStoreConfig = BlockStoreConfig {}
- withBlockStore :: (MonadUnliftIO m, MonadLoggerIO m) => BlockStoreConfig -> (BlockStore -> m a) -> m a
- blockStorePeerConnect :: MonadIO m => Peer -> BlockStore -> m ()
- blockStorePeerConnectSTM :: Peer -> BlockStore -> STM ()
- blockStorePeerDisconnect :: MonadIO m => Peer -> BlockStore -> m ()
- blockStorePeerDisconnectSTM :: Peer -> BlockStore -> STM ()
- blockStoreHead :: MonadIO m => BlockNode -> BlockStore -> m ()
- blockStoreHeadSTM :: BlockNode -> BlockStore -> STM ()
- blockStoreBlock :: MonadIO m => Peer -> Block -> BlockStore -> m ()
- blockStoreBlockSTM :: Peer -> Block -> BlockStore -> STM ()
- blockStoreNotFound :: MonadIO m => Peer -> [BlockHash] -> BlockStore -> m ()
- blockStoreNotFoundSTM :: Peer -> [BlockHash] -> BlockStore -> STM ()
- blockStoreTx :: MonadIO m => Peer -> Tx -> BlockStore -> m ()
- blockStoreTxSTM :: Peer -> Tx -> BlockStore -> STM ()
- blockStoreTxHash :: MonadIO m => Peer -> [TxHash] -> BlockStore -> m ()
- blockStoreTxHashSTM :: Peer -> [TxHash] -> BlockStore -> STM ()
- blockStorePendingTxs :: MonadIO m => BlockStore -> m Int
- blockStorePendingTxsSTM :: BlockStore -> STM Int
Block Store
data BlockStore Source #
Block store process state.
data BlockStoreConfig Source #
Configuration for a block store.
BlockStoreConfig | |
|
withBlockStore :: (MonadUnliftIO m, MonadLoggerIO m) => BlockStoreConfig -> (BlockStore -> m a) -> m a Source #
Run block store process.
blockStorePeerConnect :: MonadIO m => Peer -> BlockStore -> m () Source #
blockStorePeerConnectSTM :: Peer -> BlockStore -> STM () Source #
blockStorePeerDisconnect :: MonadIO m => Peer -> BlockStore -> m () Source #
blockStorePeerDisconnectSTM :: Peer -> BlockStore -> STM () Source #
blockStoreHead :: MonadIO m => BlockNode -> BlockStore -> m () Source #
blockStoreHeadSTM :: BlockNode -> BlockStore -> STM () Source #
blockStoreBlock :: MonadIO m => Peer -> Block -> BlockStore -> m () Source #
blockStoreBlockSTM :: Peer -> Block -> BlockStore -> STM () Source #
blockStoreNotFound :: MonadIO m => Peer -> [BlockHash] -> BlockStore -> m () Source #
blockStoreNotFoundSTM :: Peer -> [BlockHash] -> BlockStore -> STM () Source #
blockStoreTx :: MonadIO m => Peer -> Tx -> BlockStore -> m () Source #
blockStoreTxSTM :: Peer -> Tx -> BlockStore -> STM () Source #
blockStoreTxHash :: MonadIO m => Peer -> [TxHash] -> BlockStore -> m () Source #
blockStoreTxHashSTM :: Peer -> [TxHash] -> BlockStore -> STM () Source #
blockStorePendingTxs :: MonadIO m => BlockStore -> m Int Source #