is_member() requests all members to know if an identity is member will explose
is_member() is currently retrieving the whole list of members from
/wot/members to know if an identity is a member or not.
The more members it will be, the more this request will slows down silkaj to determine if an identity is member or not.
The usage of
/wot/identity-of/<id/pubkey> says if an identity is member or not when sending error code.
remove not used
Replace two uppers function with
/wot/identity-of/<pubkey/uid>and only returns members identities with their
uid, which improves performances.
In case the identity is not member, try with
/wot/lookup/*to know the corresponding uid/pubkey?
- In case the identity is not member, try with
is_member()as a wrapper of
change usage in
If Silkaj requests several time at the same moment, we get a
429 Too Many Requests. #206 (closed) should solves this.
GVA API should allow one request for all needed identities.