hpl_toolkit::compression

Function init_tree

Source
pub fn init_tree<'info>(
    max_depth: u32,
    max_buffer_size: u32,
    authority: &AccountInfo<'info>,
    merkle_tree: &AccountInfo<'info>,
    compression_program: &Program<'info, SplAccountCompression>,
    noop: &Program<'info, Noop>,
    signer_seeds: Option<&[&[&[u8]]; 1]>,
) -> Result<()>