mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
daemon: handle printing higher hash rates
This commit is contained in:
parent
4c9fd8d86d
commit
017f816897
@ -380,7 +380,7 @@ static void get_metric_prefix(cryptonote::difficulty_type hr, double& hr_d, char
|
|||||||
prefix = 0;
|
prefix = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
static const char metric_prefixes[4] = { 'k', 'M', 'G', 'T' };
|
static const char metric_prefixes[] = { 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y' };
|
||||||
for (size_t i = 0; i < sizeof(metric_prefixes); ++i)
|
for (size_t i = 0; i < sizeof(metric_prefixes); ++i)
|
||||||
{
|
{
|
||||||
if (hr < 1000000)
|
if (hr < 1000000)
|
||||||
|
Loading…
Reference in New Issue
Block a user