src/qt/paymentserver.cpp
static QString ipcServerName()
{
    QString name("ReddcoinQt");

    // Append a simple hash of the datadir
    // Note that GetDataDir(true) returns a different path
    // for -testnet versus main net
    QString ddir(QString::fromStdString(GetDataDir(true).string()));
    name.append(QString::number(qHash(ddir)));

    return name;
}
//
// Create a name that is unique for:
//  testnet / non-testnet
//  data directory
//
Create a name that is unique for:
testnet / non-testnet
data directory
Create a name that is unique for : testnet / non - testnet data directory
static QString ipcServerName()
{
    QString name("ReddcoinQt");
    QString ddir(QString::fromStdString(GetDataDir(true).string()));
    name.append(QString::number(qHash(ddir)));
    return name;
}
static QString ipcServerName ( ) { QString name ( " " ) ; QString ddir ( QString :: fromStdString ( GetDataDir ( true ) . string ( ) ) ) ; name . append ( QString :: number ( qHash ( ddir ) ) ) ; return name ; }
Create a name that is unique for:
testnet / non-testnet
data directory
Create a name that is unique for : testnet / non - testnet data directory
// Append a simple hash of the datadir // Note that GetDataDir(true) returns a different path // for -testnet versus main net