mirror of
https://codeberg.org/wowario/wownero
synced 2026-12-03 15:24:33 +01:00
miner block header signing
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user