pub fn process_batch_update_address_tree<'a, 'b, 'c: 'info, 'info>(
ctx: &'a Context<'a, 'b, 'c, 'info, BatchUpdateAddressTree<'info>>,
instruction_data: InstructionDataBatchNullifyInputs,
) -> Result<()>
Expand description
Insert a batch of addresses into a batched address Merkle tree.
- Check tree account discriminator, tree type, and program ownership.
- Check that signer is registered or authority.
- Update the address tree with the batch of addresses. 3.1 Verifies batch update zkp and updates root.
- Emit indexer event.