aboutsummaryrefslogtreecommitdiff
path: root/tests/gtest/CHANGES
diff options
context:
space:
mode:
authorwarptangent <warptangent@tutanota.com>2016-01-31 05:10:14 -0800
committerHoward Chu <hyc@symas.com>2016-04-05 20:30:50 +0100
commit132c666f67937676bea1cc145c242b857f9852a2 (patch)
tree2496f5c995ba5e2b1100b8e318bd7d751f7cbf51 /tests/gtest/CHANGES
parentblockchain_utilities: Update documentation (diff)
downloadmonero-132c666f67937676bea1cc145c242b857f9852a2.tar.xz
Update schema for "tx_outputs" to use array containing amount output indices
This speeds up wallet refresh by directly retrieving a tx's amount output indices. It removes the indirection and walking the amount output duplicate list for every amount in each requested tx. "tx_outputs" is used by: Amount output indices are needed for wallet refresh. Global output indices are needed for removing a tx. Both amount output indices and global output indices are now stored in an array of 64-bit unsigned ints: tx_outputs[<tx_hash>] -> [ <a1_oi, a1_gi, a2_oi, a2_gi, ...> ] Previously it was: tx_outputs[<tx_hash>] -> duplicate list of <a1_gi, a2_gi, a3_gi, ...> The amount output list had to be walked for every amount in order to find each amount's output index, by comparing the amount's global output index with each one in the duplicate list until a match was found. See also d045dfa7ce0bf131681193c97560da26f9f37900
Diffstat (limited to 'tests/gtest/CHANGES')
0 files changed, 0 insertions, 0 deletions