diff --git a/desk/app/near-gateways.hoon b/desk/app/near-gateways.hoon index aca0d7e7c..63540a6b0 100644 --- a/desk/app/near-gateways.hoon +++ b/desk/app/near-gateways.hoon @@ -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 diff --git a/desk/mar/gossip/rumor.hoon b/desk/mar/gossip/rumor.hoon new file mode 100644 index 000000000..8f1cb3fed --- /dev/null +++ b/desk/mar/gossip/rumor.hoon @@ -0,0 +1,11 @@ +|_ rum=[[@ *] (cask *)] +++ grad %noun +++ grow + |% + ++ noun rum + -- +++ grab + |% + ++ noun ,[[@ *] (cask *)] + -- +-- diff --git a/desk/mar/near/metadata.hoon b/desk/mar/near/metadata.hoon index 483dd978f..b74c59952 100644 --- a/desk/mar/near/metadata.hoon +++ b/desk/mar/near/metadata.hoon @@ -7,6 +7,6 @@ -- ++ grab |% - ++ noun [identifier metadata] + ++ noun ,[identifier metadata] -- --