kiln: produce one base-hash via scry

This commit is contained in:
Philip Monk 2020-12-04 00:37:28 -08:00
parent 036b4546fc
commit 28010d3599
No known key found for this signature in database
GPG Key ID: B66E1F02604E44EC

View File

@ -109,10 +109,12 @@
++ on-peek
|= =path
^- (unit (unit cage))
?+ path [~ ~]
[%x %kiln %ota ~] ``noun+!>(ota)
[%x %kiln %our ~] ``noun+!>(our)
[%x %kiln %base-hash ~] ``noun+!>((base-hash:version our now))
?+ path [~ ~]
[%x %kiln %ota ~] ``noun+!>(ota)
[%x %kiln %our ~] ``noun+!>(our)
[%x %kiln %base-hash ~]
=/ ver (base-hash:version our now)
``noun+!>(?~(ver 0v0 i.ver))
==
::
++ poke-commit