You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_datastore_keys() should return None if addr does not exist but for now it will return an empty BTreeSet.
So the get_keys in speculative_ledger.rs should do first an entry_exists() and then a get_datastore_keys() and it looks suboptimal because the balance (tested for entry_exists) and the datastore keys are consecutive in the ledger, but we fully independently look them up without hints (logarithmic search).
The text was updated successfully, but these errors were encountered:
get_datastore_keys() should return None if addr does not exist but for now it will return an empty BTreeSet.
So the get_keys in speculative_ledger.rs should do first an entry_exists() and then a get_datastore_keys() and it looks suboptimal because the balance (tested for entry_exists) and the datastore keys are consecutive in the ledger, but we fully independently look them up without hints (logarithmic search).
The text was updated successfully, but these errors were encountered: