Commit Graph

15871 Commits

Author SHA1 Message Date
Elliot Glaysher
a14b6e06d3 Boot from mined comets in king.
This makes the comet mining code actually work. You can now run
king with `new --comet` to mine a new comet and get it on the
network. Mining appears to be significantly faster; I've had to
wait up to 20 minutes with vere, but I've never needed to wait more
than 30 seconds with king.
2019-10-10 13:45:01 -07:00
Elliot Glaysher
db5ea2145d
Merge pull request #1810 from urbit/king-dawn
King dawn
2019-10-09 16:59:18 -07:00
Elliot Glaysher
006ee022b7 LGTM from Ben. 2019-10-09 16:58:54 -07:00
Elliot Glaysher
1cca039b6f First part of the code review with Ben. 2019-10-09 14:58:27 -07:00
Elliot Glaysher
a511b3aba8 Stubbed comet mining 2019-10-09 13:39:11 -07:00
Elliot Glaysher
e1ef550ffc Further fake mode cleanups. 2019-10-09 10:25:11 -07:00
Elliot Glaysher
2ccf931cb8 Remove tracing code. 2019-10-08 16:53:07 -07:00
Elliot Glaysher
72ef261ebe Binds to INADDR_ANY on real ships.
This at least gets us to "~zod is ok" and "~zod is your neighbor",
along with the landscape welcome message from ~marzod. Persistent
connectivity has problems though.
2019-10-08 16:32:47 -07:00
Elliot Glaysher
26046b63ef Thread isFake bit to Ames and condition how we send messages on it. 2019-10-08 16:18:52 -07:00
Elliot Glaysher
8cd9c690db Use the same socket for sending and receiving. 2019-10-08 15:56:32 -07:00
Elliot Glaysher
872d4b1c76 WIP: Compiles, but appears to have broken fakezod/fakenec. 2019-10-08 15:01:16 -07:00
Elliot Glaysher
4a0c2f0393 Skeleton implementation of Ames with galaxy lookup.
Needs to be moved to RIO so that I can get logging data about this.
2019-10-08 13:04:21 -07:00
Elliot Glaysher
fcdc5904e8 General cleanup. 2019-10-04 13:47:05 -07:00
Elliot Glaysher
bf8a00d8dc Retrieve entire sponsorship chains.
This retrieves the point data for not just the immediate sponsor,
but for the whole sponsorship chain. (For a moon: [galaxy star
planet], for a planet: [galaxy star], and so on.)
2019-10-04 11:54:25 -07:00
Elliot Glaysher
93e3a2e0e8 Start working through %dawn differences on a comet.
I booted a comet with vere, had it dump its keyfile, and then went
through `stack run king -- new` with that keyfile. Things were
fairly close, but there's still more to do here.

This fixes the turf uniqueness issue and makes us do less work for
things that vere didn't bother making real, like ownership
information.
2019-10-03 16:39:16 -07:00
Elliot Glaysher
6235f87579 Can now print a vere %dawn event in king's event browser. 2019-10-03 15:51:34 -07:00
Elliot Glaysher
b95c354ba3 Hook up the lite mode flag. 2019-10-03 15:41:19 -07:00
Elliot Glaysher
fbe0a78db5 Merge remote-tracking branch 'origin/king-haskell' into king-dawn 2019-10-03 15:41:09 -07:00
Elliot Glaysher
ea431e18ad Merge remote-tracking branch 'origin/master' into king-haskell
This adds minor changes to king haskell to support the new boot
event structure.
2019-10-03 11:11:27 -07:00
Jared Tobin
8920bf0dc5
meta: update contributing section in arvo readme [ci skip]
The subtree in pkg/arvo apparently still has a README in it, which had
gotten only slightly out of sync with the overall project README.  This
commit updates its 'contributing' section to point at the appropriate
contributing document.
2019-10-03 14:39:14 +04:00
Elliot Glaysher
4be3829b68 Make TLS work and get the comet sponsor list. 2019-10-02 13:55:30 -07:00
Elliot Glaysher
dd4551c996 Fix the format of the %barn event 2019-10-02 11:53:52 -07:00
Elliot Glaysher
1dd90f310b Hook up the command line flags to the serf. 2019-10-02 11:50:03 -07:00
Jared Tobin
aa8baa367c
Merge branch 'trim-vanes' (#1782)
* trim-vanes:
  updates solid pill
  arvo: clear caches in response to (high) memory pressure
  gall: clear caches in response to memory pressure
  eyre: close channels in response to memory pressure
  ford: clear caches in response to memory pressure

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-02 12:21:56 +04:00
Elliot Glaysher
ea2be11f7c Fixes the crash on planet startup. 2019-10-01 16:22:27 -07:00
Elliot Glaysher
2dfa1606f4 Fix Dawn event to be the right shape. 2019-10-01 15:26:34 -07:00
Joe Bryan
f1804bdab5 updates solid pill 2019-10-01 15:22:07 -07:00
Joe Bryan
22ddd4aeb5 arvo: clear caches in response to (high) memory pressure 2019-10-01 15:04:13 -07:00
Joe Bryan
ef959e0c52 gall: clear caches in response to memory pressure 2019-10-01 15:04:07 -07:00
Joe Bryan
1e9cc07649 eyre: close channels in response to memory pressure 2019-10-01 15:04:03 -07:00
Elliot Glaysher
0de09bb97b Reorganize the king new command line flags to boot from keyfiles.
(Ships booted from keyfiles are still in an invalid dill state.)
2019-10-01 14:44:14 -07:00
Elliot Glaysher
16440eaeb5 Fix TermEfInit so it takes a Ship instead of null 2019-10-01 11:36:46 -07:00
Joe Bryan
8ff445c68c ford: clear caches in response to memory pressure 2019-10-01 11:35:08 -07:00
Elliot Glaysher
d96bf9bb52 Booting fake ships other than zod 2019-10-01 11:23:34 -07:00
Jared Tobin
515bfcd312
Merge branch 'la-permission-groups' (#1763)
* la-permission-groups:
  hood: start up groups and permissions
  apps: added group/permission stores, hooks, marks

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-01 14:48:36 +04:00
Logan Allen
ee92862785 hood: start up groups and permissions 2019-09-30 16:43:09 -07:00
Logan Allen
4b01718d76 apps: added group/permission stores, hooks, marks 2019-09-30 14:46:07 -07:00
Jared Tobin
cacf1f7e74
Merge branch 'jt-axe-gall-printf' (#1780)
* jt-axe-gall-printf:
  gall: remove %gall-booting printf

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-30 11:24:45 +04:00
benjamin-tlon
d2e2e08501
Merge pull request #1772 from urbit/king-dont-use-files
Don't write files to disk during testing.
2019-09-29 20:07:33 -07:00
Jared Tobin
21c3119660
gall: remove %gall-booting printf
%gall currently prints

  [%gall-booting <app> p=<ship> q=<desk>]

whenever it receives a %conf (i.e., when it boots an app).  This turns
up in many of the places the old, less-informative '%mo-not-running'
printf did, but it's of similarly little use, and mainly serves to
create redundant line noise.  This commit just removes it.
2019-09-30 01:58:28 +04:00
Jared Tobin
846bd8982f
Merge branch 'la-zuse-additions' (#1757)
* la-zuse-additions:
  zuse: added path, tank, string utils to en/dejs

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-30 01:34:26 +04:00
Logan Allen
166465af59
zuse: added path, tank, string utils to en/dejs 2019-09-30 01:31:46 +04:00
Jared Tobin
b330fb4a8d
Merge branch 'safe-memo' (#1780)
* safe-memo:
  u3: refactors memoization patterns for safer rc

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-30 00:50:30 +04:00
Jared Tobin
2add146302
Merge branch 'reclamation' (#1773)
* reclamation:
  solid pill
  arvo: wires up %trim memory-pressure event stubs
  u3: wires up the %trim event in the daemon
  u3: adds %trim memory-pressure notification "effect"
  u3: tweaks |mass output (and fixes inadvertent truncation)
  u3: refactors periodic memory reclamation
  u3: factors out u3a_idle() to measure free-lists in a road
  u3: adds and uses u3a_full/heap/temp road macros
  u3: cleans up whitespace, removes dead code in allocator
2019-09-29 21:30:56 +04:00
Jared Tobin
5c99f33271
Merge branch 'ted/verb' (#1754)
* ted/verb:
  update pill
  hood: |knob {tag} {level} to set dill verbosity
  dill: set verbosity by error tag
2019-09-29 21:09:05 +04:00
Ted Blackman
f222ca49fb
update pill 2019-09-29 20:45:23 +04:00
Ted Blackman
0bf9e98d08
hood: |knob {tag} {level} to set dill verbosity 2019-09-29 20:45:10 +04:00
Jared Tobin
2694d04a51
contributing: add note on hotfixes [ci skip] 2019-09-28 14:44:50 +04:00
Joe Bryan
9896f3d16f u3: refactors memoization patterns for safer rc
specifically, avoiding uncounted references when
memoizing in the compiler
2019-09-27 17:02:27 -07:00
Elliot Glaysher
51126ec1d4 Make the Behn tests less noisy. 2019-09-27 13:21:07 -07:00