gall: add %gn to scry the nonce of a subscription

This commit is contained in:
yosoyubik 2022-05-16 10:27:36 +02:00
parent 20a5f0701c
commit 586fecef10

View File

@ -2006,6 +2006,19 @@
acc
(~(put in acc) [dude -.agent.yoke])
::
?: ?& =(%n care)
?=([@ @ ^] path)
=([%$ %da now] coin)
=(our ship)
==
?~ yok=(~(get by yokes.state) dap)
[~ ~]
=/ [=^ship =term =wire]
[(slav %p i.path) i.t.path t.t.path]
?~ nonce=(~(get by beat.watches.u.yok) [wire ship term])
[~ ~]
[~ ~ atom+!>(u.nonce)]
::
?. =(our ship)
~
?. =([%$ %da now] coin)