aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/daemon_messages.h
diff options
context:
space:
mode:
authorj-berman <justinberman@protonmail.com>2024-06-24 16:13:18 -0700
committerj-berman <justinberman@protonmail.com>2024-06-24 17:58:20 -0700
commit9f83e7434dd1fb1d8ff8e1ecd8dd6abe4e81dac0 (patch)
treee22c7cf71fb31dbf835b68cdb64bf0f9f1ef3f77 /src/rpc/daemon_messages.h
parentMerge pull request #9202 (diff)
downloadmonero-9f83e7434dd1fb1d8ff8e1ecd8dd6abe4e81dac0.tar.xz
Daemon RPC: /getblocks.bin return chain's top_block_hash in resp
Diffstat (limited to '')
-rw-r--r--src/rpc/daemon_messages.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/daemon_messages.h b/src/rpc/daemon_messages.h
index d4b55f8fd..f4e4d00f7 100644
--- a/src/rpc/daemon_messages.h
+++ b/src/rpc/daemon_messages.h
@@ -97,6 +97,7 @@ BEGIN_RPC_MESSAGE_CLASS(GetBlocksFast);
RPC_MESSAGE_MEMBER(std::vector<cryptonote::rpc::block_with_transactions>, blocks);
RPC_MESSAGE_MEMBER(uint64_t, start_height);
RPC_MESSAGE_MEMBER(uint64_t, current_height);
+ RPC_MESSAGE_MEMBER(crypto::hash, top_block_hash);
RPC_MESSAGE_MEMBER(std::vector<cryptonote::rpc::block_output_indices>, output_indices);
END_RPC_MESSAGE_RESPONSE;
END_RPC_MESSAGE_CLASS;