ames: try sponsors above .our

This commit is contained in:
Ted Blackman 2019-11-27 23:06:39 -05:00
parent e9ba500ee4
commit 3779cca5a9

View File

@ -1532,8 +1532,8 @@
(emit duct %pass /public-keys %j %public-keys [n=ship ~ ~])
:: +send-blob: fire packet at .ship and maybe sponsors
::
:: Send to .ship and sponsors until we find a direct lane or
:: encounter .our in the sponsorship chain.
:: Send to .ship and sponsors until we find a direct lane,
:: skipping .our in the sponsorship chain.
::
:: If we have no PKI data for a recipient, enqueue the packet and
:: request the information from Jael if we haven't already.
@ -1552,6 +1552,9 @@
::
=/ =peer-state +.u.ship-state
::
?: =(our ship)
(try-next-sponsor sponsor.peer-state)
::
?~ route=route.peer-state
(try-next-sponsor sponsor.peer-state)
::
@ -1568,8 +1571,6 @@
::
?: =(ship sponsor)
event-core
?: =(our sponsor)
event-core
^$(ship sponsor)
--
:: +attestation-packet: generate signed self-attestation for .her