-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Add a snippet where one list (assumed to be sorted and containing unique elements) is compared to another list which is not sorted and may contain duplicates. The snippet should either return a boolean indicating set-equality or crash the VM if set equality does not hold.
The snippet can be implemented using logarithmic derivatives of the running product, where multiplicities are divined.
The mathematical expressions that are compared should be:
where u32
or to something smaller yet.
This snippet can be used together with that defined in #111 in neptune-core
's removal record integrity program to verify that the divined-in chunk indices are correct.