-prints
This commit is contained in:
@@ -7052,7 +7052,8 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||||||
{
|
{
|
||||||
const CChainParams& chainparams = Params();
|
const CChainParams& chainparams = Params();
|
||||||
LogPrint("net", "received: %s (%u bytes) peer=%d\n", SanitizeString(strCommand), vRecv.size(), pfrom->id);
|
LogPrint("net", "received: %s (%u bytes) peer=%d\n", SanitizeString(strCommand), vRecv.size(), pfrom->id);
|
||||||
fprintf(stderr, "recv: %s peer=%d\n", SanitizeString(strCommand).c_str(), (int32_t)pfrom->GetId());
|
if ( KOMODO_NSPV != 0 )
|
||||||
|
fprintf(stderr, "recv: %s peer=%d\n", SanitizeString(strCommand).c_str(), (int32_t)pfrom->GetId());
|
||||||
if (mapArgs.count("-dropmessagestest") && GetRand(atoi(mapArgs["-dropmessagestest"])) == 0)
|
if (mapArgs.count("-dropmessagestest") && GetRand(atoi(mapArgs["-dropmessagestest"])) == 0)
|
||||||
{
|
{
|
||||||
LogPrintf("dropmessagestest DROPPING RECV MESSAGE\n");
|
LogPrintf("dropmessagestest DROPPING RECV MESSAGE\n");
|
||||||
|
|||||||
@@ -463,7 +463,7 @@ public:
|
|||||||
|
|
||||||
void PushMessage(const char* pszCommand)
|
void PushMessage(const char* pszCommand)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"push.(%s)\n",pszCommand);
|
//fprintf(stderr,"push.(%s)\n",pszCommand);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
BeginMessage(pszCommand);
|
BeginMessage(pszCommand);
|
||||||
@@ -479,7 +479,7 @@ public:
|
|||||||
template<typename T1>
|
template<typename T1>
|
||||||
void PushMessage(const char* pszCommand, const T1& a1)
|
void PushMessage(const char* pszCommand, const T1& a1)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"push.(%s)\n",pszCommand);
|
//fprintf(stderr,"push.(%s)\n",pszCommand);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
BeginMessage(pszCommand);
|
BeginMessage(pszCommand);
|
||||||
|
|||||||
Reference in New Issue
Block a user