mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 20:47:27 +03:00
pill: update solid
This commit is contained in:
parent
23e09ed5a0
commit
792d42d9cc
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:38f5a8c55b699c99a8fa2e0315ed0a63ba80e4c1c18dcbb85b3af3c4bf1e36f0
|
||||
size 6786502
|
||||
oid sha256:5b00a1700d3d4abd17239ec6c1117a22ddce7e901d68a85345b8f14be8531bf8
|
||||
size 6886260
|
||||
|
@ -1982,7 +1982,6 @@
|
||||
|=([@da =duct] ?=([[%ames %recork *] *] duct))
|
||||
::
|
||||
?> ?=(%18 -.u.cached-state)
|
||||
:: TODO: review keygen
|
||||
=. ames-state.adult-gate +.u.cached-state
|
||||
[moz larval-core(cached-state ~)]
|
||||
--
|
||||
@ -3152,11 +3151,10 @@
|
||||
=/ key=@ (shaz eny) :: TODO: check key width
|
||||
=/ num=@ud
|
||||
?~ latest=(pry:on:chain chain.ames-state)
|
||||
0
|
||||
1
|
||||
.+(key.u.latest)
|
||||
=. chain.ames-state
|
||||
(put:on:chain chain.ames-state num [key path])
|
||||
=. atlas.ames-state (~(put by atlas.ames-state) [vane path] num)
|
||||
(emit duct %give %stub num key)
|
||||
:: +on-trim: handle request to free memory
|
||||
::
|
||||
@ -3194,6 +3192,9 @@
|
||||
=/ lav /a/x/(scot %ud idx.u.sec)//fine/shut/[enc]
|
||||
=/ wir /fine/shut/(scot %ud idx.u.sec)
|
||||
(emit duct %pass wir %a %keen ~ ship lav)
|
||||
:: XX: key exchange over ames forces all encrypted scries to be
|
||||
:: to a known peer
|
||||
?> ?=(~ sec)
|
||||
%^ enqueue-alien-todo ship ship-state
|
||||
|= todos=alien-agenda
|
||||
todos(keens (~(put ju keens.todos) path duct))
|
||||
|
@ -43,5 +43,4 @@
|
||||
!> -.res
|
||||
::
|
||||
[output +.res]
|
||||
++ test-
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user