Check whether a string is a valid address for the given chain parameters.

Synopsis

Declared in <key_io.h>

bool
IsValidDestinationString(
    std::string const& str,
    CChainParams const& params);

Return Value

True if the string is a valid destination.

Parameters

Name

Description

str

The address string to validate.

params

The chain parameters to validate against.

Created with MrDocs