Proactively seek, enumerate, and distribute external surface addresses
This commit is contained in:
parent
1b0c183913
commit
96aa1c30a6
3 changed files with 25 additions and 1 deletions
|
@ -44,6 +44,13 @@ public:
|
|||
*/
|
||||
void iam(void *tPtr,const Address &reporter,const int64_t receivedOnLocalSocket,const InetAddress &reporterPhysicalAddress,const InetAddress &myPhysicalAddress,bool trusted,int64_t now);
|
||||
|
||||
/**
|
||||
* Return all known external surface addresses reported by peers
|
||||
*
|
||||
* @return A vector of InetAddress(es)
|
||||
*/
|
||||
std::vector<InetAddress> whoami();
|
||||
|
||||
/**
|
||||
* Clean up database periodically
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue