mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-27 02:56:30 -05:00
Added the possibility to request identities to specific peers (simplified changelog from PR~1697)
This commit is contained in:
parent
358aa1e0ab
commit
e5d8600f25
3 changed files with 164 additions and 149 deletions
|
|
@ -511,9 +511,13 @@ struct RsIdentity : RsGxsIfaceHelper
|
|||
* @brief request details of a not yet known identity to the network
|
||||
* @jsonapi{development}
|
||||
* @param[in] id id of the identity to request
|
||||
* @param[in] peers optional list of the peers to ask for the key, if empty
|
||||
* all online peers are asked.
|
||||
* @return false on error, true otherwise
|
||||
*/
|
||||
virtual bool requestIdentity(const RsGxsId& id) = 0;
|
||||
virtual bool requestIdentity(
|
||||
const RsGxsId& id,
|
||||
const std::vector<RsPeerId>& peers = std::vector<RsPeerId>() ) = 0;
|
||||
|
||||
/// default base URL used for indentity links @see exportIdentityLink
|
||||
static const std::string DEFAULT_IDENTITY_BASE_URL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue