Benjamin Summers
f77840c81b
re-enable king<->serf logs
2019-12-19 01:42:49 -08:00
Benjamin Summers
a920e71aca
External terminals working well now (Lots more janky cherry picking from king-daemon branch)
2019-12-17 10:06:20 -08:00
Benjamin Summers
c579335288
Hacky code to get king con
to connect to King API server.
2019-12-17 08:55:10 -08:00
Benjamin Summers
caa3d7f33c
Pulled in and integrated a commit from my king-daemon branch.
2019-12-17 06:31:50 -08:00
Benjamin Summers
154fc5f849
Never run a local terminal.
2019-12-17 03:29:58 -08:00
Benjamin Summers
66fc04fde7
TODO HACK WIP DONTCOMMIT: Suppress serf logging.
2019-12-13 02:50:54 -08:00
Benjamin Summers
a1be331ac8
Make HTTP Server more lenient.
2019-12-13 02:10:53 -08:00
Benjamin Summers
acdd9b82f5
Remove timer hack from king<->serf protocol (should be fixed?)
2019-12-12 19:01:24 -08:00
Benjamin Summers
2a5f2a2d6e
Make http-server less picky about request IDs.
2019-12-12 19:01:03 -08:00
Benjamin Summers
c3e52b25e9
Merge branch 'king-haskell' of github.com:urbit/urbit into merge-king
2019-12-11 00:22:49 -08:00
Benjamin Summers
3a99fe7834
Remove Isle for now.
2019-12-10 23:06:58 -08:00
Benjamin Summers
2505daf5c4
Update king<->serf protocol. Thanks Joe!
2019-12-10 22:57:05 -08:00
Ted Blackman
5e7605ed25
king: update ames for alef
2019-12-09 21:45:19 -05:00
Elliot Glaysher
8a09262092
Separate the config into pier and network sections.
...
Make the ames tests compile again, reading from a test instance of
HasNetworkConfig without phony HasPierConfig data.
2019-10-22 11:25:04 -07:00
Elliot Glaysher
9ec9426b8a
Implement -N, dry-run mode.
...
When -N is enabled, no sockets are bound and no events get persisted
to the datastore. We also pass the dry run flag to the serf, who
should not snapshot.
(For redundancy, we should probably also make king not send the save
snapshot commands, but I tested locally that the worker process
doesn't save.)
2019-10-17 16:10:53 -07:00
Elliot Glaysher
f038e60794
Implement -L and -x
2019-10-17 15:32:06 -07:00
Elliot Glaysher
b0ed770cc8
Build (HasPierConfig env) and use it for pier path and network state
2019-10-17 14:06:25 -07:00
Elliot Glaysher
e9063f926b
Implement -u flag for loading pills from a url.
2019-10-16 13:43:47 -07:00
Elliot Glaysher
31226bc9c0
Fix boot sequence for brass pills.
2019-10-16 13:38:46 -07:00
Elliot Glaysher
9d7746948b
Print messages about looking up galaxy IPs.
2019-10-11 14:05:25 -07:00
Elliot Glaysher
c28f2693b5
Small cleanups to Dawn.
2019-10-10 15:01:50 -07:00
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
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
Elliot Glaysher
4be3829b68
Make TLS work and get the comet sponsor list.
2019-10-02 13:55:30 -07: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
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
51126ec1d4
Make the Behn tests less noisy.
2019-09-27 13:21:07 -07:00
Elliot Glaysher
1c683b3d97
Merge remote-tracking branch 'origin/king-haskell' into king-dawn
...
Does a few small fixups for compilation and to make sure things
still work.
2019-09-27 10:30:26 -07:00
Elliot Glaysher
7d78ed73f3
General cleanup
2019-09-26 11:37:19 -07:00
Elliot Glaysher
9765920763
Various cleanups to the validation code.
2019-09-26 11:14:24 -07:00
Elliot Glaysher
89245cae7e
Fixup return types and half-implement the moon case.
2019-09-25 15:52:19 -07:00
Elliot Glaysher
2eacf091e8
Remove commented out imports.
2019-09-25 15:19:24 -07:00
Elliot Glaysher
ec9466d22b
Now with a more filled in Dawn event.
2019-09-25 15:16:48 -07:00