mirror of
https://codeberg.org/wowario/wownero
synced 2026-11-19 12:54:16 +01:00
miner block header signing
This commit is contained in:
@@ -895,6 +895,10 @@ namespace rpc
|
||||
header.minor_version = b.minor_version;
|
||||
header.timestamp = b.timestamp;
|
||||
header.nonce = b.nonce;
|
||||
if (b.major_version >= HF_VERSION_BLOCK_HEADER_MINER_SIG)
|
||||
{
|
||||
header.signature = b.signature;
|
||||
}
|
||||
header.prev_id = b.prev_id;
|
||||
|
||||
header.depth = m_core.get_current_blockchain_height() - header.height - 1;
|
||||
|
||||
Reference in New Issue
Block a user