boost::uuids::uuid P2pNodeConfig::getNetworkId() const { if (getTestnet()) { boost::uuids::uuid copy = networkId; copy.data[0] += 1; return copy; } return networkId; }
const QString EtherIPC::getNetworkPostfix() const { QSettings settings; QString postfix = settings.value("geth/hardfork", true).toBool() ? "/eth" : "/etc"; if ( getTestnet() ) { postfix += "/morden"; } else { postfix += "/homestead"; } return postfix; }