diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-05-31 14:38:01 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-05-31 14:38:01 -0500 |
commit | 737712c0c62f0a28bb6bd1370823711908bcf95d (patch) | |
tree | d8a718611fcb37039c210a8d514e0bb517f6ac63 /src/rpc/core_rpc_server.h | |
parent | Merge pull request #3543 (diff) | |
parent | Core RPC: optionally add POW hash to block_header_response (diff) | |
download | monero-737712c0c62f0a28bb6bd1370823711908bcf95d.tar.xz |
Merge pull request #3561
353e9c0 Core RPC: optionally add POW hash to block_header_response (stoffu)
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 86e41e047..324f219f8 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); |