pub fn initialize_batched_address_merkle_tree<'info>(
ctx: Context<'_, '_, '_, 'info, InitializeBatchedAddressMerkleTree<'info>>,
bytes: Vec<u8>,
) -> Result<()>Expand description
Initialize a batched address Merkle tree account. A batched address Merkle tree is an indexed Merkle tree. Addresses are first inserted into a queue and inserted into the indexed Merkle tree in batches with a zkp. The queue is part of the address Merkle tree account.
- queue addresses Addresses are inserted into the queue with the instruction insert_addresses.
- update address tree The address tree is updated with the instruction batch_update_address_tree.