From 353e9c0c905b02918c346cf5edf43c994d2cc2b1 Mon Sep 17 00:00:00 2001 From: stoffu Date: Thu, 5 Apr 2018 23:15:15 +0900 Subject: Core RPC: optionally add POW hash to block_header_response --- src/rpc/core_rpc_server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpc/core_rpc_server.h') 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 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); -- cgit v1.2.3