Skip to content

Commit

Permalink
mar file added, bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
YunPearce committed Jan 24, 2024
1 parent bc20f98 commit e000365
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
5 changes: 4 additions & 1 deletion desk/app/near-gateways.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,21 @@
^+ that
?+ path ~|(bad-watch-path+path !!)
[%~.~ %gossip %source ~] that
==
==
++ agent
|= [=wire =sign:agent:gall]
^+ that
?+ wire ~|(bad-agent-wire+wire !!)
[%~.~ %gossip %gossip ~]
~& >> [wire sign]
?+ -.sign ~|([%unexpected-gossip-sign -.sign] !!)
%fact
=* mark p.cage.sign
=* vase q.cage.sign
?. =(%metadata mark) that
::add new gateway to heard
~& >> 'got fact'
~& >> !<([id=identifier =metadata] vase)
=+ !<([id=identifier =metadata] vase)
=. heard (~(put by heard) id metadata)
that
Expand Down
11 changes: 11 additions & 0 deletions desk/mar/gossip/rumor.hoon
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
|_ rum=[[@ *] (cask *)]
++ grad %noun
++ grow
|%
++ noun rum
--
++ grab
|%
++ noun ,[[@ *] (cask *)]
--
--
2 changes: 1 addition & 1 deletion desk/mar/near/metadata.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
--
++ grab
|%
++ noun [identifier metadata]
++ noun ,[identifier metadata]
--
--

0 comments on commit e000365

Please sign in to comment.