1
0
mirror of https://github.com/libp2p/go-libp2p-core.git synced 2025-04-12 15:20:23 +08:00
Commit Graph

8 Commits

Author SHA1 Message Date
Yusef Napora
7611d378ae rm batching SignedRoutingStates accessor in peerstore
the datastore peerstore implementation doesn't support batched reads, so
it's no more efficient to get a bunch of states at once than it
is to call SignedRoutingState multiple times.
2019-12-20 16:13:11 -05:00
Yusef Napora
e8ab218f27 get rid of unsigned RoutingState struct, only expose SignedRoutingState 2019-12-20 16:13:11 -05:00
Yusef Napora
08da615203 rename Equals -> Equal, add some comments 2019-12-20 16:13:11 -05:00
Yusef Napora
6014637275 make envelope fields private & validate on unmarshal 2019-12-20 16:13:11 -05:00
Yusef Napora
4528eacfbf add method to peerstore to retrieve signed routing records 2019-12-20 16:13:11 -05:00
Yusef Napora
83260dfd12 add routing state records, extend peerstore API 2019-12-20 16:13:11 -05:00
Raúl Kripalani
c1c8fd773a
peerstore/protobook: support removing protocols. () 2019-06-19 21:58:27 +01:00
Raúl Kripalani
6e566d10f4
Absorb go-libp2p abstractions and core types into this module () 2019-05-22 18:31:11 +01:00