pub fn hash_input_compressed_accounts<'a, 'b, 'c: 'info, 'info>(
remaining_accounts: &'a [AccountInfo<'info>],
input_compressed_accounts_with_merkle_context: &'a [PackedCompressedAccountWithMerkleContext],
leaves: &'a mut [[u8; 32]],
addresses: &'a mut [Option<[u8; 32]>],
hashed_pubkeys: &'a mut Vec<(Pubkey, [u8; 32])>,
) -> Result<()>
Expand description
Hashes the input compressed accounts and stores the results in the leaves array. Merkle tree pubkeys are hashed and stored in the hashed_pubkeys array. Merkle tree pubkeys should be ordered for efficiency.