Add modified peer to the dirty set
Add modified peer key to the dirty set
Add modified metadata peer to the set.
Add address book data of the peer to the batch.
Add Key book data of the peer to the batch.
Add metadata book data of the peer to the batch.
Add proto book data of the peer to the batch.
Add all the peers current data to a datastore batch and commit it.
Backend datastore used to persist data.
Peers metadata changed mapping peer identifers to metadata changed.
Peers modified after the latest data persisted.
Process datastore entry and add its data to the correct book.
AddressBook containing a map of peerIdStr to Address.
KeyBook containing a map of peerIdStr to their PeerId with public keys.
MetadataBook containing a map of peerIdStr to their metadata Map.
ProtoBook containing a map of peerIdStr to supported protocols.
Delete the information of the given peer in every book.
true if found and removed
Start the PeerStore.
Stop the PeerStore.
Responsible for managing the persistence of data in the PeerStore.