snarkOS
snarkOS copied to clipboard
Feature: get ciphertexts improvement
Motivation
Improve performance in get_ciphertexts method of LedgerState. This improvement was added in another PR to Testnet 3 #1759.
Test Plan
There are no new tests but the test_get_all_ciphertexts has been modified because the use of HashSet is no longer needed.
@IAvecilla we'll need to resolve the merge conflict here
@IAvecilla we'll need to resolve the merge conflict here
Done! 👍
Admin: Please respond with "build this" in order to build this PR.
These changes apply only for testnet2 because testnet3 has a big refactor on this logic, it will be better to do the necessary changes on the testnet3 if necessary