This commit is contained in:
@@ -7048,7 +7048,7 @@ 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());
|
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");
|
||||||
|
|||||||
@@ -462,6 +462,7 @@ public:
|
|||||||
|
|
||||||
void PushMessage(const char* pszCommand)
|
void PushMessage(const char* pszCommand)
|
||||||
{
|
{
|
||||||
|
fprintf(stderr,"push.(%s)\n",pszCommand);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
BeginMessage(pszCommand);
|
BeginMessage(pszCommand);
|
||||||
@@ -477,6 +478,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);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
BeginMessage(pszCommand);
|
BeginMessage(pszCommand);
|
||||||
|
|||||||
Reference in New Issue
Block a user