Making providerstore smarter

This commit is contained in:
jmjatlanta 2017-07-31 12:50:12 -05:00
parent e22da601ea
commit e4f1c9b39c
17 changed files with 76 additions and 72 deletions

View file

@ -2,9 +2,10 @@
#define __REPO_CONFIG_IDENTITY_H__
#include "libp2p/crypto/rsa.h"
#include "libp2p/peer/peer.h"
struct Identity {
char* peer_id; // a pretty-printed hash of the public key
struct Libp2pPeer* peer; // a Peer object
struct RsaPrivateKey private_key; // a private key
};