penumbra_shielded_pool::component

Trait StateWriteExt

Source
pub trait StateWriteExt: StateWrite + StateReadExt {
    // Provided methods
    fn put_shielded_pool_params(&mut self, params: ShieldedPoolParameters) { ... }
    fn put_current_fmd_parameters(&mut self, params: Parameters) { ... }
    fn put_previous_fmd_parameters(&mut self, params: Parameters) { ... }
    fn put_fmd_algorithm_state(&mut self, state: MetaParametersAlgorithmState) { ... }
}
Available on crate feature component only.
Expand description

Extension trait providing write access to shielded pool data.

Provided Methods§

Source

fn put_shielded_pool_params(&mut self, params: ShieldedPoolParameters)

Source

fn put_current_fmd_parameters(&mut self, params: Parameters)

Writes the current FMD parameters to the JMT.

Source

fn put_previous_fmd_parameters(&mut self, params: Parameters)

Writes the previous FMD parameters to the JMT.

Source

fn put_fmd_algorithm_state(&mut self, state: MetaParametersAlgorithmState)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§