mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 06:35:32 +03:00
add eth-status scry to get latest block
This commit is contained in:
parent
155f82b87f
commit
5b192b7a65
@ -2377,6 +2377,12 @@
|
||||
:^ ~ ~ %noun
|
||||
!> ^- (list ship)
|
||||
(~(saxo of [our now eny] lex) u.who)
|
||||
::
|
||||
%eth-status
|
||||
?. ?=(~ tyl) [~ ~]
|
||||
:^ ~ ~ %noun !>
|
||||
^- [latest-block=@ud source=(each ship node-src)]
|
||||
[latest-block.etn.lex source.etn.lex]
|
||||
::
|
||||
%snap
|
||||
?. ?=(~ tyl) [~ ~]
|
||||
|
Loading…
Reference in New Issue
Block a user