This commit is contained in:
MoneroOcean
2024-05-31 20:16:33 +03:00
parent 1f59698bda
commit 2a1741ac52
2 changed files with 7 additions and 1 deletions

View File

@@ -221,6 +221,12 @@ module.exports.convertRtmBlob = function(blobBuffer) {
return header;
};
module.exports.convertKcnBlob = function(blobBuffer) {
let header = blobBuffer.slice(0, 80);
update_merkle_root_hash(80, false, blobBuffer, header);
return header;
};
module.exports.constructNewRtmBlob = function(blockTemplate, nonceBuff) {
update_merkle_root_hash(80, true, blockTemplate, blockTemplate);
nonceBuff.copy(blockTemplate, 76, 0, 4);

View File

@@ -1,6 +1,6 @@
{
"name": "cryptoforknote-util",
"version": "15.3.5",
"version": "15.3.6",
"author": {
"name": "LucasJones",
"email": "lucasjonesdev@hotmail.co.uk"