api: update the baselines and draft the next release's migration guide

This commit is contained in:
DeFiDude committed 2026-11-12 05:26:29 -07:00
1 parent aa728fde06
commit db559f282d
5 files changed
+775 -250

No files matched your search

+192
View File
@@ -0,0 +1,192 @@
# Migrating to the next rsLXMF release (draft)
This draft covers source and behaviour changes since the published 1.4.0
release (commit `00f439d`). The crates now follow LXMF 1.3.0 on Reticulum
1.6.0. The release number belongs to the owner. Upstream references are to
LXMF 1.3.0 (`LXMF/...:line`) and Reticulum 1.6.0 (`RNS/...:line`).
`api/stability.json` lists every removed snapshot line under
`approvedBreakingChanges`.
Migrate together with the matching rsReticulum release, whose guide covers
`StampControl`, link request stamps and the runtime changes.
## Stamp costs are fractional
LXMF 1.3.0 takes stamp values from `RNS.Stamps.stamp_value`, which returns a
float (`LXMF/LXStamper.py:12`, `RNS/Stamps.py:104`). Its router costs are
floats too (`PEERING_COST = 18.0`, `PROPAGATION_COST = 16.0`,
`LXMF/LXMRouter.py:63-67`). Every stamp cost, flexibility, peering cost and
stamp value in the API is now `f64`:
- the `constants::{PROPAGATION_COST, PROPAGATION_COST_MIN, PROPAGATION_COST_FLEX,
PEERING_COST, MAX_PEERING_COST, COST_TICKET}` constants;
- `RouterConfig::{stamp_cost, propagation_stamp_cost, propagation_stamp_flex}`
and `RouterConfigExt::{peering_cost, max_peering_cost, propagation_cost_min}`;
- `LxmRouter::{set_stamp_cost, get_stamp_cost, set_stamp_requirements,
get_outbound_lxm_stamp_cost, get_outbound_lxm_propagation_stamp_cost,
validate_stamp, validate_stamp_with_tickets}`;
- `LxMessageDraft::stamp_cost`, `SignedLxMessage::stamp_cost()`,
`LxMessage::{validate_stamp_with_tickets, validated_stamp_value}`;
- the `LxmPeer`, `OutboundOfferPolicy`, `AutopeerCandidate`, `PeerStats`,
`NodeStats`, `PropagationEntry`, `PropagationNodeConfig`,
`AdvertisedNodePolicy` and `RecoveryPolicy` cost fields;
- `PropagationNode::{min_stamp_cost, set_min_stamp_cost, create_offer,
accept_stamped_propagated_blob, plan_accept_stamped_propagated_blob}`,
`ValidatedOpaquePropagationBlob::{validate, stamp_value}`;
- `handlers::{get_announce_app_data, parse_announce_app_data,
stamp_cost_from_app_data, pn_stamp_cost_from_app_data}`. The announce cost
slot may be an int or a float (`LXMF/LXMF.py:183-195`).
`StampCostEntry::cost` is `Option<f64>`. A destination that announces no cost
is recorded as `None`, as `outbound_stamp_costs[dest] = [time, stamp_cost]`
stores `None` (`LXMF/LXMRouter.py:1160`).
```rust
// old
router.set_stamp_cost(dest, 8);
// new
router.set_stamp_cost(dest, 8.0);
```
### Stamper
| Old | New |
| --- | --- |
| `stamper::generate_stamp(&[u8], u8, usize) -> Option<([u8; 32], u32)>` | `generate_stamp(&[u8], f64, usize, &StampControl) -> Result<Option<([u8; 32], f64)>, StampError>` |
| `generate_stamp_cancellable(.., &AtomicBool)`, `generate_stamp_limited`, `stamp_iteration_cap` | `generate_stamp` with `StampControl { cancel, deadline, threads }` |
| `stamper::stamp_value`, `stamper::stamp_workblock` | `rns_identity::stamps::{stamp_value, stamp_workblock}` |
| `stamp_valid(&[u8; 32], u8, &[u8])` | `stamp_valid(&[u8], f64, &[u8])` |
| `validate_stamp(&[u8; 32], &[u8; 32], u8, usize)` | `validate_stamp(&[u8; 32], &[u8], f64, usize)` |
| `validate_peering_key(&[u8], &[u8; 32], u8)` | `validate_peering_key(&[u8], &[u8], f64)` (`LXMF/LXStamper.py:26-29`) |
| `validate_pn_stamp(&[u8], u8)`, `PropagationStampParts` with a `u32` value | `f64` value |
| `spawn_deferred_stamp(_on)(.., u8, ..)`, `DeferredStampResult::Success { value: u32 }` | `f64`; new `DeferredStampResult::Failed(StampError)` |
| `PropagationEnvelope::new_cancellable(.., &AtomicBool)`, `pack_for_cancellable(.., &AtomicBool)` | `&StampControl` |
| `LxmPeer::generate_peering_key(&mut self, &[u8; 16], &[u8; 16])` | adds `&StampControl` |
| `LxmfDiscoveryStamper::{generate, valid, value}` | `f64` costs; `generate` takes `&StampControl` |
```rust
let control = rns_identity::stamps::StampControl::default();
let stamp = lxmf_core::stamper::generate_stamp(&material, 8.0, 3000, &control)?;
```
## LXMF delivery (outbound queue)
The router's outbound pass follows `LXMRouter.process_outbound`
(`LXMF/LXMRouter.py:3050`). It returns embedder work instead of per-method
deliveries:
| Old `OutboundAction` | New |
| --- | --- |
| `DeliverOpportunistic { dest_hash, message }` | `SendOpportunistic { message }` |
| `DeliverDirect { dest_hash, message }`, `PlanDirect { dest_hash, message, plan }`, `DeliverPropagated { prop_hash, message }` | `DeliverOverLink { target, message, plan: LinkDeliveryPlan }` (`UseLink` or `StartLink { hops }`), for Direct and Propagated |
| path requests issued inside planning | `RequestPath { destination, drop_existing }` |
| `Expired(message)` | `Failed(message)`: the failure callback has run |
These helpers are removed:
- `DirectDeliveryPlan`, `DirectDeliveryPlanInput`, `DirectRouteSnapshot`,
`plan_direct_delivery`;
- `LxmRouter::process_outbound_with_direct`, `defer_outbound_for_path_request`.
Call `process_outbound_with_inputs(&OutboundInputs, now)` with a snapshot of
known identities, links and routes (`OutboundInputs::medium: MediumSnapshot`).
Use `await_outbound_path` / `outbound_link_closed` for the path and link
callbacks. `process_outbound()` keeps working with empty inputs.
`MessageMetadata::ratchet_id` is `Option<Vec<u8>>`. It holds the 10-byte
ratchet id or the 16-byte link id the message arrived under, as
`lxmf_delivery(.., ratchet_id=packet.ratchet_id ..)` passes either
(`LXMF/LXMRouter.py:2165-2173`, `RNS/Identity.py:521-522`).
`MessageMetadata` gains upstream's delivery fields (`stamp_checked`,
`stamp_valid`, `sent_on_path`, `awaiting_path`, ...).
**Paper messages.** `LxmRouter::ingest_lxm_uri(&mut self, uri, decrypt)`
becomes `ingest_lxm_uri(uri, allow_duplicate, decrypt) ->
Result<PaperIngest, _>`. `PaperIngest::Delivered(Box<LxMessage>)` or
`Duplicate` replaces upstream's `signal_local_delivery`/`signal_duplicate`
callbacks (`LXMF/LXMRouter.py:2905`).
`DeliveryRatchetState::create_announce` takes a trailing
`Option<&AnnounceStampExt>` for the stamped announce.
## Propagation
- `LxmRouter::sync_peers(&mut self) -> Vec<[u8; 16]>` becomes
`sync_peers(&mut self, now, store_bytes) -> PeerSyncPass { culled, selected }`.
This follows the cull-then-select pass in `LXMF/LXMRouter.py:2468-2516`.
`select_sync_peer` takes the current time.
- `LxmRouter::sync_peer_policies_for_store` is removed.
- `LxmPeer::unhandled_messages` is now a public
`HashSet<PropagationTransientId>` instead of a count method. Use
`unhandled_message_count()`.
- `add_unhandled_message(&mut self)` takes the transient id, as
`add_unhandled_message(transient_id)` does (`LXMF/LXMPeer.py:588-626`).
`set_unhandled_count` is removed.
- `LxmPeer::peering_key` stores `([u8; 32], f64)`, and `peering_key_value()`
returns `Option<f64>`.
- Transfer and sync limits keep Python's number kind: lxmd's defaults are ints
and configured values are floats, and the announce packs whichever it holds
(`LXMF/LXMRouter.py:394-395`). The following fields are now
`handlers::PnLimit` (`Int(u64)` or `Float(f64)`, `From<u64>`/`From<f64>`):
- `PropagationNodeAnnounceData::{transfer_limit, sync_limit}`;
- `DaemonConfig::{propagation_limit_kb, sync_limit_kb}`;
- `PythonLxmdConfig::propagation_{transfer,sync}_max_accepted_size`.
`PropagationNodeAnnounceData::new` takes `impl Into<PnLimit>` for both.
`RouterConfig::{propagation_limit_kb, sync_limit_kb}`, `NodeStats` limits and
`LxmRouter::set_propagation_limit` are `f64`.
- `PropagationClientState`, `SyncTaskState` and `PeerSyncTerminalState` gain
`NoPath`, `PathRequested`, `NoAccess`, `Throttled`, `LinkFailed`,
`TransferFailed` and `NoIdentityReceived`, where they apply.
`PropagationAdmission` gains `AlreadyProcessed`. Exhaustive matches need the
new arms.
## Tools (lxmd library)
- `DaemonConfig::from_config` and `PythonLxmdConfig::from_config` return
`Result<Self, DaemonConfigError>`. lxmd exits when `as_float`/`as_int`/
`as_bool` raise on a malformed key (`LXMF/Utilities/lxmd.py:187-240`):
```rust
let config = lxmf_tools::daemon::DaemonConfig::from_config(&cfg)?;
```
- The `PythonLxmdConfig` cost fields are `f64` instead of `i64`, read with
`as_float` (`LXMF/Utilities/lxmd.py:187-215`). `DaemonConfig` cost fields are
`f64`.
- `lxmd_control::encode_router_control_stats` takes a trailing per-peer lookup
closure. `encode_nil_response` is removed.
- `lxmd_runtime::delivery_announce_app_data` takes `Option<f64>`.
## New fields and variants
Exhaustive literals and matches over these types need updating:
- `MessageMetadata`, `PropagationNodeAnnounceData`, `LxmPeer`,
`OutboundOfferPolicy`;
- `RouterConfigExt` (`pn_stamp_throttle`), `PnInboundAdmissionConfig`,
`DirectLinkSnapshot`;
- `DaemonConfig`, `PythonLxmdConfig` (`propagation_stamp_throttle`);
- `LinkDeliveryStartError::StampFailure`, `SendError::ContentTooLarge`.
## Behaviour and configuration an operator sees
- **Strict lxmd config.** A malformed number or boolean in lxmd's config now
stops lxmd with a `DaemonConfigError`. 1.4.0 fell back to the default.
Costs below their floor are raised to it, as `lxmd.py` does
(`LXMF/Utilities/lxmd.py:187-215`); a cost of 100 or more, which upstream
accepts but no stamp can meet, is rejected at load.
- **Stored files.**
- Delivered message ids are journaled in `delivery_claims` in the router's
storage directory.
- Admission bodies move from the messages directory to
`download-admission-bodies` under the router state directory. Bodies still
in the old place are moved on first start.
- lxmd keeps one processed-message store.
- **Log levels.** lxmd starts at Notice (3) without a `loglevel` key and always
applies `-v`/`-q`, as `lxmd.py` does. Control commands log at Notice on
stdout.
- **Link MTU and stamps.** Delivery, the propagation client and peer sync open
links that signal the next hop's MTU and carry link request stamps at the
cost the destination announced. These follow the Reticulum
`link_mtu_discovery` and `[stamps]` settings.
File diff suppressed because it is too large. Load diff
+42 -19
View File
@@ -1,5 +1,25 @@
pub mod lxmf_tools
pub mod lxmf_tools::daemon
pub use lxmf_tools::daemon::PnLimit
pub enum lxmf_tools::daemon::DaemonConfigError
pub lxmf_tools::daemon::DaemonConfigError::CostOutOfRange
pub lxmf_tools::daemon::DaemonConfigError::CostOutOfRange::key: &'static str
pub lxmf_tools::daemon::DaemonConfigError::CostOutOfRange::section: &'static str
pub lxmf_tools::daemon::DaemonConfigError::CostOutOfRange::value: f64
pub lxmf_tools::daemon::DaemonConfigError::InvalidStaticPeer(alloc::string::String)
pub lxmf_tools::daemon::DaemonConfigError::NegativeMaxPeers(i64)
pub lxmf_tools::daemon::DaemonConfigError::NotABoolean
pub lxmf_tools::daemon::DaemonConfigError::NotABoolean::key: &'static str
pub lxmf_tools::daemon::DaemonConfigError::NotABoolean::section: &'static str
pub lxmf_tools::daemon::DaemonConfigError::NotABoolean::value: alloc::string::String
pub lxmf_tools::daemon::DaemonConfigError::NotANumber
pub lxmf_tools::daemon::DaemonConfigError::NotANumber::key: &'static str
pub lxmf_tools::daemon::DaemonConfigError::NotANumber::section: &'static str
pub lxmf_tools::daemon::DaemonConfigError::NotANumber::value: alloc::string::String
pub lxmf_tools::daemon::DaemonConfigError::NotAnInteger
pub lxmf_tools::daemon::DaemonConfigError::NotAnInteger::key: &'static str
pub lxmf_tools::daemon::DaemonConfigError::NotAnInteger::section: &'static str
pub lxmf_tools::daemon::DaemonConfigError::NotAnInteger::value: alloc::string::String
pub struct lxmf_tools::daemon::DaemonConfig
pub lxmf_tools::daemon::DaemonConfig::announce_at_start: bool
pub lxmf_tools::daemon::DaemonConfig::announce_interval: core::option::Option<u64>
@@ -12,7 +32,7 @@ pub lxmf_tools::daemon::DaemonConfig::display_name: core::option::Option<alloc::
pub lxmf_tools::daemon::DaemonConfig::enforce_stamps: bool
pub lxmf_tools::daemon::DaemonConfig::from_static_only: bool
pub lxmf_tools::daemon::DaemonConfig::max_inbound_syncs: usize
pub lxmf_tools::daemon::DaemonConfig::max_peering_cost: u8
pub lxmf_tools::daemon::DaemonConfig::max_peering_cost: f64
pub lxmf_tools::daemon::DaemonConfig::max_peers: usize
pub lxmf_tools::daemon::DaemonConfig::message_storage_limit: core::option::Option<usize>
pub lxmf_tools::daemon::DaemonConfig::node_announce_at_start: bool
@@ -20,19 +40,21 @@ pub lxmf_tools::daemon::DaemonConfig::node_announce_interval: core::option::Opti
pub lxmf_tools::daemon::DaemonConfig::node_name: core::option::Option<alloc::string::String>
pub lxmf_tools::daemon::DaemonConfig::on_inbound_command: core::option::Option<alloc::string::String>
pub lxmf_tools::daemon::DaemonConfig::outbound_propagation_node: core::option::Option<alloc::string::String>
pub lxmf_tools::daemon::DaemonConfig::peering_cost: u8
pub lxmf_tools::daemon::DaemonConfig::peering_cost: f64
pub lxmf_tools::daemon::DaemonConfig::pn_stamp_throttle: f64
pub lxmf_tools::daemon::DaemonConfig::prioritise_destinations: alloc::vec::Vec<alloc::string::String>
pub lxmf_tools::daemon::DaemonConfig::propagation_enabled: bool
pub lxmf_tools::daemon::DaemonConfig::propagation_limit_kb: usize
pub lxmf_tools::daemon::DaemonConfig::propagation_stamp_cost: u8
pub lxmf_tools::daemon::DaemonConfig::propagation_stamp_flex: u8
pub lxmf_tools::daemon::DaemonConfig::propagation_limit_kb: lxmf_core::handlers::PnLimit
pub lxmf_tools::daemon::DaemonConfig::propagation_stamp_cost: f64
pub lxmf_tools::daemon::DaemonConfig::propagation_stamp_flex: f64
pub lxmf_tools::daemon::DaemonConfig::sequential_pn_stamp_validation: bool
pub lxmf_tools::daemon::DaemonConfig::stamp_cost: core::option::Option<u8>
pub lxmf_tools::daemon::DaemonConfig::stamp_cost: core::option::Option<f64>
pub lxmf_tools::daemon::DaemonConfig::static_peers: alloc::vec::Vec<alloc::string::String>
pub lxmf_tools::daemon::DaemonConfig::static_peers_bypass_sequential: bool
pub lxmf_tools::daemon::DaemonConfig::sync_limit_kb: usize
pub lxmf_tools::daemon::DaemonConfig::sync_limit_kb: lxmf_core::handlers::PnLimit
impl lxmf_tools::daemon::DaemonConfig
pub fn lxmf_tools::daemon::DaemonConfig::from_config(&rns_runtime::config::Config) -> Self
pub fn lxmf_tools::daemon::DaemonConfig::from_config(&rns_runtime::config::Config) -> core::result::Result<Self, lxmf_tools::daemon::DaemonConfigError>
pub fn lxmf_tools::daemon::DaemonConfig::min_accepted_stamp_cost(&self) -> f64
pub fn lxmf_tools::daemon::DaemonConfig::to_inbound_admission_config(&self) -> lxmf_core::propagation_admission::PnInboundAdmissionConfig
pub fn lxmf_tools::daemon::DaemonConfig::to_router_config(&self) -> lxmf_core::router::RouterConfig
impl core::default::Default for lxmf_tools::daemon::DaemonConfig
@@ -55,20 +77,21 @@ pub lxmf_tools::daemon::PythonLxmdConfig::node_name: core::option::Option<alloc:
pub lxmf_tools::daemon::PythonLxmdConfig::on_inbound: core::option::Option<alloc::string::String>
pub lxmf_tools::daemon::PythonLxmdConfig::peer_announce_at_start: bool
pub lxmf_tools::daemon::PythonLxmdConfig::peer_announce_interval: core::option::Option<i64>
pub lxmf_tools::daemon::PythonLxmdConfig::peer_stamp_cost: i64
pub lxmf_tools::daemon::PythonLxmdConfig::peering_cost: i64
pub lxmf_tools::daemon::PythonLxmdConfig::peer_stamp_cost: f64
pub lxmf_tools::daemon::PythonLxmdConfig::peering_cost: f64
pub lxmf_tools::daemon::PythonLxmdConfig::prioritised_lxmf_destinations: alloc::vec::Vec<alloc::string::String>
pub lxmf_tools::daemon::PythonLxmdConfig::propagation_stamp_cost_flexibility: i64
pub lxmf_tools::daemon::PythonLxmdConfig::propagation_stamp_cost_target: i64
pub lxmf_tools::daemon::PythonLxmdConfig::propagation_sync_max_accepted_size: f64
pub lxmf_tools::daemon::PythonLxmdConfig::propagation_transfer_max_accepted_size: f64
pub lxmf_tools::daemon::PythonLxmdConfig::remote_peering_cost_max: i64
pub lxmf_tools::daemon::PythonLxmdConfig::propagation_stamp_cost_flexibility: f64
pub lxmf_tools::daemon::PythonLxmdConfig::propagation_stamp_cost_target: f64
pub lxmf_tools::daemon::PythonLxmdConfig::propagation_stamp_throttle: f64
pub lxmf_tools::daemon::PythonLxmdConfig::propagation_sync_max_accepted_size: lxmf_core::handlers::PnLimit
pub lxmf_tools::daemon::PythonLxmdConfig::propagation_transfer_max_accepted_size: lxmf_core::handlers::PnLimit
pub lxmf_tools::daemon::PythonLxmdConfig::remote_peering_cost_max: f64
pub lxmf_tools::daemon::PythonLxmdConfig::sequential_pn_stamp_validation: bool
pub lxmf_tools::daemon::PythonLxmdConfig::static_peers: alloc::vec::Vec<alloc::string::String>
pub lxmf_tools::daemon::PythonLxmdConfig::static_peers_bypass_sequential: bool
pub lxmf_tools::daemon::PythonLxmdConfig::target_loglevel: core::option::Option<i64>
impl lxmf_tools::daemon::PythonLxmdConfig
pub fn lxmf_tools::daemon::PythonLxmdConfig::from_config(&rns_runtime::config::Config) -> Self
pub fn lxmf_tools::daemon::PythonLxmdConfig::from_config(&rns_runtime::config::Config) -> core::result::Result<Self, lxmf_tools::daemon::DaemonConfigError>
pub fn lxmf_tools::daemon::create_router(&lxmf_tools::daemon::DaemonConfig) -> lxmf_core::router::LxmRouter
pub fn lxmf_tools::daemon::create_router_with_transport(&lxmf_tools::daemon::DaemonConfig, tokio::sync::mpsc::bounded::Sender<rns_transport::messages::TransportMessage>) -> lxmf_core::router::LxmRouter
pub fn lxmf_tools::daemon::execute_on_inbound(&str, &str) -> core::io::error::Result<()>
@@ -106,6 +129,7 @@ pub lxmf_tools::lxmd_cli::Args::sync: core::option::Option<alloc::string::String
pub lxmf_tools::lxmd_cli::Args::timeout: core::option::Option<f64>
pub lxmf_tools::lxmd_cli::Args::unpeer: core::option::Option<alloc::string::String>
pub lxmf_tools::lxmd_cli::Args::verbose: u8
pub fn lxmf_tools::lxmd_cli::default_config_file_text() -> alloc::string::String
pub fn lxmf_tools::lxmd_cli::example_config() -> &'static str
pub fn lxmf_tools::lxmd_cli::load_hash_list(&std::path::Path) -> alloc::vec::Vec<[u8; 16]>
pub fn lxmf_tools::lxmd_cli::normalize_hash_hex(&str) -> alloc::string::String
@@ -127,9 +151,8 @@ pub const lxmf_tools::lxmd_control::CONTROL_APP_NAME: &str
pub const lxmf_tools::lxmd_control::PROPAGATION_APP_NAME: &str
pub fn lxmf_tools::lxmd_control::decode_control_response(&[u8]) -> lxmf_tools::lxmd_control::ControlResponse
pub fn lxmf_tools::lxmd_control::encode_control_success() -> alloc::vec::Vec<u8>
pub fn lxmf_tools::lxmd_control::encode_nil_response() -> alloc::vec::Vec<u8>
pub fn lxmf_tools::lxmd_control::encode_peer_error(lxmf_core::constants::PeerError) -> alloc::vec::Vec<u8>
pub fn lxmf_tools::lxmd_control::encode_router_control_stats(&lxmf_core::router::LxmRouter, [u8; 16], [u8; 16], core::option::Option<&lxmf_core::propagation_node::PropagationNode>, f64) -> alloc::vec::Vec<u8>
pub fn lxmf_tools::lxmd_control::encode_router_control_stats(&lxmf_core::router::LxmRouter, [u8; 16], [u8; 16], core::option::Option<&lxmf_core::propagation_node::PropagationNode>, f64, impl core::ops::function::Fn(&[u8; 16]) -> u8) -> alloc::vec::Vec<u8>
pub fn lxmf_tools::lxmd_control::exit_for_control_response(lxmf_tools::lxmd_control::ControlCommandKind, &lxmf_tools::lxmd_control::ControlResponse) -> bool
pub fn lxmf_tools::lxmd_control::format_remote_status(&rmpv::Value, bool, bool, f64) -> alloc::string::String
pub fn lxmf_tools::lxmd_control::peer_error_from_code(u8) -> core::option::Option<lxmf_core::constants::PeerError>
@@ -182,7 +205,7 @@ pub lxmf_tools::lxmd_runtime::LxmdPaths::storage_dir: std::path::PathBuf
impl lxmf_tools::lxmd_runtime::LxmdPaths
pub fn lxmf_tools::lxmd_runtime::LxmdPaths::new(impl core::convert::Into<std::path::PathBuf>) -> Self
pub fn lxmf_tools::lxmd_runtime::LxmdPaths::preferred_identity_path(&self) -> &std::path::Path
pub fn lxmf_tools::lxmd_runtime::delivery_announce_app_data(core::option::Option<&str>, core::option::Option<u8>) -> alloc::vec::Vec<u8>
pub fn lxmf_tools::lxmd_runtime::delivery_announce_app_data(core::option::Option<&str>, core::option::Option<f64>) -> alloc::vec::Vec<u8>
pub fn lxmf_tools::lxmd_runtime::format_local_peers(&[lxmf_tools::lxmd_runtime::LocalPeerView]) -> alloc::string::String
pub fn lxmf_tools::lxmd_runtime::format_local_status(&lxmf_tools::lxmd_runtime::LocalStatusView) -> alloc::string::String
pub fn lxmf_tools::lxmd_runtime::preflight_control_command(&std::path::Path, core::option::Option<&std::path::Path>, core::option::Option<&str>, core::option::Option<&str>) -> core::result::Result<lxmf_tools::lxmd_runtime::ControlPreflight, lxmf_tools::lxmd_runtime::ControlPreflightError>
+33 -11
View File
@@ -225,6 +225,17 @@
"features": [],
"sourceKind": "registry"
},
{
"name": "unicode-general-category",
"rename": null,
"kind": null,
"target": null,
"requirement": "^0.6",
"optional": false,
"defaultFeatures": true,
"features": [],
"sourceKind": "registry"
},
{
"name": "unicode-normalization",
"rename": null,
@@ -382,6 +393,17 @@
],
"sourceKind": "path"
},
{
"name": "rns-tools",
"rename": null,
"kind": null,
"target": null,
"requirement": "~1.4.0",
"optional": false,
"defaultFeatures": true,
"features": [],
"sourceKind": "path"
},
{
"name": "rns-transport",
"rename": null,
@@ -415,6 +437,17 @@
"features": [],
"sourceKind": "registry"
},
{
"name": "thiserror",
"rename": null,
"kind": null,
"target": null,
"requirement": "^2",
"optional": false,
"defaultFeatures": true,
"features": [],
"sourceKind": "registry"
},
{
"name": "tokio",
"rename": null,
@@ -439,17 +472,6 @@
"features": [],
"sourceKind": "registry"
},
{
"name": "tracing-subscriber",
"rename": null,
"kind": null,
"target": null,
"requirement": "^0.3",
"optional": false,
"defaultFeatures": true,
"features": [],
"sourceKind": "registry"
},
{
"name": "zeroize",
"rename": null,
+176 -69
View File
@@ -14,8 +14,8 @@
"commit": "b8d7afce73f7f098706029361568e63f22888ea3"
},
"compatibilityFloor": {
"evidenceCommit": "80bb96f799330e28a0125367d4c29826f5147cc3",
"sourceCommit": "b8d7afce73f7f098706029361568e63f22888ea3"
"evidenceCommit": "00f439df7e6d14d29e5ca75efc7c694ab4990b3d",
"sourceCommit": "00f439df7e6d14d29e5ca75efc7c694ab4990b3d"
},
"packages": [
{
@@ -24,8 +24,8 @@
"tier": "candidate-stable",
"compatibility": "reviewed-snapshot",
"snapshot": "api/snapshots/lxmf-core.txt",
"itemCount": 2227,
"sha256": "30d1006f3149b0e812c3d772f226467887cbba036beb23d686ae79d3c50860ee"
"itemCount": 2408,
"sha256": "6220acee3bc246ba462110cd344c210b0c1349702c42c56fe2cf9e035439930b"
},
{
"name": "lxmf-tools",
@@ -33,77 +33,184 @@
"tier": "tool-internal",
"compatibility": "reviewed-snapshot",
"snapshot": "api/snapshots/lxmf-tools.txt",
"itemCount": 190,
"sha256": "c8591cf56d1d315da43ecab8149057447ff02726fa371e01439a4106be45976f"
"itemCount": 213,
"sha256": "7d3387d13dd18490062b7e61aa0803e8db08275c19451bb7b82f1dd7bcdcef94"
}
],
"approvedBreakingChanges": {
"releaseLine": "1.4",
"migrationGuide": "api/migrations/1.4.md",
"migrationGuide": "api/migrations/next.md",
"removed": {
"lxmf-core": [
"pub fn lxmf_core::message::LxMessage::compute_hash(&mut self) -> core::result::Result<[u8; 32], lxmf_core::message::MessageError>",
"pub fn lxmf_core::message::LxMessage::get_field(&self, u8) -> core::option::Option<&alloc::vec::Vec<u8>>",
"pub fn lxmf_core::message::LxMessage::get_stamp(&mut self) -> core::option::Option<alloc::vec::Vec<u8>>",
"pub fn lxmf_core::message::LxMessage::new([u8; 16], [u8; 16], &str, &str, lxmf_core::constants::DeliveryMethod) -> Self",
"pub fn lxmf_core::message::LxMessage::pack_propagated_encrypted<F>(&mut self, F) -> core::result::Result<(alloc::vec::Vec<u8>, lxmf_core::types::PropagationTransientId), lxmf_core::message::MessageError> where F: core::ops::function::FnOnce(&[u8]) -> core::result::Result<alloc::vec::Vec<u8>, lxmf_core::message::MessageError>",
"pub fn lxmf_core::message::LxMessage::pack_propagated_encrypted_with_stamp<F>(&mut self, F, u8) -> core::result::Result<(alloc::vec::Vec<u8>, lxmf_core::types::PropagationTransientId, u32), lxmf_core::message::MessageError> where F: core::ops::function::FnOnce(&[u8]) -> core::result::Result<alloc::vec::Vec<u8>, lxmf_core::message::MessageError>",
"pub fn lxmf_core::message::LxMessage::set_audio_field(&mut self, u8, &[u8]) -> core::result::Result<(), lxmf_core::message::MessageError>",
"pub fn lxmf_core::message::LxMessage::set_field(&mut self, u8, alloc::vec::Vec<u8>)",
"pub fn lxmf_core::message::LxMessage::set_file_attachment_field(&mut self, &str, &[u8]) -> core::result::Result<(), lxmf_core::message::MessageError>",
"pub fn lxmf_core::message::LxMessage::set_image_field(&mut self, &str, &[u8]) -> core::result::Result<(), lxmf_core::message::MessageError>",
"pub fn lxmf_core::message::LxMessage::set_msgpack_field(&mut self, u8, alloc::vec::Vec<u8>) -> core::result::Result<(), lxmf_core::message::MessageError>",
"pub fn lxmf_core::message::LxMessage::sign(&mut self, &rns_crypto::ed25519::Ed25519PrivateKey) -> core::result::Result<(), lxmf_core::message::MessageError>",
"pub fn lxmf_core::message::LxMessage::sign_with<F, E>(&mut self, F) -> core::result::Result<(), lxmf_core::message::MessageError> where F: core::ops::function::FnOnce(&[u8]) -> core::result::Result<[u8; 64], E>, E: core::fmt::Display",
"pub fn lxmf_core::message::LxMessage::validate_stamp_with_tickets(&mut self, u8, core::option::Option<&[alloc::vec::Vec<u8>]>) -> bool",
"pub fn lxmf_core::message::LxMessage::verify(&mut self, &rns_crypto::ed25519::Ed25519PublicKey) -> bool",
"pub fn lxmf_core::propagation_client::PropagationClient::take_received_messages(&mut self) -> alloc::vec::Vec<alloc::vec::Vec<u8>>",
"pub fn lxmf_core::propagation_node::PropagationNode::accept_message(&mut self, &lxmf_core::message::LxMessage) -> bool",
"pub fn lxmf_core::propagation_node::PropagationNode::accept_propagated_blob(&mut self, &[u8], u8) -> bool",
"pub fn lxmf_core::propagation_node::PropagationNode::plan_accept_message(&mut self, &lxmf_core::message::LxMessage) -> core::option::Option<lxmf_core::propagation_node::PropagationStoreWritePlan>",
"pub fn lxmf_core::propagation_node::PropagationNode::plan_accept_propagated_blob(&mut self, &[u8], u8) -> core::option::Option<lxmf_core::propagation_node::PropagationStoreWritePlan>",
"pub fn lxmf_core::propagation_sync::PropagationSyncTask::accept_message(&mut self, &lxmf_core::message::LxMessage) -> bool",
"pub fn lxmf_core::router::LxmRouter::defer_stamp(&mut self, lxmf_core::message::LxMessage) -> core::option::Option<lxmf_core::message::LxMessage>",
"pub fn lxmf_core::router::LxmRouter::learn_ticket_from_inbound(&mut self, &lxmf_core::message::LxMessage) -> bool",
"pub fn lxmf_core::router::LxmRouter::prepare_outbound(&mut self, &mut lxmf_core::message::LxMessage) -> core::result::Result<(), lxmf_core::router::TicketPreparationError>",
"pub lxmf_core::link_delivery::PendingDelivery::message: lxmf_core::message::LxMessage",
"pub lxmf_core::message::LxMessage::auto_compress: bool",
"pub lxmf_core::message::LxMessage::callbacks: lxmf_core::message::MessageCallbacks",
"pub lxmf_core::message::LxMessage::content: alloc::string::String",
"pub lxmf_core::message::LxMessage::delivery_attempts: u32",
"pub lxmf_core::message::LxMessage::destination_hash: [u8; 16]",
"pub lxmf_core::message::LxMessage::fields: alloc::collections::btree::map::BTreeMap<u8, alloc::vec::Vec<u8>>",
"pub lxmf_core::message::LxMessage::hash: core::option::Option<[u8; 32]>",
"pub lxmf_core::message::LxMessage::include_ticket: bool",
"pub lxmf_core::message::LxMessage::incoming: bool",
"pub lxmf_core::message::LxMessage::last_delivery_attempt: f64",
"pub lxmf_core::message::LxMessage::message_id: core::option::Option<[u8; 32]>",
"pub lxmf_core::message::LxMessage::method: lxmf_core::constants::DeliveryMethod",
"pub lxmf_core::message::LxMessage::msgpack_field_ids: alloc::collections::btree::set::BTreeSet<u8>",
"pub lxmf_core::message::LxMessage::next_delivery_attempt: f64",
"pub lxmf_core::message::LxMessage::outbound_ticket: core::option::Option<[u8; 16]>",
"pub lxmf_core::message::LxMessage::progress: f64",
"pub lxmf_core::message::LxMessage::propagation_stamp: core::option::Option<[u8; 32]>",
"pub lxmf_core::message::LxMessage::ratchet_id: core::option::Option<[u8; 32]>",
"pub lxmf_core::message::LxMessage::representation: lxmf_core::constants::DeliveryRepresentation",
"pub lxmf_core::message::LxMessage::signature: core::option::Option<[u8; 64]>",
"pub lxmf_core::message::LxMessage::signature_validated: bool",
"pub lxmf_core::message::LxMessage::source_blackholed: bool",
"pub lxmf_core::message::LxMessage::source_hash: [u8; 16]",
"pub lxmf_core::message::LxMessage::stamp: core::option::Option<alloc::vec::Vec<u8>>",
"pub lxmf_core::message::LxMessage::stamp_cost: core::option::Option<u8>",
"pub lxmf_core::message::LxMessage::stamp_value: core::option::Option<u16>",
"pub lxmf_core::message::LxMessage::state: lxmf_core::constants::MessageState",
"pub lxmf_core::message::LxMessage::timestamp: f64",
"pub lxmf_core::message::LxMessage::title: alloc::string::String",
"pub lxmf_core::message::LxMessage::transient_id: core::option::Option<lxmf_core::types::PropagationTransientId>",
"pub lxmf_core::message::LxMessage::transport_encrypted: bool",
"pub lxmf_core::message::LxMessage::transport_encryption: core::option::Option<alloc::string::String>",
"pub lxmf_core::message::LxMessage::unverified_reason: core::option::Option<lxmf_core::constants::UnverifiedReason>",
"pub lxmf_core::message::LxMessage::wire_payload: core::option::Option<alloc::vec::Vec<u8>>",
"pub lxmf_core::message::MessagePayload::fields: alloc::collections::btree::map::BTreeMap<u8, alloc::vec::Vec<u8>>",
"pub lxmf_core::message::MessagePayload::msgpack_field_ids: alloc::collections::btree::set::BTreeSet<u8>",
"pub lxmf_core::router::LxmRouter::pending_deferred_stamps: std::collections::hash::map::HashMap<[u8; 32], lxmf_core::message::LxMessage>"
"impl lxmf_core::router::DirectRouteSnapshot",
"pub const lxmf_core::constants::COST_TICKET: u16",
"pub const lxmf_core::constants::MAX_PEERING_COST: u8",
"pub const lxmf_core::constants::PEERING_COST: u8",
"pub const lxmf_core::constants::PROPAGATION_COST: u8",
"pub const lxmf_core::constants::PROPAGATION_COST_FLEX: u8",
"pub const lxmf_core::constants::PROPAGATION_COST_MIN: u8",
"pub enum lxmf_core::router::DirectDeliveryPlan",
"pub fn lxmf_core::delivery_ratchet::DeliveryRatchetState::create_announce(&mut self, &rns_identity::identity::Identity, &[u8], u64, f64, lxmf_core::delivery_ratchet::DeliveryAnnounceKind<'_>) -> core::result::Result<alloc::vec::Vec<u8>, lxmf_core::delivery_ratchet::DeliveryRatchetError>",
"pub fn lxmf_core::discovery_stamper::LxmfDiscoveryStamper::generate(&self, &[u8; 32], u8) -> core::option::Option<alloc::vec::Vec<u8>>",
"pub fn lxmf_core::discovery_stamper::LxmfDiscoveryStamper::valid(&self, &[u8; 32], &[u8], u8) -> bool",
"pub fn lxmf_core::discovery_stamper::LxmfDiscoveryStamper::value(&self, &[u8; 32], &[u8]) -> u8",
"pub fn lxmf_core::handlers::PropagationNodeAnnounceData::new(bool, u64, u64, u8, u8, u8) -> Self",
"pub fn lxmf_core::handlers::get_announce_app_data(core::option::Option<&str>, core::option::Option<u8>) -> alloc::vec::Vec<u8>",
"pub fn lxmf_core::handlers::parse_announce_app_data(&[u8]) -> core::option::Option<(core::option::Option<alloc::string::String>, core::option::Option<u8>)>",
"pub fn lxmf_core::handlers::pn_stamp_cost_from_app_data(&[u8]) -> core::option::Option<u8>",
"pub fn lxmf_core::handlers::stamp_cost_from_app_data(&[u8]) -> core::option::Option<u8>",
"pub fn lxmf_core::message::LxMessage::validate_stamp_with_tickets(&self, u8, core::option::Option<&[alloc::vec::Vec<u8>]>) -> bool",
"pub fn lxmf_core::message::LxMessage::validated_stamp_value(&self, u8, core::option::Option<&[alloc::vec::Vec<u8>]>) -> core::option::Option<u16>",
"pub fn lxmf_core::message::SignedLxMessage::stamp_cost(&self) -> core::option::Option<u8>",
"pub fn lxmf_core::peer::LxmPeer::add_unhandled_message(&mut self)",
"pub fn lxmf_core::peer::LxmPeer::from_announce([u8; 16], f64, core::option::Option<f64>, core::option::Option<f64>, core::option::Option<u8>, core::option::Option<u8>, core::option::Option<u8>) -> Self",
"pub fn lxmf_core::peer::LxmPeer::from_announce_with_metadata([u8; 16], f64, core::option::Option<f64>, core::option::Option<f64>, core::option::Option<u8>, core::option::Option<u8>, core::option::Option<u8>, core::option::Option<std::collections::hash::map::HashMap<u8, alloc::vec::Vec<u8>>>) -> Self",
"pub fn lxmf_core::peer::LxmPeer::generate_peering_key(&mut self, &[u8; 16], &[u8; 16]) -> bool",
"pub fn lxmf_core::peer::LxmPeer::minimum_accepted_stamp_cost(&self) -> u8",
"pub fn lxmf_core::peer::LxmPeer::peering_key_value(&self) -> core::option::Option<u32>",
"pub fn lxmf_core::peer::LxmPeer::refresh_from_announce(&mut self, f64, core::option::Option<f64>, core::option::Option<f64>, core::option::Option<u8>, core::option::Option<u8>, core::option::Option<u8>) -> bool",
"pub fn lxmf_core::peer::LxmPeer::refresh_from_announce_with_metadata(&mut self, f64, core::option::Option<f64>, core::option::Option<f64>, core::option::Option<u8>, core::option::Option<u8>, core::option::Option<u8>, core::option::Option<std::collections::hash::map::HashMap<u8, alloc::vec::Vec<u8>>>) -> bool",
"pub fn lxmf_core::peer::LxmPeer::set_unhandled_count(&mut self, u32)",
"pub fn lxmf_core::peer::LxmPeer::unhandled_messages(&self) -> u32",
"pub fn lxmf_core::peer::select_sync_peer(&[&lxmf_core::peer::LxmPeer]) -> core::option::Option<usize>",
"pub fn lxmf_core::propagation::PropagationEntry::new(lxmf_core::types::PropagationTransientId, [u8; 32], [u8; 16], usize, u8) -> Self",
"pub fn lxmf_core::propagation::PropagationEntry::new_stamped(lxmf_core::types::PropagationTransientId, [u8; 32], [u8; 16], usize, u8) -> Self",
"pub fn lxmf_core::propagation::PropagationEntry::parse_filename(&str) -> core::option::Option<(lxmf_core::types::PropagationTransientId, f64, u8)>",
"pub fn lxmf_core::propagation::PropagationStore::get_stamp_value(&self, &lxmf_core::types::PropagationTransientId) -> core::option::Option<u8>",
"pub fn lxmf_core::propagation_node::PropagationNode::accept_stamped_propagated_blob(&mut self, &[u8], &[u8; 32], u8) -> bool",
"pub fn lxmf_core::propagation_node::PropagationNode::create_offer(&self, [u8; 16], core::option::Option<u8>) -> alloc::vec::Vec<lxmf_core::types::PropagationTransientId>",
"pub fn lxmf_core::propagation_node::PropagationNode::min_stamp_cost(&self) -> u8",
"pub fn lxmf_core::propagation_node::PropagationNode::plan_accept_stamped_propagated_blob(&mut self, &[u8], &[u8; 32], u8) -> core::option::Option<lxmf_core::propagation_node::PropagationStoreWritePlan>",
"pub fn lxmf_core::propagation_node::PropagationNode::set_min_stamp_cost(&mut self, u8)",
"pub fn lxmf_core::propagation_node::ValidatedOpaquePropagationBlob::stamp_value(&self) -> u8",
"pub fn lxmf_core::propagation_node::ValidatedOpaquePropagationBlob::validate(bytes::bytes::Bytes, u8) -> core::option::Option<Self>",
"pub fn lxmf_core::propagation_send::PropagationEnvelope::new<F>(lxmf_core::message::LxMessage, [u8; 32], u8, F) -> core::result::Result<Self, lxmf_core::message::MessageError> where F: core::ops::function::FnOnce(&[u8]) -> core::result::Result<alloc::vec::Vec<u8>, lxmf_core::message::MessageError>",
"pub fn lxmf_core::propagation_send::PropagationEnvelope::new_cancellable<F>(lxmf_core::message::LxMessage, [u8; 32], u8, F, &core::sync::atomic::AtomicBool) -> core::result::Result<Self, lxmf_core::message::MessageError> where F: core::ops::function::FnOnce(&[u8]) -> core::result::Result<alloc::vec::Vec<u8>, lxmf_core::message::MessageError>",
"pub fn lxmf_core::propagation_send::PropagationEnvelope::pack_for_cancellable(&mut self, lxmf_core::propagation_send::PreparedNode, f64, &core::sync::atomic::AtomicBool) -> core::result::Result<alloc::vec::Vec<u8>, lxmf_core::message::MessageError>",
"pub fn lxmf_core::propagation_send::PropagationEnvelope::stamp_value(&self) -> u32",
"pub fn lxmf_core::router::DirectRouteSnapshot::new([u8; 16], u8) -> Self",
"pub fn lxmf_core::router::LxmRouter::defer_outbound_for_path_request(&mut self, &[u8; 32], f64) -> bool",
"pub fn lxmf_core::router::LxmRouter::get_outbound_lxm_propagation_stamp_cost(&self, &[u8; 32]) -> core::option::Option<u8>",
"pub fn lxmf_core::router::LxmRouter::get_outbound_lxm_stamp_cost(&self, &[u8; 16]) -> core::option::Option<u8>",
"pub fn lxmf_core::router::LxmRouter::get_stamp_cost(&self, &[u8; 16]) -> core::option::Option<u8>",
"pub fn lxmf_core::router::LxmRouter::ingest_lxm_uri<F>(&mut self, &str, F) -> core::result::Result<lxmf_core::message::LxMessage, lxmf_core::message::MessageError> where F: core::ops::function::FnOnce(&[u8]) -> core::result::Result<alloc::vec::Vec<u8>, lxmf_core::message::MessageError>",
"pub fn lxmf_core::router::LxmRouter::process_outbound_with_direct<F>(&mut self, F) -> alloc::vec::Vec<lxmf_core::router::OutboundAction> where F: core::ops::function::FnMut(&lxmf_core::message::LxMessage, f64) -> lxmf_core::router::DirectDeliveryPlanInput",
"pub fn lxmf_core::router::LxmRouter::set_propagation_limit(&mut self, usize)",
"pub fn lxmf_core::router::LxmRouter::set_stamp_cost(&mut self, [u8; 16], u8)",
"pub fn lxmf_core::router::LxmRouter::set_stamp_requirements(&mut self, u8, u8)",
"pub fn lxmf_core::router::LxmRouter::sync_peer_policies_for_store(&self, u64) -> alloc::vec::Vec<lxmf_core::peer::OutboundOfferPolicy>",
"pub fn lxmf_core::router::LxmRouter::sync_peers(&mut self) -> alloc::vec::Vec<[u8; 16]>",
"pub fn lxmf_core::router::LxmRouter::validate_stamp(&self, &[u8; 32], &[u8; 32], u8) -> bool",
"pub fn lxmf_core::router::LxmRouter::validate_stamp_with_tickets(&self, &[u8; 32], &[u8], u8, &[u8; 16]) -> bool",
"pub fn lxmf_core::router::plan_direct_delivery(&mut lxmf_core::message::LxMessage, lxmf_core::router::DirectDeliveryPlanInput, f64) -> lxmf_core::router::DirectDeliveryPlan",
"pub fn lxmf_core::stamper::generate_stamp(&[u8], u8, usize) -> core::option::Option<([u8; 32], u32)>",
"pub fn lxmf_core::stamper::generate_stamp_cancellable(&[u8], u8, usize, &core::sync::atomic::AtomicBool) -> core::option::Option<([u8; 32], u32)>",
"pub fn lxmf_core::stamper::generate_stamp_limited(&[u8], u8, usize, u64) -> core::option::Option<[u8; 32]>",
"pub fn lxmf_core::stamper::spawn_deferred_stamp([u8; 32], u8, usize) -> (lxmf_core::stamper::DeferredStampHandle, tokio::sync::oneshot::Receiver<lxmf_core::stamper::DeferredStampResult>)",
"pub fn lxmf_core::stamper::spawn_deferred_stamp_on(&tokio::runtime::handle::Handle, [u8; 32], u8, usize) -> (lxmf_core::stamper::DeferredStampHandle, tokio::sync::oneshot::Receiver<lxmf_core::stamper::DeferredStampResult>)",
"pub fn lxmf_core::stamper::stamp_iteration_cap(u8) -> core::option::Option<u64>",
"pub fn lxmf_core::stamper::stamp_valid(&[u8; 32], u8, &[u8]) -> bool",
"pub fn lxmf_core::stamper::stamp_value(&[u8], &[u8; 32]) -> u32",
"pub fn lxmf_core::stamper::stamp_workblock(&[u8], usize) -> alloc::vec::Vec<u8>",
"pub fn lxmf_core::stamper::validate_peering_key(&[u8], &[u8; 32], u8) -> bool",
"pub fn lxmf_core::stamper::validate_pn_stamp(&[u8], u8) -> core::option::Option<lxmf_core::stamper::PropagationStampParts>",
"pub fn lxmf_core::stamper::validate_stamp(&[u8; 32], &[u8; 32], u8, usize) -> bool",
"pub lxmf_core::handlers::PropagationNodeAnnounceData::peering_cost: u8",
"pub lxmf_core::handlers::PropagationNodeAnnounceData::stamp_cost: u8",
"pub lxmf_core::handlers::PropagationNodeAnnounceData::stamp_flex: u8",
"pub lxmf_core::handlers::PropagationNodeAnnounceData::sync_limit: u64",
"pub lxmf_core::handlers::PropagationNodeAnnounceData::transfer_limit: u64",
"pub lxmf_core::message::LxMessageDraft::stamp_cost: core::option::Option<u8>",
"pub lxmf_core::message::MessageMetadata::ratchet_id: core::option::Option<[u8; 32]>",
"pub lxmf_core::message_api::LxMessageDraft::stamp_cost: core::option::Option<u8>",
"pub lxmf_core::message_api::MessageMetadata::ratchet_id: core::option::Option<[u8; 32]>",
"pub lxmf_core::peer::LxmPeer::peering_cost: u8",
"pub lxmf_core::peer::LxmPeer::peering_key: core::option::Option<([u8; 32], u32)>",
"pub lxmf_core::peer::LxmPeer::stamp_cost: core::option::Option<u8>",
"pub lxmf_core::peer::LxmPeer::stamp_cost_flexibility: core::option::Option<u8>",
"pub lxmf_core::peer::OutboundOfferPolicy::minimum_stamp_cost: u8",
"pub lxmf_core::peer::OutboundOfferPolicy::peering_cost: u8",
"pub lxmf_core::peer::OutboundOfferPolicy::peering_key_value: core::option::Option<u32>",
"pub lxmf_core::peer::OutboundOfferPolicy::stamp_cost: core::option::Option<u8>",
"pub lxmf_core::peer::OutboundOfferPolicy::stamp_cost_flexibility: core::option::Option<u8>",
"pub lxmf_core::propagation::PropagationEntry::stamp_value: u8",
"pub lxmf_core::propagation_node::PropagationNodeConfig::min_stamp_cost: u8",
"pub lxmf_core::propagation_node::PropagationNodeConfig::peering_cost: u8",
"pub lxmf_core::propagation_send::AdvertisedNodePolicy::stamp_cost: u8",
"pub lxmf_core::propagation_store_v2::RecoveryPolicy::minimum_stamp_cost: u8",
"pub lxmf_core::router::AutopeerCandidate::peering_cost: core::option::Option<u8>",
"pub lxmf_core::router::AutopeerCandidate::stamp_cost: core::option::Option<u8>",
"pub lxmf_core::router::AutopeerCandidate::stamp_flexibility: core::option::Option<u8>",
"pub lxmf_core::router::DirectDeliveryPlan::DeferTerminalFailure",
"pub lxmf_core::router::DirectDeliveryPlan::Fail",
"pub lxmf_core::router::DirectDeliveryPlan::RequestPath",
"pub lxmf_core::router::DirectDeliveryPlan::RequestPath::drop_existing: bool",
"pub lxmf_core::router::DirectDeliveryPlan::StartNewLink",
"pub lxmf_core::router::DirectDeliveryPlan::StartNewLink::hops: u8",
"pub lxmf_core::router::DirectDeliveryPlan::UseReusableLink",
"pub lxmf_core::router::DirectDeliveryPlan::WaitForReusableLink",
"pub lxmf_core::router::DirectDeliveryPlanInput::identity_known: bool",
"pub lxmf_core::router::DirectDeliveryPlanInput::reusable_link: lxmf_core::router::DirectReusableLinkState",
"pub lxmf_core::router::DirectDeliveryPlanInput::route: core::option::Option<lxmf_core::router::DirectRouteSnapshot>",
"pub lxmf_core::router::DirectRouteSnapshot::destination_hash: [u8; 16]",
"pub lxmf_core::router::DirectRouteSnapshot::expires_at: core::option::Option<f64>",
"pub lxmf_core::router::DirectRouteSnapshot::hops: u8",
"pub lxmf_core::router::DirectRouteSnapshot::interface_name: core::option::Option<alloc::string::String>",
"pub lxmf_core::router::DirectRouteSnapshot::learned_at: core::option::Option<f64>",
"pub lxmf_core::router::NodeStats::peering_cost: u8",
"pub lxmf_core::router::NodeStats::propagation_limit: usize",
"pub lxmf_core::router::NodeStats::stamp_cost: u8",
"pub lxmf_core::router::NodeStats::stamp_flex: u8",
"pub lxmf_core::router::NodeStats::sync_limit: usize",
"pub lxmf_core::router::OutboundAction::DeliverDirect",
"pub lxmf_core::router::OutboundAction::DeliverDirect::dest_hash: [u8; 16]",
"pub lxmf_core::router::OutboundAction::DeliverDirect::message: lxmf_core::message::LxMessage",
"pub lxmf_core::router::OutboundAction::DeliverOpportunistic",
"pub lxmf_core::router::OutboundAction::DeliverOpportunistic::dest_hash: [u8; 16]",
"pub lxmf_core::router::OutboundAction::DeliverOpportunistic::message: lxmf_core::message::LxMessage",
"pub lxmf_core::router::OutboundAction::DeliverPropagated",
"pub lxmf_core::router::OutboundAction::DeliverPropagated::message: lxmf_core::message::LxMessage",
"pub lxmf_core::router::OutboundAction::DeliverPropagated::prop_hash: [u8; 16]",
"pub lxmf_core::router::OutboundAction::Expired(lxmf_core::message::LxMessage)",
"pub lxmf_core::router::OutboundAction::PlanDirect",
"pub lxmf_core::router::OutboundAction::PlanDirect::dest_hash: [u8; 16]",
"pub lxmf_core::router::OutboundAction::PlanDirect::message: lxmf_core::message::LxMessage",
"pub lxmf_core::router::OutboundAction::PlanDirect::plan: lxmf_core::router::DirectDeliveryPlan",
"pub lxmf_core::router::PeerStats::stamp_cost: core::option::Option<u8>",
"pub lxmf_core::router::RouterConfig::propagation_limit_kb: usize",
"pub lxmf_core::router::RouterConfig::propagation_stamp_cost: u8",
"pub lxmf_core::router::RouterConfig::propagation_stamp_flex: u8",
"pub lxmf_core::router::RouterConfig::stamp_cost: core::option::Option<u8>",
"pub lxmf_core::router::RouterConfig::sync_limit_kb: usize",
"pub lxmf_core::router::RouterConfigExt::max_peering_cost: u8",
"pub lxmf_core::router::RouterConfigExt::peering_cost: u8",
"pub lxmf_core::router::RouterConfigExt::propagation_cost_min: u8",
"pub lxmf_core::router::StampCostEntry::cost: u8",
"pub lxmf_core::stamper::DeferredStampResult::Success::value: u32",
"pub struct lxmf_core::router::DirectDeliveryPlanInput",
"pub struct lxmf_core::router::DirectRouteSnapshot",
"pub type lxmf_core::stamper::PropagationStampParts = ([u8; 32], alloc::vec::Vec<u8>, u32, [u8; 32])"
],
"lxmf-tools": [
"pub fn lxmf_tools::daemon::DaemonConfig::from_config(&rns_runtime::config::Config) -> Self",
"pub fn lxmf_tools::daemon::PythonLxmdConfig::from_config(&rns_runtime::config::Config) -> Self",
"pub fn lxmf_tools::lxmd_control::encode_nil_response() -> alloc::vec::Vec<u8>",
"pub fn lxmf_tools::lxmd_control::encode_router_control_stats(&lxmf_core::router::LxmRouter, [u8; 16], [u8; 16], core::option::Option<&lxmf_core::propagation_node::PropagationNode>, f64) -> alloc::vec::Vec<u8>",
"pub fn lxmf_tools::lxmd_runtime::delivery_announce_app_data(core::option::Option<&str>, core::option::Option<u8>) -> alloc::vec::Vec<u8>",
"pub lxmf_tools::daemon::DaemonConfig::max_peering_cost: u8",
"pub lxmf_tools::daemon::DaemonConfig::peering_cost: u8",
"pub lxmf_tools::daemon::DaemonConfig::propagation_limit_kb: usize",
"pub lxmf_tools::daemon::DaemonConfig::propagation_stamp_cost: u8",
"pub lxmf_tools::daemon::DaemonConfig::propagation_stamp_flex: u8",
"pub lxmf_tools::daemon::DaemonConfig::stamp_cost: core::option::Option<u8>",
"pub lxmf_tools::daemon::DaemonConfig::sync_limit_kb: usize",
"pub lxmf_tools::daemon::PythonLxmdConfig::peer_stamp_cost: i64",
"pub lxmf_tools::daemon::PythonLxmdConfig::peering_cost: i64",
"pub lxmf_tools::daemon::PythonLxmdConfig::propagation_stamp_cost_flexibility: i64",
"pub lxmf_tools::daemon::PythonLxmdConfig::propagation_stamp_cost_target: i64",
"pub lxmf_tools::daemon::PythonLxmdConfig::propagation_sync_max_accepted_size: f64",
"pub lxmf_tools::daemon::PythonLxmdConfig::propagation_transfer_max_accepted_size: f64",
"pub lxmf_tools::daemon::PythonLxmdConfig::remote_peering_cost_max: i64"
]
}
}