Copyright | © 2022 IOHK |
---|---|
License | Apache-2.0 |
Safe Haskell | None |
Language | Haskell2010 |
Implementation of a store for
TxWalletsHistory
Synopsis
Documentation
mkStoreTxWalletsHistory :: Store ( SqlPersistT IO ) DeltaTxWalletsHistory Source #
Store for
DeltaTxWalletsHistory
.
data DeltaTxWalletsHistory Source #
Verbs to change transactions store and wallet-indexed meta stores.
ExpandTxWalletsHistory WalletId [( Tx , TxMeta )] |
Add transactions and meta for a wallet. |
ChangeTxMetaWalletsHistory WalletId ManipulateTxMetaHistory |
Change metas for a wallet. |
GarbageCollectTxWalletsHistory |
Delete all transactions that have no metas. |
RemoveWallet WalletId |
Remove all metas of a wallet. |
Instances
mkStoreWalletsMeta :: Store ( SqlPersistT IO ) ( DeltaMap WalletId DeltaTxMetaHistory ) Source #
Store for a map of
DeltaTxMetaHistory
of multiple different wallets.