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.Model

Description

An implementation of the production pool database using only pure functions.

These functions and types model the behaviour of the SQLite database backend, and are used for QuickCheck state machine testing, and the MVar database backend.

Synopsis

Model Types

data PoolDatabase Source #

Constructors

PoolDatabase

Fields

emptyPoolDatabase :: PoolDatabase Source #

Produces an empty model pool production database.

Model Operation Types

Model pool database functions