Wire KV sync through iroh-docs
This commit is contained in:
parent
72f28224ce
commit
59c463eb40
9 changed files with 406 additions and 47 deletions
|
|
@ -1205,6 +1205,7 @@ pub enum PeerControlResponse {
|
|||
name: String,
|
||||
entries: Vec<KvSyncEntry>,
|
||||
high_water_ms: i64,
|
||||
docs_ticket: Option<String>,
|
||||
allowed: bool,
|
||||
reason: String,
|
||||
evaluated_ops: usize,
|
||||
|
|
@ -2359,6 +2360,7 @@ mod tests {
|
|||
updated_at_ms: 42,
|
||||
}],
|
||||
high_water_ms: 43,
|
||||
docs_ticket: Some("doc-ticket".to_owned()),
|
||||
allowed: true,
|
||||
reason: "direct grant".to_owned(),
|
||||
evaluated_ops: 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue