snarkOS icon indicating copy to clipboard operation
snarkOS copied to clipboard

Feature: get all the ciphertexts from the LedgerState

Open IAvecilla opened this issue 3 years ago • 1 comments

Motivation

This PR is related to #1725. It has some improvements in performance and now it returns all ciphertexts in the correct order. The motivation is to get all the ciphertexts directly from LedgerState to avoid iterating over all the transactions and commitments to get them.

Test Plan

There is a new test created in storage/src/state/tests.rs

  • test_get_all_ciphertexts - This test asserts that this function gets all the ciphertexts in the ledger without a specific order.

IAvecilla avatar May 06 '22 16:05 IAvecilla

Admin: Please respond with "build this" in order to build this PR.

aleo-svc-exp avatar Aug 01 '22 23:08 aleo-svc-exp

These changes are deprecated with the new version of snarkOS and snarkVM.

IAvecilla avatar Sep 22 '22 19:09 IAvecilla