Integrated xfh freehaven-protocol aka cn-heavy-superfast (#211)
This commit is contained in:
parent
e874148820
commit
9987d6e2fe
4 changed files with 28 additions and 2 deletions
|
@ -291,7 +291,8 @@ constexpr static const char *pow_variant_names[] = {
|
|||
"xtl",
|
||||
"msr",
|
||||
"xhv",
|
||||
"rto"
|
||||
"rto",
|
||||
"xfh"
|
||||
};
|
||||
|
||||
constexpr static const char *asm_optimization_names[] = {
|
||||
|
@ -1070,6 +1071,11 @@ bool Options::parsePowVariant(const char *powVariant)
|
|||
break;
|
||||
}
|
||||
|
||||
if (i == ARRAY_SIZE(pow_variant_names) - 1 && (!strcmp(powVariant, "freehaven") || !strcmp(powVariant, "faven"))) {
|
||||
m_powVariant = POW_XFH;
|
||||
break;
|
||||
}
|
||||
|
||||
if (i == ARRAY_SIZE(pow_variant_names) - 1) {
|
||||
showUsage(1);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue