mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 04:58:08 +03:00
ames: try sponsors above .our
This commit is contained in:
parent
e9ba500ee4
commit
3779cca5a9
@ -1532,8 +1532,8 @@
|
|||||||
(emit duct %pass /public-keys %j %public-keys [n=ship ~ ~])
|
(emit duct %pass /public-keys %j %public-keys [n=ship ~ ~])
|
||||||
:: +send-blob: fire packet at .ship and maybe sponsors
|
:: +send-blob: fire packet at .ship and maybe sponsors
|
||||||
::
|
::
|
||||||
:: Send to .ship and sponsors until we find a direct lane or
|
:: Send to .ship and sponsors until we find a direct lane,
|
||||||
:: encounter .our in the sponsorship chain.
|
:: skipping .our in the sponsorship chain.
|
||||||
::
|
::
|
||||||
:: If we have no PKI data for a recipient, enqueue the packet and
|
:: If we have no PKI data for a recipient, enqueue the packet and
|
||||||
:: request the information from Jael if we haven't already.
|
:: request the information from Jael if we haven't already.
|
||||||
@ -1552,6 +1552,9 @@
|
|||||||
::
|
::
|
||||||
=/ =peer-state +.u.ship-state
|
=/ =peer-state +.u.ship-state
|
||||||
::
|
::
|
||||||
|
?: =(our ship)
|
||||||
|
(try-next-sponsor sponsor.peer-state)
|
||||||
|
::
|
||||||
?~ route=route.peer-state
|
?~ route=route.peer-state
|
||||||
(try-next-sponsor sponsor.peer-state)
|
(try-next-sponsor sponsor.peer-state)
|
||||||
::
|
::
|
||||||
@ -1568,8 +1571,6 @@
|
|||||||
::
|
::
|
||||||
?: =(ship sponsor)
|
?: =(ship sponsor)
|
||||||
event-core
|
event-core
|
||||||
?: =(our sponsor)
|
|
||||||
event-core
|
|
||||||
^$(ship sponsor)
|
^$(ship sponsor)
|
||||||
--
|
--
|
||||||
:: +attestation-packet: generate signed self-attestation for .her
|
:: +attestation-packet: generate signed self-attestation for .her
|
||||||
|
Loading…
Reference in New Issue
Block a user