|
|
@ -349,15 +349,15 @@ UniValue getinfo(const UniValue& params, bool fHelp, const CPubKey& mypk) |
|
|
|
obj.push_back(Pair("commission", ASSETCHAINS_COMMISSION)); |
|
|
|
if ( ASSETCHAINS_ALGO == ASSETCHAINS_EQUIHASH ) |
|
|
|
{ |
|
|
|
obj.push_back(Pair("algo",ASSETCHAINS_ALGORITHMS[ASSETCHAINS_ALGO])); |
|
|
|
obj.push_back(Pair("algo", ASSETCHAINS_ALGORITHMS[ASSETCHAINS_ALGO])); |
|
|
|
if ( ASSETCHAINS_NK[0] == 0 ) // display default for Hush
|
|
|
|
obj.push_back(Pair("algo N",200)); |
|
|
|
else obj.push_back(Pair("algo N",ASSETCHAINS_NK[0])); |
|
|
|
obj.push_back(Pair("equihash N", 200)); |
|
|
|
else obj.push_back(Pair("equihash N", ASSETCHAINS_NK[0])); |
|
|
|
if ( ASSETCHAINS_NK[1] == 0 ) // display default for Hush
|
|
|
|
obj.push_back(Pair("algo K",9)); |
|
|
|
else obj.push_back(Pair("algo K",ASSETCHAINS_NK[1])); |
|
|
|
obj.push_back(Pair("equihash K", 9)); |
|
|
|
else obj.push_back(Pair("equihash K", ASSETCHAINS_NK[1])); |
|
|
|
} |
|
|
|
else obj.push_back(Pair("algo",ASSETCHAINS_ALGORITHMS[ASSETCHAINS_ALGO])); |
|
|
|
else obj.push_back(Pair("algo", ASSETCHAINS_ALGORITHMS[ASSETCHAINS_ALGO])); |
|
|
|
} |
|
|
|
return obj; |
|
|
|
} |
|
|
|