miner block header signing

This commit is contained in:
wowario
2025-09-14 11:04:29 +03:00
parent 8cc39d190d
commit 56d75c77b4
11 changed files with 105 additions and 0 deletions
+4
View File
@@ -2283,6 +2283,10 @@ namespace cryptonote
return false;
}
b.nonce = req.starting_nonce;
if (b.major_version >= HF_VERSION_BLOCK_HEADER_MINER_SIG)
{
b.signature = {};
}
crypto::hash seed_hash = crypto::null_hash;
if (b.major_version >= RX_BLOCK_VERSION && !epee::string_tools::hex_to_pod(template_res.seed_hash, seed_hash))
{