diff options
author | Jason Wong <jason.hcwong@gmail.com> | 2018-11-25 22:08:07 +0100 |
---|---|---|
committer | Jason Wong <jason.hcwong@gmail.com> | 2018-11-28 12:20:28 +0100 |
commit | dc1c12528d5cf86759993614e1fdd7d7bf04ff15 (patch) | |
tree | 8fa2119970bd01b384481d2944b1dc137f271435 /src/daemon/rpc_command_executor.h | |
parent | Merge pull request #4821 (diff) | |
download | monero-dc1c12528d5cf86759993614e1fdd7d7bf04ff15.tar.xz |
add command pop_blocks
add new public method to Blockchain and update according to code review
update after review: better lock/unlock, try catch and coding style
Diffstat (limited to '')
-rw-r--r-- | src/daemon/rpc_command_executor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h index 9e6010c5b..592584a5f 100644 --- a/src/daemon/rpc_command_executor.h +++ b/src/daemon/rpc_command_executor.h @@ -152,6 +152,8 @@ public: bool relay_tx(const std::string &txid); bool sync_info(); + + bool pop_blocks(uint64_t num_blocks); }; } // namespace daemonize |