mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 15:08:34 +03:00
gen: add +gall-nonces for reading all next nonces
This commit is contained in:
parent
81f18d13ad
commit
24cf4497e9
11
pkg/arvo/gen/gall-nonces.hoon
Normal file
11
pkg/arvo/gen/gall-nonces.hoon
Normal file
@ -0,0 +1,11 @@
|
||||
:: +gall-nonces: print %gall agent subscription nonces, highest-last
|
||||
::
|
||||
:- %say
|
||||
|= [[now=@da eny=@uvJ bec=beak] ~ ~]
|
||||
:- %noun
|
||||
^- (list [dude:gall @ud])
|
||||
%+ sort
|
||||
%~ tap by
|
||||
~& bec
|
||||
.^((map dude:gall @ud) %gf /(scot %p p.bec)//(scot %da now))
|
||||
|=([[* a=@ud] [* b=@ud]] (lth a b))
|
Loading…
Reference in New Issue
Block a user