cardano-wallet-core-2022.7.1: The Wallet Backend for a Cardano node.
Copyright © 2018-2020 IOHK
License Apache-2.0
Safe Haskell None
Language Haskell2010

Cardano.Pool.DB.MVar

Description

Dummy implementation of the database-layer, using MVar . This may be good for testing to compare with an implementation on a real data store, or to use when compiling the wallet for targets which don't have SQLite.

Synopsis

Documentation

newDBLayer :: TimeInterpreter Identity -> IO ( DBLayer IO ) Source #

Instantiate a new in-memory "database" layer that simply stores data in a local MVar. Data vanishes if the software is shut down.