Test
This commit is contained in:
10
src/main.cpp
10
src/main.cpp
@@ -7038,17 +7038,17 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
||||
else if ( strCommand == "events" )
|
||||
{
|
||||
int32_t i;
|
||||
if ( ASSETCHAINS_CCLIB != MYCCLIBNAME || ASSETCHAINS_CCLIB != "gamescc" )
|
||||
if ( ASSETCHAINS_CCLIB != "gamescc" )
|
||||
{
|
||||
Misbehaving(pfrom->GetId(), 1);
|
||||
return false;
|
||||
}
|
||||
CNodeState *state = State(pfrom->GetId());
|
||||
if (state == NULL)
|
||||
return;
|
||||
for (i=0; i<vRecv.size(); i++)
|
||||
fprintf(stderr,"%02x",vRecv[i]);
|
||||
fprintf(" got event[%d] from %s: %s\n", (int32_t)vRecv.size(),__func__, state->name );
|
||||
CNodeState *state = State(pfrom->GetId());
|
||||
if ( state != NULL )
|
||||
fprintf(stderr," got event[%d] from %s: %s\n", (int32_t)vRecv.size(),__func__, state->name );
|
||||
else fprintf(stderr,"got event[%d]\n",(int32_t)vRecv.size());
|
||||
return(true);
|
||||
}
|
||||
else if (strCommand == "verack")
|
||||
|
||||
Reference in New Issue
Block a user