bug fixing and deploy and build diagnostics
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// WIP mesh/transport protocol — suppress dead code warnings
|
||||
#![allow(dead_code)]
|
||||
//! Chunked message protocol with Reed-Solomon FEC for LoRa transport.
|
||||
//!
|
||||
//! Splits payloads larger than a single LoRa frame (160 bytes) into
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WIP mesh/transport protocol — suppress dead code warnings
|
||||
#![allow(dead_code)]
|
||||
//! CBOR delta encoding for federation state sync.
|
||||
//!
|
||||
//! Instead of sending a full NodeStateSnapshot (~500-2000 bytes JSON) on every
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WIP mesh/transport protocol — suppress dead code warnings
|
||||
#![allow(dead_code)]
|
||||
//! LAN transport — peer discovery via mDNS and direct HTTP messaging.
|
||||
//!
|
||||
//! Advertises this node as `_archipelago._tcp.local.` with TXT records
|
||||
@@ -12,8 +14,7 @@ use mdns_sd::{ServiceDaemon, ServiceEvent, ServiceInfo};
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
use tokio::sync::RwLock;
|
||||
use tracing::{debug, info, warn};
|
||||
use tracing::{debug, info};
|
||||
|
||||
const SERVICE_TYPE: &str = "_archipelago._tcp.local.";
|
||||
const DEFAULT_PORT: u16 = 5678;
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
// WIP mesh/transport protocol — suppress dead code warnings
|
||||
#![allow(dead_code)]
|
||||
//! Mesh transport — sends messages via LoRa radio through the MeshService.
|
||||
//!
|
||||
//! Bridges the transport abstraction to the existing mesh serial listener.
|
||||
//! For payloads exceeding the LoRa frame limit (160 bytes), uses the chunking
|
||||
//! protocol with Reed-Solomon FEC for reliable delivery.
|
||||
|
||||
use super::chunking::{self, ChunkReassembler, MAX_CHUNK_PAYLOAD};
|
||||
use super::chunking::{self, ChunkReassembler};
|
||||
use super::{NodeTransport, TransportKind, TransportMessage};
|
||||
use crate::mesh::MeshService;
|
||||
use anyhow::{Context, Result};
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WIP mesh/transport protocol — suppress dead code warnings
|
||||
#![allow(dead_code)]
|
||||
//! Transport abstraction layer for Archipelago node-to-node communication.
|
||||
//!
|
||||
//! Unifies mesh radio (LoRa), LAN (mDNS), and Tor under a common trait.
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
// WIP mesh/transport protocol — suppress dead code warnings
|
||||
#![allow(dead_code)]
|
||||
//! Tor transport — sends messages via HTTP POST through SOCKS5 proxy.
|
||||
//!
|
||||
//! Wraps the existing `node_message.rs` Tor messaging logic behind
|
||||
//! the `NodeTransport` trait.
|
||||
|
||||
use super::{MessageType, NodeTransport, TransportKind, TransportMessage};
|
||||
use super::{NodeTransport, TransportKind, TransportMessage};
|
||||
use anyhow::{Context, Result};
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::time::Duration;
|
||||
|
||||
Reference in New Issue
Block a user