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
dd4551c996
Fix the format of the %barn event
2019-10-02 11:53:52 -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
16440eaeb5
Fix TermEfInit so it takes a Ship instead of null
2019-10-01 11:36:46 -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
Benjamin Summers
b8106bc427
Wrote a golden test for map/set conversions.
2019-09-26 16:03:25 -07:00
Benjamin Summers
bfc8d30c9d
Explicitly implement (map -> hoon map) and write simple qc tests.
2019-09-26 14:28:11 -07:00
Benjamin Summers
ee0def33f5
Haskell <-> Hoon conversions for map and set.
2019-09-26 13:29:19 -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
Elliot Glaysher
8b46d2dfc8
Switched from cryptonite to ed25519; key derivation works now!
2019-09-25 14:26:51 -07:00
Elliot Glaysher
5a6c6ff7cc
End of day checkpoint.
2019-09-24 17:15:00 -07:00
benjamin-tlon
7db5ef2c6c
Merge pull request #1749 from urbit/kh-demux-state
...
Make multiplexed terminals store state instead of history.
2019-09-24 14:52:09 -07:00
Elliot Glaysher
676a8ee6a6
WIP: Use edwards curve point types from Crypto.ECC.Edwards25519
...
This changes Pass to decode the Ed.Point directly in the type,
instead of having the packed Atom representation or raw ByteStrings.
Added conversion quickchecks and also decoded data off the Ethereum
contracts.
2019-09-24 14:01:39 -07:00
Elliot Glaysher
599432456b
0w0 parsing and quickcheck tests on it and 0v0 parsing.
2019-09-23 15:45:33 -07:00
Elliot Glaysher
5fb7d44d68
Dump before going off to work on 0w0 what is this parsing code.
2019-09-23 14:42:19 -07:00
Elliot Glaysher
dea512df09
Further filling out of Dawn.
2019-09-20 16:10:03 -07:00
Elliot Glaysher
e422a2ac7d
Ask ENS for azimuth.eth instead of hardcoding
2019-09-20 10:42:48 -07:00
Elliot Glaysher
dc189f3227
Galaxy table gets real pubkeys now.
2019-09-20 10:42:48 -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
ff273f0b72
Demuxed terminals now track terminal state instead of terminal history.
...
Before, terminal demuxing used unbounded memory, but now it just tracks
the line state and 20 lines of history.
2019-09-18 16:11:06 -07:00
Benjamin Summers
dcb25bbbb8
Track terminal state in pure code.
2019-09-18 15:07:53 -07:00
Elliot Glaysher
31403543b8
Make it build
2019-09-18 11:05:36 -07:00
Elliot Glaysher
ba9bd01e35
Merge branch 'king-haskell' into king-exit-cleanly
2019-09-18 11:02:46 -07:00
Benjamin Summers
d3d42a7fdd
Re-enable local terminal (non-daemon mode) + cancelWait cleanup.
2019-09-18 10:55:21 -07:00
Elliot Glaysher
f417c084a4
Merge remote-tracking branch 'origin/king-haskell' into king-exit-cleanly
2019-09-18 10:38:20 -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
6b8e88fdd8
Was replaying terminal events in the wrong order.
2019-09-18 01:08:13 -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
4c3342f9c6
External terminals get added to the demuxed terminal set.
2019-09-17 23:59:07 -07:00
Benjamin Summers
09b30bf169
Collect terminal size.
2019-09-17 23:58:42 -07:00
Benjamin Summers
cd07b10946
Impement basic support for multiple terminals pretending to be one terminal.
2019-09-17 23:17:54 -07:00
Benjamin Summers
ebf3d3e5c6
Move terminal client API into it's own module.
2019-09-17 22:22:19 -07:00
Benjamin Summers
4fdfab66df
Minor
2019-09-17 22:06:40 -07:00
Benjamin Summers
99dd161b86
Simplify term interface.
2019-09-17 22:01:44 -07:00
Benjamin Summers
c4be3e4a19
Terminal loop cleanup.
2019-09-17 21:41:31 -07:00