Skip to main content

PutBlocksDbT

Trait PutBlocksDbT 

Source
pub trait PutBlocksDbT<SE, TE, AR>:
    LowLevelWalletWrite<Error = SE>
    + WalletCommitmentTrees<Error = TE>
    + 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.

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> + WalletCommitmentTrees<Error = TE> + AddressStore<Error = SE, AccountRef = AR>, SE, TE, AR> PutBlocksDbT<SE, TE, AR> for T