aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_io.hpp
diff options
context:
space:
mode:
authormoneroexamples <moneroexamples@tuta.io>2018-12-11 16:50:27 +0800
committermoneroexamples <moneroexamples@tuta.io>2019-01-07 05:53:14 +0800
commitec68cf822fafc8a918a36b85a71427936c5edac4 (patch)
tree84396c5962c401af672e9ab2f109b1cd40de7bd7 /src/device/device_io.hpp
parentMerge pull request #4969 (diff)
downloadmonero-ec68cf822fafc8a918a36b85a71427936c5edac4.tar.xz
Make get_output_key method const
get_output_key method is commonly used when working with txs and their key images. Because the method is not const, passing blockchain object though const& or pointers to const is not possible in this context. This is especially problematic in external projects (e.g., projects in moneroexamples) that use monero C++ api to operate on the blockchain and txs. Thus, having get_output_key method will simplify moving blockchain object around through const references and pointers to const objects.
Diffstat (limited to 'src/device/device_io.hpp')
0 files changed, 0 insertions, 0 deletions