Module PocketMeshPeer.DbState

Represents the part of library state that is persisted in the local database.

type t;
let groups: t => PeersGroups.t;

Returns a list of local groups of peers.

let peers: t => Peers.t;

Returns a list of peers (friends).

let thisPeer: t => ThisPeer.t;

Returns info about the local peer.