Yusef Napora
00306a4903
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.
2020-01-17 10:42:26 -05:00
Yusef Napora
bf3693255b
get rid of unsigned RoutingState struct, only expose SignedRoutingState
2020-01-17 10:42:26 -05:00
Yusef Napora
cf19665533
rename Equals -> Equal, add some comments
2020-01-17 10:42:26 -05:00
Yusef Napora
3724a31efe
make envelope fields private & validate on unmarshal
2020-01-17 10:42:26 -05:00
Yusef Napora
f01458e2e6
add method to peerstore to retrieve signed routing records
2020-01-17 10:42:26 -05:00
Yusef Napora
8d61036c08
add routing state records, extend peerstore API
2020-01-17 10:42:26 -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