I'd like to get peers' data who are connected with gunDB. Although I tried to create and manage my own peer list from wire. But I think if gunDB already has the peer list, using it would be better than mine.
So could you please advise how I can get the peer list from the gunDB server?
I checked the peer list here which creates peer id and pushes peer to peer list(opt.peers). but I have no idea how I call the list from outside like on my server scripts.
Please give me advice about that!
@huhsame I'll have to answer this question in more detail later, but for now just gonna paste some code to get you started:
or
I recommend the API approach rather than the "internal"
_approach.