b5a9a7d538
Scries were being prioritized over events, in the IPC queue. If scry requests came in faster than we could process them (as is easily the case for ames forward requests), this would cause scries to completely clog the IPC queue, preventing any events from being processed at all. The short-term solution implemented here is to simply alternate between scry requests and events when building/sending a work batch. To accomplish this, we separate scry requests into their own queue. We keep this in pier.c, and pass them on to lord.c interleaved with regular events in _pier_work_send. The interleaving of regular events (as opposed to doing scries with the highest priority) complicates the situation around auto-filled scry cases (for scrying at "the latest timestamp"). To ensure we're always scrying at a sane latest timestamp, we keep a queue of u3_pico, instead of fully-qualified scry requests. Where necessary, lord.c fills in the missing path elements right before sending it over the pipe. |
||
---|---|---|
.github/ISSUE_TEMPLATE | ||
bin | ||
doc/spec | ||
extras | ||
nix | ||
pkg | ||
sh | ||
.gitattributes | ||
.gitignore | ||
.ignore | ||
.mailmap | ||
.stylish-haskell.yaml | ||
.travis.yml | ||
CONTRIBUTING.md | ||
default.nix | ||
LICENSE.txt | ||
MAINTAINERS.md | ||
Makefile | ||
README.md |
Urbit
A personal server operating function.
The Urbit address space, Azimuth, is now live on the Ethereum blockchain. You can find it at
0x223c067f8cf28ae173ee5cafea60ca44c335fecb
orazimuth.eth
. Owners of Azimuth points (galaxies, stars, or planets) can view or manage them using Bridge, and can also use them to boot Arvo, the Urbit OS.
Install
To install and run Urbit, please follow the instructions at urbit.org/docs/getting-started/. You'll be on the live network in a few minutes.
If you're interested in Urbit development, keep reading.
Development
Urbit uses Nix to manage builds. On Linux and macOS you can install Nix via:
curl -L https://nixos.org/nix/install | sh
The Makefile in the project's root directory contains useful phony targets for building, installing, testing, and so on. You can use it to avoid dealing with Nix explicitly.
To build Urbit, for example, use:
make build
The test suite can similarly be run via a simple:
make test
Note that some of the Makefile targets need access to pills tracked via git LFS, so you'll also need to have those available locally:
git lfs install
git lfs pull
Contributing
Contributions of any form are more than welcome! Please take a look at our contributing guidelines for details on our git practices, coding styles, how we manage issues, and so on.
You might also be interested in:
- joining the urbit-dev mailing list.
- applying to Hoon School, a course we run to teach the Hoon programming language and Urbit application development.