Change network hashrate
This commit is contained in:
parent
eef31693de
commit
ba23ebe939
@ -151,17 +151,17 @@ try {
|
|||||||
}
|
}
|
||||||
else if(option == "network-hashrate-cuckoo")
|
else if(option == "network-hashrate-cuckoo")
|
||||||
{
|
{
|
||||||
let data = await network_hashrate(blockDetails.block_height,31,blockDetails.targetdifficultycuckatoo);
|
let data = await network_hashrate(blockDetails.block_height,31,blockDetails.targetdifficultycuckatoo,"Cuckoo");
|
||||||
result = data;
|
result = data;
|
||||||
}
|
}
|
||||||
else if(option == "network-hashrate-progpow")
|
else if(option == "network-hashrate-progpow")
|
||||||
{
|
{
|
||||||
let data = await network_hashrate(blockDetails.block_height,16,blockDetails.targetdifficultyprogpow);
|
let data = await network_hashrate(blockDetails.block_height,16,blockDetails.targetdifficultyprogpow,"ProgPow");
|
||||||
result = data;
|
result = data;
|
||||||
}
|
}
|
||||||
else if(option == "network-hashrate-randomx")
|
else if(option == "network-hashrate-randomx")
|
||||||
{
|
{
|
||||||
let data = await network_hashrate(blockDetails.block_height,16,blockDetails.targetdifficultyrandomx);
|
let data = await network_hashrate(blockDetails.block_height,16,blockDetails.targetdifficultyrandomx,"RandomX");
|
||||||
result = data;
|
result = data;
|
||||||
}
|
}
|
||||||
else if(option == "getblockhash")
|
else if(option == "getblockhash")
|
||||||
|
Loading…
Reference in New Issue
Block a user