Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
createUpdateConfirmedSql :: MonadIO m => BlkHeight -> BlkHash -> ReaderT SqlBackend m (Entity Block) Source #
getLatestSql :: MonadIO m => ReaderT SqlBackend m (Maybe (Entity Block)) Source #
getBlockByHeightSql :: MonadIO m => BlkHeight -> ReaderT SqlBackend m [Entity Block] Source #
getBlocksHigherSql :: MonadIO m => BlkHeight -> ReaderT SqlBackend m [Entity Block] Source #
updateOrphanHigherSql :: MonadIO m => BlkHeight -> ReaderT SqlBackend m () Source #
withLockedRowSql :: MonadIO m => BlockId -> (BlkStatus -> Bool) -> (Block -> ReaderT SqlBackend m a) -> ReaderT SqlBackend m (Either (Entity Block) a) Source #