From 412da636225f32ba62bdba7e3ed0281dcea08b05 Mon Sep 17 00:00:00 2001 From: Dion Ahmetaj Date: Mon, 10 Oct 2016 15:45:51 -0400 Subject: added print_coinbase_tx_sum option --- src/daemon/rpc_command_executor.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'src/daemon/rpc_command_executor.h') diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h index 5eed44353..5ded7c3f8 100644 --- a/src/daemon/rpc_command_executor.h +++ b/src/daemon/rpc_command_executor.h @@ -7,23 +7,23 @@ */ // Copyright (c) 2014-2016, The Monero Project -// +// // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: -// +// // 1. Redistributions of source code must retain the above copyright notice, this list of // conditions and the following disclaimer. -// +// // 2. Redistributions in binary form must reproduce the above copyright notice, this list // of conditions and the following disclaimer in the documentation and/or other // materials provided with the distribution. -// +// // 3. Neither the name of the copyright holder nor the names of its contributors may be // used to endorse or promote products derived from this software without specific // prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL @@ -117,11 +117,11 @@ public: bool set_limit_down(int limit); bool out_peers(uint64_t limit); - + bool start_save_graph(); - + bool stop_save_graph(); - + bool hard_fork_info(uint8_t version); bool print_bans(); @@ -133,6 +133,8 @@ public: bool flush_txpool(const std::string &txid); bool output_histogram(uint64_t min_count, uint64_t max_count); + + bool print_coinbase_tx_sum(uint64_t start_block_index, uint64_t end_block_index); }; } // namespace daemonize -- cgit v1.2.3 From e95d3f359b2d87f32abed5dee23c90469144dadf Mon Sep 17 00:00:00 2001 From: Dion Ahmetaj Date: Mon, 10 Oct 2016 16:41:24 -0400 Subject: attempted to remove whitespace spam --- src/daemon/rpc_command_executor.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/daemon/rpc_command_executor.h') diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h index 5ded7c3f8..aa2b89ac2 100644 --- a/src/daemon/rpc_command_executor.h +++ b/src/daemon/rpc_command_executor.h @@ -7,23 +7,23 @@ */ // Copyright (c) 2014-2016, The Monero Project -// +// // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: -// +// // 1. Redistributions of source code must retain the above copyright notice, this list of // conditions and the following disclaimer. -// +// // 2. Redistributions in binary form must reproduce the above copyright notice, this list // of conditions and the following disclaimer in the documentation and/or other // materials provided with the distribution. -// +// // 3. Neither the name of the copyright holder nor the names of its contributors may be // used to endorse or promote products derived from this software without specific // prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL @@ -117,11 +117,11 @@ public: bool set_limit_down(int limit); bool out_peers(uint64_t limit); - + bool start_save_graph(); - + bool stop_save_graph(); - + bool hard_fork_info(uint8_t version); bool print_bans(); -- cgit v1.2.3 From dd6c44327be7d90574466bc37561b9d156466972 Mon Sep 17 00:00:00 2001 From: Dion Ahmetaj Date: Mon, 10 Oct 2016 17:19:36 -0400 Subject: changed params from start/end index to height/count --- src/daemon/rpc_command_executor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemon/rpc_command_executor.h') diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h index aa2b89ac2..c097453e7 100644 --- a/src/daemon/rpc_command_executor.h +++ b/src/daemon/rpc_command_executor.h @@ -134,7 +134,7 @@ public: bool output_histogram(uint64_t min_count, uint64_t max_count); - bool print_coinbase_tx_sum(uint64_t start_block_index, uint64_t end_block_index); + bool print_coinbase_tx_sum(uint64_t height, uint64_t count); }; } // namespace daemonize -- cgit v1.2.3