zcash-android-wallet-sdk / cash.z.wallet.sdk.db / CompactBlockDb

CompactBlockDb

abstract class CompactBlockDb : RoomDatabase

The "Cache DB", serving as a cache of compact blocks, waiting to be processed. This will contain the entire blockchain, from the birthdate of the wallet, forward. The CompactBlockProcessor will copy blocks from this database, as they are scanned. In the future, those blocks can be deleted because they are no longer needed. Currently, this efficiency has not been implemented.

Constructors

<init>

The "Cache DB", serving as a cache of compact blocks, waiting to be processed. This will contain the entire blockchain, from the birthdate of the wallet, forward. The CompactBlockProcessor will copy blocks from this database, as they are scanned. In the future, those blocks can be deleted because they are no longer needed. Currently, this efficiency has not been implemented.

CompactBlockDb()

Functions

complactBlockDao

abstract fun complactBlockDao(): CompactBlockDao