pub fn pull_from(
state: &mut SyncState,
node: &Node<Vec<u8>, Vec<u8>>,
peer: PeerId,
addrs: &[Multiaddr],
typ_name: &str,
) -> Result<usize>Expand description
Hello then pull every roster member the peer advertised, applying pages and acking.
Catches up on revocations and rotations both ways, and replaces a head rotation
that still includes a revoked device. Fails with Refused("needs-admission") when
the chain has moved on without this device (restored from the seed): another device
has to SyncState::admit it.