mirror of
https://github.com/monero-project/monero.git
synced 2026-01-01 07:26:15 -08:00
Merge pull request #777
8757e46 add blockhashing blob to getblocktemplate (Howard Chu)
This commit is contained in:
@@ -643,8 +643,10 @@ namespace cryptonote
|
||||
LOG_ERROR("Failed to calculate offset for ");
|
||||
return false;
|
||||
}
|
||||
blobdata hashing_blob = get_block_hashing_blob(b);
|
||||
res.prev_hash = string_tools::pod_to_hex(b.prev_id);
|
||||
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;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user