Warn channels for delayed log rx

This commit is contained in:
Janez T
2026-03-13 20:32:07 +01:00
parent 9f31f50e61
commit e7a481f97b
8 changed files with 174 additions and 14 deletions

View File

@@ -420,12 +420,17 @@ class _ContactTraceSheetState extends State<ContactTraceSheet> {
),
)
.toList();
final alignedRelayNodes = TraceNodeResolver.alignPathSelections(
nodes: matchedRelayNodes,
startNode: senderNode.node,
endNode: recipientNode.node,
);
return _ContactTraceResult(
sender: senderNode,
recipient: recipientNode,
routeHashes: routeHashes,
matchedRelayNodes: matchedRelayNodes,
matchedRelayNodes: alignedRelayNodes,
);
}

View File

@@ -531,12 +531,17 @@ class _MessageTraceSheetState extends State<MessageTraceSheet> {
senderLatLng: senderLatLng,
recipientLatLng: recipientLatLng,
);
final alignedMatched = TraceNodeResolver.alignPathSelections(
nodes: matched,
startNode: senderNode.node,
endNode: recipientNode.node,
);
return _TraceResult(
mode: TraceMode.packetPath,
sender: senderNode,
recipient: recipientNode,
pathHashes: hopHashes,
matchedPathNodes: matched,
matchedPathNodes: alignedMatched,
);
}