Skip to main content

PutBlocksRowsDbT

Trait PutBlocksRowsDbT 

Source
pub trait PutBlocksRowsDbT<SE, AR>: LowLevelWalletWrite<Error = SE> + AddressStore<Error = SE, AccountRef = AR> { }
Available on crate feature transparent-inputs only.
Expand description

A trait alias capturing the database capabilities required by put_blocks_rows.

Unlike PutBlocksDbT, this does not require WalletCommitmentTrees: the row stage of put_blocks only writes through the LowLevelWalletWrite interface.

The transparent-inputs feature is enabled in this build, so this additionally requires AddressStore so that transparent gap addresses can be maintained as new blocks are scanned.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: LowLevelWalletWrite<Error = SE> + AddressStore<Error = SE, AccountRef = AR>, SE, AR> PutBlocksRowsDbT<SE, AR> for T