Adds the ability to store and query the public key and latest sequence number of all feeds in the local database. I think this will be really useful for testing replication. Basically corresponds to the replicate.upto MUXRPC method in go-ssb.
Adds a peer prefix
Adds kv store methods
peer_key
set_peer
get_peers
Adds a JSON-RPC method
get_peers
I'm not too sure about the get_peers naming. Might change it later as the API grows.
Adds the ability to store and query the public key and latest sequence number of all feeds in the local database. I think this will be really useful for testing replication. Basically corresponds to the
replicate.upto
MUXRPC method in go-ssb.peer_key
set_peer
get_peers
get_peers
I'm not too sure about the
get_peers
naming. Might change it later as the API grows.Example JSON-RPC response (pretty printed):