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. ( #20 )
2019-06-19 21:58:27 +01:00
Raúl Kripalani
6e566d10f4
Absorb go-libp2p abstractions and core types into this module ( #1 )
2019-05-22 18:31:11 +01:00