support monero_utils validate_address|is_valid_address(str, networkType)

This commit is contained in:
woodser
2021-02-23 10:31:07 -05:00
parent ec7fe8f3f7
commit 08be6bcda2
3 changed files with 24 additions and 2 deletions
+5
View File
@@ -71,6 +71,11 @@ namespace monero_utils
static const int RING_SIZE = 12; // network-enforced ring size
// ------------------------- ADDRESS VALIDATION -----------------------------
bool is_valid_address(const std::string& address, monero_network_type network_type);
void validate_address(const std::string& address, monero_network_type network_type);
// ------------------------ BINARY SERIALIZATION ----------------------------
void json_to_binary(const std::string &json, std::string &bin);