Skip to main content

Module db

Module db 

Source
Available on crate features test-dependencies only.
Expand description

An in-memory WalletDb-backed data store and DataStoreFactory for the zcash_client_backend testing framework.

Structsยง

TestDb
A WalletDb wrapped as a testing-framework data store: it delegates the wallet traits to the inner database and owns the temporary file backing it.
TestDbFactory
A DataStoreFactory that builds fresh in-memory TestDb wallets, optionally migrated only to a given set of migrations rather than all of them.