From bacbfd71ac0a1b277c250d620c68cb408d2d0cf8 Mon Sep 17 00:00:00 2001 From: midden-fabler Date: Tue, 4 Apr 2023 02:50:09 -0400 Subject: [PATCH 1/2] add last-contact scry endpoint --- pkg/arvo/sys/vane/ames.hoon | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/arvo/sys/vane/ames.hoon b/pkg/arvo/sys/vane/ames.hoon index 5f09500fd..b00d2e845 100644 --- a/pkg/arvo/sys/vane/ames.hoon +++ b/pkg/arvo/sys/vane/ames.hoon @@ -3987,6 +3987,13 @@ ?~ peer [~ ~] ``noun+!>(u.peer) + :: + [%last-contact ~] + :^ ~ ~ %noun + !> ^- (unit @da) + ?. ?=([~ %known *] peer) + ~ + `last-contact.qos.u.peer :: [%forward-lane ~] :: From d8ad34f0fc0a1d33494f201f66aee9f822ecb511 Mon Sep 17 00:00:00 2001 From: midden-fabler Date: Tue, 4 Apr 2023 03:06:22 -0400 Subject: [PATCH 2/2] update scry path listing --- pkg/arvo/sys/vane/ames.hoon | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/arvo/sys/vane/ames.hoon b/pkg/arvo/sys/vane/ames.hoon index b00d2e845..e6b1c7e08 100644 --- a/pkg/arvo/sys/vane/ames.hoon +++ b/pkg/arvo/sys/vane/ames.hoon @@ -3963,6 +3963,7 @@ :: /ax/protocol/version @ :: /ax/peers (map ship ?(%alien %known)) :: /ax/peers/[ship] ship-state + :: /ax/peers/[ship]/last-contact (unit @da) :: /ax/peers/[ship]/forward-lane (list lane) :: /ax/bones/[ship] [snd=(set bone) rcv=(set bone)] :: /ax/snd-bones/[ship]/[bone] vase