Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Commit

Permalink
Misc. jael notes and improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Fang committed Aug 30, 2018
1 parent e752a70 commit 37e0933
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions sys/vane/jael.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,8 @@
|= [new=? evs=logs]
^+ +>
=? +> new
::TODO should we be mutating state here,
:: or better to move this into ++vent:feel?
+>(dns.eth *dnses, hul.eth ~, kyz.puk ~)
=? +> |(new !=(0 ~(wyt by evs)))
%- vent:feel
Expand Down Expand Up @@ -1152,6 +1154,7 @@
::
:: sanity checks, should never fail if we operate correctly
::
~| %diff-order-insanity
?> ?+ -.dif &
%spawned ?> ?=(^ kid.hul)
!(~(has in spawned.u.kid.hul) who.dif)
Expand Down Expand Up @@ -1512,9 +1515,11 @@
::
:: +| filter-results
::
:: +wake: kick polling
:: +wake: kick polling, unless we changed source
::
++ wake poll-filter
++ wake
?. ?=(%| -.source) .
poll-filter
::
:: +sigh: parse rpc response and process it
::
Expand Down

0 comments on commit 37e0933

Please sign in to comment.