func (pr PeerResolver) FromHostAddress(hostAddress string) (string, error) {
	host, err := pr.resolver.LookupByAddress(service.History, hostAddress)
	if err != nil {
		return "", err
	}
	return host.GetNamedAddress(pr.namedPort)
}
// FromHostAddress resolves the final history peer responsible for the given host address.
// The address is formed by adding port for specified transport
FromHostAddress resolves the final history peer responsible for the given host address.
The address is formed by adding port for specified transport
// FromHostAddress resolves the final history peer responsible for the given host address . // The address is formed by adding port for specified transport
func (pr PeerResolver) FromHostAddress(hostAddress string) (string, error) {
	host, err := pr.resolver.LookupByAddress(service.History, hostAddress)
	if err != nil {
		return "", err
	}
	return host.GetNamedAddress(pr.namedPort)
}
func ( pr PeerResolver ) FromHostAddress ( hostAddress string ) ( string , error ) { host , err := pr . resolver . LookupByAddress ( service . History , hostAddress ) if err != nil { return " " , err } return host . GetNamedAddress ( pr . namedPort ) }
FromHostAddress resolves the final history peer responsible for the given host address.
FromHostAddress resolves the final history peer responsible for the given host address .