aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.h
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-04-05 23:15:15 +0900
committerstoffu <stoffu@protonmail.ch>2018-04-05 23:15:15 +0900
commit353e9c0c905b02918c346cf5edf43c994d2cc2b1 (patch)
tree4c0a9673cf5c1d92fc9ebd51248d34072cb90268 /src/rpc/core_rpc_server.h
parentMerge pull request #3434 (diff)
downloadmonero-353e9c0c905b02918c346cf5edf43c994d2cc2b1.tar.xz
Core RPC: optionally add POW hash to block_header_response
Diffstat (limited to 'src/rpc/core_rpc_server.h')
-rw-r--r--src/rpc/core_rpc_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.h b/src/rpc/core_rpc_server.h
index a5755e062..b2c407a59 100644
--- a/src/rpc/core_rpc_server.h
+++ b/src/rpc/core_rpc_server.h
@@ -224,7 +224,7 @@ private:
//utils
uint64_t get_block_reward(const block& blk);
- bool fill_block_header_response(const block& blk, bool orphan_status, uint64_t height, const crypto::hash& hash, block_header_response& response);
+ bool fill_block_header_response(const block& blk, bool orphan_status, uint64_t height, const crypto::hash& hash, block_header_response& response, bool fill_pow_hash);
enum invoke_http_mode { JON, BIN, JON_RPC };
template <typename COMMAND_TYPE>
bool use_bootstrap_daemon_if_necessary(const invoke_http_mode &mode, const std::string &command_name, const typename COMMAND_TYPE::request& req, typename COMMAND_TYPE::response& res, bool &r);