Gossip discovery refinement

Rename from RsDisc to more descriptive RsGossipDiscovery
Keep full retrocompatibility suggesting usage of RsGossipDiscovery
Add capability to send and receive full RetroShare invitation
Emit event when receiving a full invitation
Start using new debug utilities
Use enum class instead of defines and constant where appropriate
This commit is contained in:
Gioacchino Mazzurco 2019-05-02 16:23:46 +02:00
parent 4e1280839a
commit b1285a5de7
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
10 changed files with 473 additions and 391 deletions

View file

@ -745,7 +745,7 @@ RsGRouter *rsGRouter = NULL ;
#include "services/p3gxsreputation.h"
#include "services/p3serviceinfo.h"
#include "services/p3heartbeat.h"
#include "services/p3discovery2.h"
#include "gossipdiscovery/p3gossipdiscovery.h"
#include "services/p3msgservice.h"
#include "services/p3statusservice.h"
@ -1484,7 +1484,7 @@ int RsServer::StartupRetroShare()
mGxsNetTunnel->connectToTurtleRouter(tr) ;
rsDisc = mDisc;
rsGossipDiscovery.reset(mDisc);
rsMsgs = new p3Msgs(msgSrv, chatSrv);
// connect components to turtle router.