mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-04-25 11:02:12 +00:00
ProtoRecords
This commit is contained in:
parent
122bb921d7
commit
403315dab4
@ -1,6 +1,10 @@
|
||||
syntax = "proto3";
|
||||
package dht.pb;
|
||||
|
||||
message Records {
|
||||
repeated Record records = 1;
|
||||
}
|
||||
|
||||
// Record represents a dht record that contains a value
|
||||
// for a key value pair
|
||||
message Record {
|
||||
|
@ -50,7 +50,7 @@ pub use behaviour::{Kademlia, KademliaConfig, KademliaEvent, Quorum};
|
||||
pub use protocol::KadConnectionType;
|
||||
pub use query::QueryId;
|
||||
pub use record::{store, ProviderRecord, Record};
|
||||
pub use dht_proto::{Record as ProtoRecord};
|
||||
pub use dht_proto::{Record as ProtoRecord, Records as ProtoRecords};
|
||||
|
||||
use std::num::NonZeroUsize;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user