mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-23 00:18:34 +00:00
add vote rpc res
This commit is contained in:
parent
4f16bd2b95
commit
45f275e9e4
@ -1859,6 +1859,7 @@ namespace cryptonote
|
||||
res.blocktemplate_blob = string_tools::buff_to_hex_nodelimer(block_blob);
|
||||
res.blockhashing_blob = string_tools::buff_to_hex_nodelimer(hashing_blob);
|
||||
res.status = CORE_RPC_STATUS_OK;
|
||||
res.vote = 0;
|
||||
return true;
|
||||
}
|
||||
//------------------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -921,6 +921,7 @@ namespace cryptonote
|
||||
blobdata blocktemplate_blob;
|
||||
blobdata blockhashing_blob;
|
||||
uint64_t unlock_height;
|
||||
uint16_t vote;
|
||||
|
||||
BEGIN_KV_SERIALIZE_MAP()
|
||||
KV_SERIALIZE_PARENT(rpc_response_base)
|
||||
@ -937,6 +938,7 @@ namespace cryptonote
|
||||
KV_SERIALIZE(seed_hash)
|
||||
KV_SERIALIZE(next_seed_hash)
|
||||
KV_SERIALIZE(unlock_height)
|
||||
KV_SERIALIZE(vote)
|
||||
END_KV_SERIALIZE_MAP()
|
||||
};
|
||||
typedef epee::misc_utils::struct_init<response_t> response;
|
||||
|
Loading…
x
Reference in New Issue
Block a user