Push more than one packet for credentials if we happen to have a whole lot. Should not happen often but might if a member has tons of tags.

This commit is contained in:
Adam Ierymenko 2016-08-26 14:43:16 -07:00
parent 297b1b4258
commit a3c7627acf
2 changed files with 47 additions and 44 deletions

View file

@ -127,9 +127,8 @@ public:
* @param peerAddress Address of member peer
* @param nconf My network config
* @param cap Capability to send or 0 if none
* @return True if we pushed something
*/
bool sendCredentialsIfNeeded(const RuntimeEnvironment *RR,const uint64_t now,const Address &peerAddress,const NetworkConfig &nconf,const Capability *cap);
void sendCredentialsIfNeeded(const RuntimeEnvironment *RR,const uint64_t now,const Address &peerAddress,const NetworkConfig &nconf,const Capability *cap);
/**
* @param nconf Our network config