src/securityPolicy.c
bool isNetworkUsual(uint32_t networkId, uint32_t protocolMagic)
{
	if (networkId == MAINNET_NETWORK_ID && protocolMagic == MAINNET_PROTOCOL_MAGIC)
		return true;

	if (networkId == TESTNET_NETWORK_ID && protocolMagic == TESTNET_PROTOCOL_MAGIC)
		return true;

	return false;
}
// true iff network is the standard mainnet or testnet
true iff network is the standard mainnet or testnet
true iff network is the standard mainnet or testnet
bool isNetworkUsual(uint32_t networkId, uint32_t protocolMagic)
{
	if (networkId == MAINNET_NETWORK_ID && protocolMagic == MAINNET_PROTOCOL_MAGIC)
		return true;
	if (networkId == TESTNET_NETWORK_ID && protocolMagic == TESTNET_PROTOCOL_MAGIC)
		return true;
	return false;
}
bool isNetworkUsual ( uint32_t networkId , uint32_t protocolMagic ) { if ( networkId == MAINNET_NETWORK_ID && protocolMagic == MAINNET_PROTOCOL_MAGIC ) return true ; if ( networkId == TESTNET_NETWORK_ID && protocolMagic == TESTNET_PROTOCOL_MAGIC ) return true ; return false ; }
true iff network is the standard mainnet or testnet
true iff network is the standard mainnet or testnet