shrub/pkg/arvo/sur/post.hoon
2020-06-23 14:01:04 -04:00

38 lines
701 B
Plaintext

/- *resource
|%
+$ atom @u
+$ index (list atom)
+$ uid [=resource =index]
::
:: mug hash of +validated-portion
+$ hash @ux
::
+$ signature [p=@ux q=ship r=life]
+$ signatures (set signature)
+$ post
$: author=ship
=index
time-sent=time
contents=(list content)
hash=(unit hash)
=signatures
==
::
+$ validated-portion
$: parent-hash=(unit hash)
author=ship
=index
time-sent=time
contents=(list content)
==
::
+$ content
$% [%text text=cord]
[%url url=cord]
[%code expression=cord output=(list tank)]
[%reference =uid]
:: TODO: maybe use a cask?
::[%cage =cage]
==
--