diff --git a/buzz_scripts/graphform.bzz b/buzz_scripts/graphform.bzz index c395c11..a857309 100644 --- a/buzz_scripts/graphform.bzz +++ b/buzz_scripts/graphform.bzz @@ -546,8 +546,10 @@ function DoAsking(){ #the request Label be the same as requesed #get a respond if(m_MessageState[i]=="STATE_JOINED"){ + log("received label = ",m_MessageReqLabel[i]) if(m_MessageReqLabel[i]==m_nLabel) if(m_MessageResponse[i]!="REQ_NONE"){ + log("get response") psResponse=i }} i=i+1 @@ -565,6 +567,7 @@ function DoAsking(){ } } else{ + log("respond id=",m_MessageReqID[psResponse]) if(m_MessageReqID[psResponse]!=m_unRequestId){ m_vecNodes[m_nLabel].State="ASSIGNING" m_vecNodes[m_nLabel].StateAge=m_unJoiningLostPeriod @@ -675,10 +678,13 @@ function DoJoined(){ while(i