<commit_before>// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 DiMS dev-team
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.


#include "manageNetwork.h"
#include "sync.h"
#include "protocol.h"
#include "selfNode.h"
#include "main.h"

#include "common/dimsParams.h"
#include "common/communicationProtocol.h"
#include "common/actionHandler.h"
#include "common/nodesManager.h"

static const int MAX_OUTBOUND_CONNECTIONS = 64;

#define PINGSENDTIME 2000
#define PINGRECEIVETIME 3000
namespace common
{

CManageNetwork * CManageNetwork::ms_instance = NULL;

CManageNetwork*
CManageNetwork::getInstance( )
{
	if ( !ms_instance )
	{
		ms_instance = new CManageNetwork();
	};<commit_msg>set right times  for a  while<commit_after>// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 DiMS dev-team
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.


#include "manageNetwork.h"
#include "sync.h"
#include "protocol.h"
#include "selfNode.h"
#include "main.h"

#include "common/dimsParams.h"
#include "common/communicationProtocol.h"
#include "common/actionHandler.h"
#include "common/nodesManager.h"

static const int MAX_OUTBOUND_CONNECTIONS = 64;

#define PINGSENDTIME 10
#define PINGRECEIVETIME 10
namespace common
{

CManageNetwork * CManageNetwork::ms_instance = NULL;

CManageNetwork*
CManageNetwork::getInstance( )
{
	if ( !ms_instance )
	{
		ms_instance = new CManageNetwork();
	};
{'fraction_non_alphanumeric': 0.12203791469194313, 'fraction_numerical': 0.04028436018957346, 'mean_word_length': 5.164233576642336, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1181348', 'n_tokens_mistral': 630, 'n_tokens_neox': 559, 'n_words': 145}