mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 18:12:47 +03:00
added read logic and more printfs
This commit is contained in:
parent
10a150d5c2
commit
75c2ccf6ed
@ -138,6 +138,7 @@
|
||||
++ peer
|
||||
|= wir=wire
|
||||
^- (quip move _this)
|
||||
~& peer-prize+str.sta
|
||||
:_ this
|
||||
[ost.bol %diff %collections-prize str.sta]~
|
||||
::
|
||||
@ -384,6 +385,17 @@
|
||||
%= this
|
||||
circles.str.sta (~(put by circles.str.sta) circ `conf)
|
||||
==
|
||||
::
|
||||
:: %read: recieved a read reciept
|
||||
::
|
||||
%read
|
||||
?. =([our.bol %inbox] cir.rum.rum)
|
||||
[~ this]
|
||||
?> ?=(^ con.inbox.str.sta)
|
||||
:- ~
|
||||
%= this
|
||||
red.u.con.inbox.str.sta red.dif.rum.rum
|
||||
==
|
||||
==
|
||||
==
|
||||
::
|
||||
@ -428,6 +440,16 @@
|
||||
%= this
|
||||
circles.str.sta (~(put by circles.str.sta) circ `conf)
|
||||
==
|
||||
::
|
||||
:: %read: recieved a read reciept
|
||||
::
|
||||
%read
|
||||
=/ conf (need (~(got by circles.str.sta) circ))
|
||||
=. red.conf red.dif.rum.rum
|
||||
:- ~
|
||||
%= this
|
||||
circles.str.sta (~(put by circles.str.sta) circ `conf)
|
||||
==
|
||||
==
|
||||
==
|
||||
==
|
||||
|
@ -729,6 +729,9 @@
|
||||
^- {? _.}
|
||||
=+ suy=(fall (~(get by qel.ged) ost) 0)
|
||||
?: =(20 suy)
|
||||
~& %'----------------------------------------------------------------'
|
||||
~& %'AP-FILL-FULL'
|
||||
~& %'----------------------------------------------------------------'
|
||||
:: ~& [%ap-fill-full [our dap] q.q.pry ost]
|
||||
[%| +]
|
||||
:: ~? !=(20 suy) [%ap-fill-add [[our dap] q.q.pry ost] +(suy)]
|
||||
|
Loading…
Reference in New Issue
Block a user