Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data BlockBasics = BlockBasics {}
- sqliteInsert :: Connection -> String -> [Event BlockBasics] -> IO ()
- sqliteInit :: Connection -> String -> IO ()
- lastCp :: Connection -> String -> IO (Maybe ChainPoint)
Block transaction count indexer
data BlockBasics #
Instances
Show BlockBasics # | |
Defined in Mafoc.Indexers.BlockBasics showsPrec :: Int -> BlockBasics -> ShowS # show :: BlockBasics -> String # showList :: [BlockBasics] -> ShowS # | |
Indexer BlockBasics # | |
Defined in Mafoc.Indexers.BlockBasics description :: Text # parseCli :: Parser BlockBasics # toEvents :: Runtime BlockBasics -> State BlockBasics -> BlockInMode CardanoMode -> (State BlockBasics, [Event BlockBasics]) # initialize :: BlockBasics -> Trace IO Text -> IO (State BlockBasics, LocalChainsyncRuntime, Runtime BlockBasics) # persistMany :: Runtime BlockBasics -> [Event BlockBasics] -> IO () # checkpoint :: Runtime BlockBasics -> State BlockBasics -> (SlotNo, Hash BlockHeader) -> IO () # | |
newtype Event BlockBasics # | |
Defined in Mafoc.Indexers.BlockBasics | |
data Runtime BlockBasics # | |
Defined in Mafoc.Indexers.BlockBasics | |
data State BlockBasics # | |
Defined in Mafoc.Indexers.BlockBasics |
SQLite
sqliteInsert :: Connection -> String -> [Event BlockBasics] -> IO () #
sqliteInit :: Connection -> String -> IO () #