aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-15 19:16:13 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-11-01 19:00:20 +0000
commitc0f50478785a67e854228bf392129cdefb55900d (patch)
tree7252c6e1b98427c7728f0c293b2ba954b886a9a6 /cmake
parentwallet2: fix is_synced checking target height, not height (diff)
downloadmonero-c0f50478785a67e854228bf392129cdefb55900d.tar.xz
wallet: reuse cached height when set after refresh
Refreshing sets cached height, which is otherwise got by calling get_info. Since get_info is called upon needing to display a prompt after a command has finished, it can be used to determine how much time a given command took to run if the cache timeout lapses while the command runs. Refreshing caches the height as a side effect, so get_info will never be called as a result of displaying a prompt after refreshing (and potentially leaking how much time it took to process a set of transactions, therefore leaking whether we got some monero in them).
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions