mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 20:31:40 +03:00
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:
commit
938319ea87
@ -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
|
||||
@ -3987,6 +3988,13 @@
|
||||
?~ peer
|
||||
[~ ~]
|
||||
``noun+!>(u.peer)
|
||||
::
|
||||
[%last-contact ~]
|
||||
:^ ~ ~ %noun
|
||||
!> ^- (unit @da)
|
||||
?. ?=([~ %known *] peer)
|
||||
~
|
||||
`last-contact.qos.u.peer
|
||||
::
|
||||
[%forward-lane ~]
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user