Commit Graph

10 Commits

Author SHA1 Message Date
Raúl Kripalani
135471f291 add io.Closer interface and implementation to Peerstore. 2019-02-19 11:45:32 +00:00
Raúl Kripalani
1b72b920ed datastore-backed impls of KeyBook and PeerMetadata. 2018-09-28 14:04:52 +01:00
Raúl Kripalani
1c25f160a1 normalise import aliases. 2018-09-07 18:46:23 +01:00
Raúl Kripalani
171f051aa1 add tests for keybook; []peer.ID => peer.IDSlice. 2018-09-07 13:04:14 +01:00
Raúl Kripalani
2f98672d1d rename *Peers() to PeersWith*(). 2018-09-02 12:18:00 +01:00
Raúl Kripalani
e200f3a5c1 gx-go unrewrite. 2018-09-02 12:10:55 +01:00
Raúl Kripalani
06d419242c normalize naming: AddrManager => AddrBook; ctor for memory-backed AddrBook. 2018-08-30 16:43:40 +01:00
Raúl Kripalani
b9ac6b77b1 gx-go rw. 2018-08-30 15:26:03 +01:00
Raúl Kripalani
5d7633f0c9 move in-memory peerstore into mem package. 2018-08-30 15:26:03 +01:00
Raúl Kripalani
aeae977598 refactor peerstore (+)
1. Create interface.go with abstract interfaces.
2. Extract memory-based keybook into file.
3. Spin off PeerMetadata interface.
2018-08-29 16:23:04 +01:00