Commit Graph

15 Commits

Author SHA1 Message Date
Raúl Kripalani
4353646945
Consolidate abstractions and core types into go-libp2p-core (#69) 2019-05-23 18:11:06 +01:00
vyzo
08caa87351 refactor protocol functionality into ProtoBook 2019-05-17 12:33:33 +03:00
Steven Allen
deb2163a68
Merge pull request #67 from libp2p/fix/keep-temp-addresses
keep temp addresses for 2 minutes
2019-04-12 10:32:51 -07:00
Steven Allen
30a9a2acf4 keep temp addresses for 2 minutes
Unfortunately, services like the DHT are slow enough that we can forget
addresses before we successfully dial.
2019-04-11 21:51:01 -07:00
Matt Joiner
9ae3eaaeb0
Add to comment on KeyBook.PrivKey (#64) 2019-04-08 18:11:34 +10:00
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