diff options
Diffstat (limited to 'src/state')
| -rw-r--r-- | src/state/peer.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/state/peer.rs b/src/state/peer.rs index e2a47ec..e0cea7e 100644 --- a/src/state/peer.rs +++ b/src/state/peer.rs @@ -162,6 +162,9 @@ pub(crate) struct PeerState { /// Its round trip to each of them, in their order, as a bucket /// (`Status::round_trips`); None if it said none, or not one each. pub(crate) round_trips: Option<Vec<u8>>, + /// The latest STATUS whose heads we may lack, while one waits out its grace + /// (`relay::pull_after_grace`): one wait per peer, however many come meanwhile. + pub(crate) pull_pending: Option<crate::transport::Status>, /// Whose change the next sync message to it passes on along the writer's tree /// (`swarm::tree`); taken when it is generated. pub(crate) tree_writer: Option<u64>, @@ -305,6 +308,7 @@ impl PeerState { slow_announced_at: None, reaches: None, round_trips: None, + pull_pending: None, tree_writer: None, left: false, hello_attempts: 0, |
