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
This is from the new mask-based ledgers. Previously Ledger.to_list would just give the list in merkle-tree-index order. The underlying database still has this behavior. But with masks, it first lists all the accounts in the mask (in some arbitrary order, we get it from a hash map), then all the accounts from the parent.
We should return (index * Account.t) list from to_list and sort the output by the index.
jkrauska
changed the title
ordering of get-public-keys chainges
ordering of get-public-keys changes
Jan 18, 2019
Not a bug, per-se -- mostly an observation.
The numerical ordering of get-public-keys now changes as accounts are added or modified.
Pre-tfc merge, I THINK the ordering was static - and new accounts were appended on to the END of the list.
Now I'm observing that recently changed accounts are added to the TOP of the list.
eg. (after adding a few new accounts and transferring 50 units, the public key list looks like this:
Lines 2-14 are all NEW accounts.
The text was updated successfully, but these errors were encountered: