xmtp_api_d14n/protocol/
resolve.rs

1//! Implementations for Dependency Resolution strategies [XIP](https://github.com/xmtp/XIPs/blob/main/XIPs/xip-49-decentralized-backend.md#335-cross-originator-message-ordering)
2//!
3//! Possible Implementation of Dependency Resolution Strategies:
4//! - keep retrying same query and error forever after and finish after some backoff
5//! - query the originator that the message is stored on.
6//! - file misbehavior report if originator message came from is unresponsive
7//! - dont resolve dependencies at all
8//! - query random originators for the dependency
9//! - round robin query for dependency
10//! - etc.
11
12mod network_backoff;
13pub use network_backoff::*;