mirror of
https://github.com/urbit/shrub.git
synced 2024-12-12 10:29:01 +03:00
15 lines
363 B
Plaintext
15 lines
363 B
Plaintext
:: Print most recently seen ethereum block
|
|
::
|
|
:: Note we require 30 confirmation blocks, so we should expect to have
|
|
:: processed only those blocks which are this number minus 30.
|
|
::
|
|
:- %say
|
|
|= [[now=@da @ our=@p ^] *]
|
|
:- %tang
|
|
=; block=@ud
|
|
[leaf+(scow %ud block)]~
|
|
.^ @ud
|
|
%gx
|
|
/(scot %p our)/eth-watcher/(scot %da now)/block/azimuth-tracker/noun
|
|
==
|