From d7e3d9f8310aa40903f43272fbb30f37a1f68c2b Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 9 Nov 2026 05:20:44 +0000 Subject: dashboard: the transport each message went by, in the console The console said with whom a message went, not how: the message log was noted above the identity layer (`CountingTransport`), where a message is to or from a node, and the address it went to (the paths layer picks one, `Paths::send_first`) or came from is gone. Only the paths layer's own PINGs and PONGs, logged under their addresses, had one. Now the identity layer notes the node's messages (`MessageLog::set_addressed`), with the address each went to (`IdentityTransport::send_proven` returns it) or came from; `CountingTransport` leaves them to it, and still notes them where there is no identity layer (tests). A console line ends with the transport (the address's scheme, in its colour on the map, the address in the tooltip), and the figures box shows the address. A subscribed node's messages carry theirs too, and the map runs every message along its transport's line, not only the PINGs and PONGs. --- src/transport/paths.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport/paths.rs') diff --git a/src/transport/paths.rs b/src/transport/paths.rs index a830143..f425216 100644 --- a/src/transport/paths.rs +++ b/src/transport/paths.rs @@ -987,7 +987,7 @@ impl Paths { let way = if sent.is_ok() { "sent" } else { "refused" }; traffic .log - .note(way, address, &message, encoded.payload_len); + .note(way, address, None, &message, encoded.payload_len); } sent } -- cgit v1.3.1