Commit Graph

40 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
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
b95c354ba3 Hook up the lite mode flag. 2019-10-03 15:41:19 -07:00
Elliot Glaysher
4be3829b68 Make TLS work and get the comet sponsor list. 2019-10-02 13:55:30 -07:00
Elliot Glaysher
1dd90f310b Hook up the command line flags to the serf. 2019-10-02 11:50: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
Elliot Glaysher
d96bf9bb52 Booting fake ships other than zod 2019-10-01 11:23:34 -07:00
Elliot Glaysher
89245cae7e Fixup return types and half-implement the moon case. 2019-09-25 15:52:19 -07:00
Elliot Glaysher
c3b5dc9b24 Parse the Seed out of the keyfile. 2019-09-23 16:42:12 -07:00
Elliot Glaysher
87a9f4e667 Can retrieve the ames domains from Ethereum using web3.
Partial support for retrieving the galaxy table, but I'm having
problems converting the public key type.
2019-09-19 15:40:23 -07:00
Benjamin Summers
b1a9dff197 Fixes live-lock by changing type of Vere.Term.API.Client.give to take [Term.Ev]. 2019-09-18 02:11:18 -07:00
Benjamin Summers
24bc28e834 Hooked up a remote terminal, it runs but doesn't work yet. 2019-09-18 00:24:10 -07:00
Benjamin Summers
da7190008c Move top-level into it's own module. 2019-09-17 20:14:49 -07:00
Benjamin Summers
0b667d8073 Merge branch 'king-haskell' of github.com:urbit/urbit into king-boot-pb 2019-09-17 19:54:08 -07:00
Benjamin Summers
26f5964ef7 Move lockfile logic into it's own file. 2019-09-17 19:45:51 -07:00
Elliot Glaysher
efa396ed82 Makes a progress bar on booting a new ship.
Also prints the name of the ship you're trying to boot, along with
whether its a fake or not. Also fixes a regression where we were
trying to acquire a lockfile before the pier directory was created.
2019-09-17 11:56:54 -07:00
Benjamin Summers
707c546cda Implemented lockfile with correct handling of SIGINT (^C) and SIGTERM (send by kill). 2019-09-12 23:55:10 -07:00
Benjamin Summers
ec372efb31 Wrote hacky websocket client/server for terminal driver.
Using websockets because it would be nice to eventually have a terminal
in the Electron client.

This is prototype-quality code. Using the built-in client/server from the
`websockets` package, but that's just for testing.
2019-08-30 00:56:28 -07:00
Benjamin Summers
4903a72682 Various small fixes -- trying to get boot working. 2019-08-29 18:29:55 -07:00
Benjamin Summers
ed20b78473 Event/Effect browser with event trimming (not implemented yet). 2019-08-29 16:48:46 -07:00
Benjamin Summers
a287676923 Minor 2019-08-29 14:26:33 -07:00
Benjamin Summers
de7a087ef5 Logging everywhere + log to file 2019-08-28 17:26:59 -07:00
Benjamin Summers
062c71b57d Logging in Vere.Serf 2019-08-28 05:22:56 -07:00
Benjamin Summers
c1bb26e628 Logging in Vere.Pier 2019-08-28 04:45:49 -07:00
Benjamin Summers
524671d310 Minor cleanup. 2019-08-28 04:06:48 -07:00
Benjamin Summers
360d166344 Started RIO's logging system instead of printfs. 2019-08-28 04:00:26 -07:00
Benjamin Summers
82683bfd9a Validate effects. 2019-08-21 17:54:00 -07:00
Benjamin Summers
131cb30900 Validate event parsing. 2019-08-21 17:29:39 -07:00
Benjamin Summers
efc6103fc1 %veer events now use cords instead of tapes? 2019-08-21 17:07:05 -07:00
Benjamin Summers
8ace44adb6 Validate pill files. 2019-08-21 16:49:08 -07:00
Benjamin Summers
3ff5c4fad5 Implement king bug collect-all-fx
For now, this is mostly useful as an integration test: Replay the whole
event log of an existing ship using King Haskell.

This also opens the door for a future tool that inspects collected
effects for debugging purposes.
2019-08-20 17:42:53 -07:00
Benjamin Summers
e02dd2342c CLI Parsing cleanup. 2019-08-14 19:47:54 -07:00
Benjamin Summers
e896447bf8 Minor 2019-08-14 15:35:36 -07:00
Benjamin Summers
1eda9d3401 A couple more command line arguments and a lot of TODO notes. 2019-08-14 15:18:59 -07:00
Benjamin Summers
e640bf505d The HTTP query string wasn't being included in the event. 2019-08-13 17:53:03 -07:00
Benjamin Summers
e6c2d46cd1 Various Fixes and Improvements 2019-08-12 22:56:31 -07:00
Benjamin Summers
55ceffc4c3 CLI parsing. 2019-08-12 21:57:30 -07:00