-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
?_ rune #24
base: main
Are you sure you want to change the base?
?_ rune #24
Conversation
See markdown file. Also, urbit/urbit#6656 (comment) should adopt this.
This procedure can be generalized to work with arbitrary ships, but it's not necessary that it be used for anyone other than our galaxy until we either start forwarding through stars, or need some keep-alive mechanism for "sticky" scry requests. Both of those are planned for the future. The current design keeps formal pings from /app/ping to the rest of the (non-galaxy) sponsorship hierarchy. These could be removed, since galaxies can statelessly forward packets from the sponsor star to the sponsee. | ||
|
||
Initially only galaxies will need to act as STUN servers, but any ship could support STUN requests. These could be used to check connectivity with other ships outside of the event loop, and, if additionally listening on a standard port, could provide useful service to applications running outside of urbit (such as webrtc clients). | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
STUN with ?_
!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's a very cool, entirely unexpected feature!
UIPS/UIP-0014.md
Outdated
|
||
## Specification | ||
|
||
See https://github.com/urbit/urbit/pull/6656 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please reproduce the spec here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, and expanded upon it
https://gist.github.com/xiphiness/f45f3d64d9aaa53831b8f9ab1c69e450 @belisarius222 here's the example you were looking for - it didn't need any changes to the hoon compiler to make it work |
@@ -0,0 +1,144 @@ | |||
--- | |||
uip: 0114 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please quote the UIP so GH doesn't parse it as octal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uip: 0114 | |
uip: "0114" |
See markdown file. Also, urbit/urbit#6656 (comment) should adopt this.