Merge pull request #6443 from midden-fabler/i/6442/ames-add-last-contact-scry

ames: add last-contact scry endpoint
This commit is contained in:
Josh Lehman 2023-04-05 08:11:58 -07:00 committed by GitHub
commit 938319ea87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3963,6 +3963,7 @@
:: /ax/protocol/version @ :: /ax/protocol/version @
:: /ax/peers (map ship ?(%alien %known)) :: /ax/peers (map ship ?(%alien %known))
:: /ax/peers/[ship] ship-state :: /ax/peers/[ship] ship-state
:: /ax/peers/[ship]/last-contact (unit @da)
:: /ax/peers/[ship]/forward-lane (list lane) :: /ax/peers/[ship]/forward-lane (list lane)
:: /ax/bones/[ship] [snd=(set bone) rcv=(set bone)] :: /ax/bones/[ship] [snd=(set bone) rcv=(set bone)]
:: /ax/snd-bones/[ship]/[bone] vase :: /ax/snd-bones/[ship]/[bone] vase
@ -3987,6 +3988,13 @@
?~ peer ?~ peer
[~ ~] [~ ~]
``noun+!>(u.peer) ``noun+!>(u.peer)
::
[%last-contact ~]
:^ ~ ~ %noun
!> ^- (unit @da)
?. ?=([~ %known *] peer)
~
`last-contact.qos.u.peer
:: ::
[%forward-lane ~] [%forward-lane ~]
:: ::