The validateaddress
RPC method no longer exists in pexa v1.7.0. The easy solution would be to simply add PEXA to this line in coind.cpp; however, for a more scaleable solution, add a new variable to the YAAMP_COIND class called hasgetaddressinfo
, to keep the boolean variable names consistent that same class.
coind.cpp (line ~118)
- bool getaddressinfo = ((strcmp(coind->symbol,"DGB") == 0) || (strcmp(coind->symbol2, "DGB") == 0));
+ bool getaddressinfo = ((strcmp(coind->symbol,"DGB") == 0) || (strcmp(coind->symbol2, "DGB") == 0) || ((strcmp(coind->symbol,"PEXA") == 0) || (strcmp(coind->symbol2, "PEXA") == 0)));
You will also want enable usesegwit
in your database for PEXA's settings. Otherwise you will recieve a 500 status code error from the RPC.