diff options
author | stoffu <stoffu@protonmail.ch> | 2018-04-05 23:15:15 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-04-05 23:15:15 +0900 |
commit | 353e9c0c905b02918c346cf5edf43c994d2cc2b1 (patch) | |
tree | 4c0a9673cf5c1d92fc9ebd51248d34072cb90268 /src/rpc/core_rpc_server.h | |
parent | Merge pull request #3434 (diff) | |
download | monero-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.h | 2 |
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); |