mirror of
https://github.com/ratspeak/rsReticulum
synced 2026-11-22 23:10:33 +00:00
api: approve and document the 1.5.1 DestinationError, held-announce, and tunnel synthesis changes
This commit is contained in:
1 parent
0ce5a12a65
commit
5e35c9f9d9
2 files changed
+10
-2
No files matched your search
@@ -106,6 +106,7 @@ control it.
|
||||
| `DiscoveryInterfaceConfig::backbone(String, ..)`, `DiscoveryInterfaceConfig::name: String` | `Option<String>`; `None` sends nil | `interface.discovery_name` may be unset (`RNS/Discovery.py:173`) |
|
||||
| `DiscoveryInterfaceConfig::modulation`, `DiscoveryInfo::modulation: Option<String>` | `Option<DiscoveryModulation>` | |
|
||||
| `PipeInterfaceConfig::respawn_delay: u64` | `f64` seconds | `c.as_float("respawn_delay")` (`RNS/Interfaces/PipeInterface.py:68`) |
|
||||
| `TunnelIdentity::synthesis(&self, name)` (1.5.1) | removed; a client interface asks transport (`TransportMessage::SynthesizeTunnel`), which signs with the identity from `SetTunnelIdentity` | the synthesis carries transport's signed costs and status (`RNS/Transport.py:3170`) |
|
||||
|
||||
`ble_peer::RATSPEAK_SERVICE_UUID`, `RATSPEAK_RX_UUID`, `RATSPEAK_TX_UUID`, and
|
||||
`RATSPEAK_ID_UUID` now hold the peer mesh's own UUIDs, service
|
||||
@@ -138,6 +139,8 @@ hardware MTU (`RNS/Interfaces/Interface.py:255-267`). Build them with `new`.
|
||||
| `constants::ANNOUNCE_CACHE_SWEEP_GRACE_SECS`, `constants::LINKS_CHECK_INTERVAL` | removed | |
|
||||
| `TransportActor::packet_metrics`, `packet_metrics_order` | `TransportQuery::GetPacketRssi`, `GetPacketSnr`, `GetPacketQ` | |
|
||||
| `InterfaceStatRpcEntry::ifac_size: usize` | `Option<usize>`; `None`, like `ifac_netname` and `ifac_signature`, for an interface without IFAC | `get_interface_stats()` (`RNS/Reticulum.py`) |
|
||||
| `IngressController::hold_announce(..)` returning `()` (1.5.1) | returns `HoldOutcome` (`Held`, `Replaced`, `Refused`); `is_filtered()` says whether the announce counts as filtered | a dropped or replaced held announce is filtered (`RNS/Interfaces/Interface.py:297-306`) |
|
||||
| `TransportMessage::SynthesizeTunnel { interface_id, raw_packet }` (1.5.1) | `SynthesizeTunnel { interface_id }`; the actor builds the synthesis | it carries signed costs, version, and transport status (`RNS/Transport.py:3170`) |
|
||||
| `TimerTick { timestamp }` | `TimerTick`, with no fields | |
|
||||
| `discovery::storage::classify(u64)`, `DiscoveredInterface::{discovered,last_heard}: u64` | `f64` timestamps | `time.time()` (`RNS/Discovery.py:604`) |
|
||||
| `discovery::build_local_manifest` | `build_manifest` | |
|
||||
@@ -420,6 +423,7 @@ constructor and match them with a wildcard arm:
|
||||
- **rns-runtime:** `InitOptions`, `ReticulumConfig`, `LinkManagerCommand`,
|
||||
`RnshError`.
|
||||
- **rns-link:** `CloseReason`.
|
||||
- **rns-identity:** `DestinationError`, from 1.5.1, which adds `AnnounceTooLarge`.
|
||||
|
||||
Exhaustive literals and matches over these types need updating:
|
||||
|
||||
@@ -443,8 +447,7 @@ Exhaustive literals and matches over these types need updating:
|
||||
`InboundTransfer`, `OutboundTransfer`, `MultiSegmentInbound`.
|
||||
- **rns-interface:** TCP, Backbone, Local, RNode, and BLE configs;
|
||||
`TcpInterfaceState`.
|
||||
- **rns-identity and rns-crypto:** `IdentityError`, `DestinationError`,
|
||||
`HkdfError`.
|
||||
- **rns-identity and rns-crypto:** `IdentityError`, `HkdfError`.
|
||||
|
||||
## Behaviour and configuration an operator sees
|
||||
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
"rns-identity": [
|
||||
"impl core::default::Default for rns_identity::ratchet::ReceivedRatchetStore",
|
||||
"impl rns_identity::ratchet::ReceivedRatchetStore",
|
||||
"pub enum rns_identity::destination::DestinationError",
|
||||
"pub fn rns_identity::ratchet::ReceivedRatchetStore::clean_expired(&mut self)",
|
||||
"pub fn rns_identity::ratchet::ReceivedRatchetStore::current_ratchet_id(&mut self, &[u8; 16]) -> core::option::Option<alloc::vec::Vec<u8>>",
|
||||
"pub fn rns_identity::ratchet::ReceivedRatchetStore::default() -> Self",
|
||||
@@ -248,6 +249,7 @@
|
||||
"pub fn rns_transport::discovery::stamper::NullStamper::valid(&self, &[u8; 32], &[u8], u8) -> bool",
|
||||
"pub fn rns_transport::discovery::stamper::NullStamper::value(&self, &[u8; 32], &[u8]) -> u8",
|
||||
"pub fn rns_transport::discovery::storage::classify(u64) -> rns_transport::discovery::storage::DiscoveryStatus",
|
||||
"pub fn rns_transport::ingress::IngressController::hold_announce(&mut self, rns_transport::ingress::HeldAnnounce)",
|
||||
"pub fn rns_transport::ingress::IngressController::incoming_announce_frequency(&self) -> f64",
|
||||
"pub fn rns_transport::ingress::IngressController::incoming_pr_frequency(&self) -> f64",
|
||||
"pub fn rns_transport::ingress::IngressController::outgoing_announce_frequency(&self) -> f64",
|
||||
@@ -405,6 +407,7 @@
|
||||
"pub rns_transport::link_table::LinkEntry::validated: bool",
|
||||
"pub rns_transport::messages::InterfaceStatRpcEntry::ifac_size: usize",
|
||||
"pub rns_transport::messages::TimerTick::timestamp: f64",
|
||||
"pub rns_transport::messages::TransportMessage::SynthesizeTunnel::raw_packet: bytes::bytes::Bytes",
|
||||
"pub rns_transport::persistence::LegacyPersistedAnnounceEntryV5::app_data: core::option::Option<alloc::vec::Vec<u8>>",
|
||||
"pub rns_transport::persistence::LegacyPersistedAnnounceEntryV5::destination_hash: alloc::vec::Vec<u8>",
|
||||
"pub rns_transport::persistence::LegacyPersistedAnnounceEntryV5::hops: u8",
|
||||
@@ -458,6 +461,7 @@
|
||||
"pub fn rns_protocol::resource::WindowState::grow(&mut self, usize)"
|
||||
],
|
||||
"rns-interface": [
|
||||
"impl rns_interface::traits::TunnelIdentity",
|
||||
"pub async fn rns_interface::auto::spawn_auto_interface(rns_interface::auto::AutoInterfaceConfig, rns_interface::traits::InterfaceId, tokio::sync::mpsc::bounded::Sender<rns_transport::messages::TransportMessage>, alloc::sync::Arc<core::sync::atomic::AtomicBool>) -> core::result::Result<rns_interface::traits::InterfaceHandle, rns_interface::traits::InterfaceError>",
|
||||
"pub const rns_interface::backbone::CHILD_BITRATE_GUESS: u64",
|
||||
"pub const rns_interface::i2p::RECONNECT_WAIT_MAX: u64",
|
||||
@@ -465,6 +469,7 @@
|
||||
"pub const rns_interface::tcp::RECONNECT_WAIT_MAX: u64",
|
||||
"pub const rns_interface::traits::IC_BURST_MIN_SAMPLES: usize",
|
||||
"pub fn rns_interface::rnode::process_rnode_response(u8, &[u8], rns_interface::traits::InterfaceId, &mut core::option::Option<f32>, &mut core::option::Option<f32>) -> rns_interface::rnode::RNodeResponse",
|
||||
"pub fn rns_interface::traits::TunnelIdentity::synthesis(&self, &str) -> core::option::Option<bytes::bytes::Bytes>",
|
||||
"pub rns_interface::backbone::BackboneServerConfig::listen_ip: alloc::string::String",
|
||||
"pub rns_interface::ble_rnode::BleRNodeConfig::lt_alock: core::option::Option<f32>",
|
||||
"pub rns_interface::ble_rnode::BleRNodeConfig::st_alock: core::option::Option<f32>",
|
||||
|
||||
Reference in new issue
Block a user