diff options
author | Thomas Winget <tewinget@gmail.com> | 2017-04-06 15:01:29 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2017-09-05 12:17:32 -0400 |
commit | 5c1e08fe806f0f4dbd06989bafe4df7b4e3601e8 (patch) | |
tree | a0d5b23bc095777f3793b4b21eb047aa5d95a272 /src/common | |
parent | DRY refactoring (diff) | |
download | monero-5c1e08fe806f0f4dbd06989bafe4df7b4e3601e8.tar.xz |
Refactor some things into more composable (smaller) functions
This commit refactors some of the rpc-related functions in the
Blockchain class to be more composable. This change was made
in order to make implementing the new zmq rpc easier without
trampling on the old rpc.
New functions:
Blockchain::get_num_mature_outputs
Blockchain::get_random_outputs
Blockchain::get_output_key
Blockchain::get_output_key_mask_unlocked
Blockchain::find_blockchain_supplement (overload)
functions which previously had this functionality inline now call these
functions as necessary.
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions