Commit Graph

132 Commits

Author SHA1 Message Date
Joe Bryan
9f0945bae7 adds (failing) |mass gc to the king process 2019-02-08 23:44:36 -05:00
Joe Bryan
54bc2c54a5 Merge branch 'master' into cc-release
* master: (50 commits)
  stop snprintfing from a string into itself
  pin arvo version number
  bumped urbit version number
  saves a checkpoint during replay, every 100K events or on failure
  simplifies loom init and checkpoint restore
  - Adds tracing during playback - stop snprintf-ing from one string into another, which is undefined behavior
  reclaim memory every 1k events in live operation or replay
  splits log files between arvo events
  name trace files by urbit date
  automatically split json trace outputs at 100000 line intervals
  stick |mass outputs in mass subdirectory of put
  adds comment about %funk hook in +ut
  adds sha-256 battery hashes to the jet dashboard, corrects axes
  [CI] disables deployment of tagged builds
  removes unused fprintf arg
  [CI] updates pinned arvo commit
  bumps urbit patch number to 0.7.1
  removes obsolete, commented-out gc implementation from loop.c
  moves all vere gc to _raft_grab(), run once after event
  Move _XOPEN_SOURCE #define to include/c/portable.h
  ...
2019-02-06 20:52:44 -05:00
Isaac Visintainer
ea6f2fd87b splits log files between arvo events 2019-02-01 17:00:22 -08:00
Isaac Visintainer
323c453404 automatically split json trace outputs at 100000 line intervals 2019-01-31 22:31:20 -08:00
Ted Blackman
56049e2246 @joemfb review comments 2019-01-29 00:05:23 -08:00
Joe Bryan
8bf02a857a Merge branch 'master' into cc-release-rc-merge
* master: (99 commits)
  updates contact instructions
  erased some lines in raft
  updates libent submodule
  cleans up event error handling in _raft_lame
  Remove includes introduced for getentropy
  Use libent for getentropy
  Fix link in README
  remove old version of u3r_mug()
  renames test-hash
  removes temporary u3r_mug tests
  adds assertions to protect u3r_mug against stack overflow
  adds a u3_none explicit bottom stack frame to u3r_mug
  WIP simplified conditionals, still dies, appears stateful?
  WIP refactored but still dying
  WIP still dying
  WIP testing and printing
  WIP compiles but crashes
  updates CONTRIBUTING.md, removing obsolete instructions
  exit cleanly if $galaxy is already running (fake or real)
  corrects usage instructions
  ...
2019-01-17 22:05:19 -05:00
Ted Blackman
0ad64600a2
Merge pull request #1135 from urbit/comet-stars
Download star list to boot comet
2019-01-11 18:31:41 -08:00
Ted Blackman
c2ebf77ae2 Fix u3_dawn_come() call signature and call sites 2019-01-11 17:53:07 -08:00
Philip Monk
059b13f30e
provide default for -e 2019-01-11 17:31:30 -08:00
Joe Bryan
0ee959b9e7
Merge pull request #1122 from mrdomino/c3-getentropy
c3_rand cleanup
2019-01-11 13:17:04 -05:00
Ted Blackman
7be1073007
Merge pull request #1130 from urbit/snapdown
Download ethereum snapshot from URL
2019-01-11 08:27:16 -08:00
Ted Blackman
4ea8492319 -m eth snap url, -C raw eth chain 2019-01-11 08:07:26 -08:00
Joe Bryan
4c92b65d1f refactors u3_ward/u3_warc lifecycle, preventing potential leaks 2019-01-10 13:44:46 -05:00
Jōshin
a8c19d9bae c3_rand cleanup
This should work on Linux since kernel 3.17, OS X since 10.12, OpenBSD
since 5.6, and FreeBSD since 12.0. It also introduces no external
dependencies. Note that getentropy should only be called with at most
256 bytes or it will return EIO. The getrandom variant on Linux doesn't
check for this. If called with len > 256, it's allowed to produce a
short read if it gets interrupted. This should show up as an error, so
everything's fine.
2019-01-09 09:15:41 -08:00
Joe Bryan
3137fc3b87 builds urbit-worker separately from urbit 2018-12-17 13:38:12 -05:00
Joe Bryan
042b55326f Merge branch 'release-candidate' into cc-release-rc-merge
* release-candidate: (90 commits)
  Only bail if profiling is enabled
  Fixes the build on OpenBSD
  don't abort on bail:fail, but continue with crash handling
  renames event-timing, adds build option to enable
  Add jet for +del:in
  prevents profiling on *bsd
  removes preprocessor errors in trace.c on openbsd
  updates secp256k1 to include /usr/local/include for openbsd
  Style nits
  [CI] Update arvo
  Add a jet for +del:by
  fit UTF-8 tape bug
  calls u3_raft_work on leader promotion (for eager restart effects)
  enables event-log encryption
  removes unused u3v_nick (effect traversal) and u3v_http_request
  refactors event replay, removing unnecessary effect traversal
  refactors event poke, removing unnecessary effect traversal
  trailing whitespace
  adds and corrects some raft comments
  separates effects and persistence
  ...
2018-12-17 11:28:24 -05:00
Ted Blackman
d8b7068345 updates u3_raft_work() to be async, adds sync u3_raft_play() 2018-12-11 17:13:55 -05:00
Joe Bryan
5906f480ad passes config flags from king to pier 2018-12-06 12:16:48 -05:00
Joe Bryan
1497de4161 added vere/dawn, ethereum-integrated pre-boot validation 2018-12-06 12:07:59 -05:00
Joe Bryan
384a2a1555 moves ethereum-integrated pre-boot validation to vere/dawn 2018-12-05 03:06:18 -08:00
Elliot Glaysher
e7c10cd828
Merge pull request #1081 from urbit/json-trace
Add support for trace_event files.
2018-12-04 16:41:54 -08:00
Elliot Glaysher
4a53ebc6c5 Cleanup 2018-12-04 14:48:26 -08:00
Joe Bryan
46dc173bf6 update old %behn declarations in vere.h 2018-12-03 17:09:56 -05:00
Elliot Glaysher
8b9680072a Add support for trace_event files.
This adds a -j parameter which writes traces of your Urbit's function call
stack to a json file, readable by Chrome's about://tracing or the standalone
trace-viewer webapp.
2018-12-01 15:54:55 -08:00
Joe Bryan
238431c1fd refactors boothack argument parsing and boot event construction 2018-11-29 12:21:45 -05:00
Joe Bryan
1e17dc6fe6 removes the rest of i/o polling, %behn and %ames now work 2018-11-28 15:33:11 -05:00
Joe Bryan
32c69acc1c Merge branch 'release-candidate' into cc-release-rc-merge
* release-candidate:
  Jet +jab:by, which is used extensively in ford.
  [CI] updates pinned arvo commit
  removes u3v_keep, updates arvo axes
  [build] builds just the urbit binary by default
  automatically process events on restart
  removes i/o polling
  removes %behn timer backoff
  [CI] updates pinned arvo commit
  increases %behn timer accuracy
  updates %behn to use effects instead of u3v_keep polling
  removes %ames timer and disables u3v_keep polling
  Shrink preallocation of cells from 262.144 cells to 4.096
2018-11-27 14:59:18 -05:00
Joe Bryan
1774725e4c removes i/o polling 2018-11-26 16:29:38 -05:00
Joe Bryan
9121e108ab removes %behn timer backoff 2018-11-26 12:22:13 -05:00
Joe Bryan
a77f6401a7 updates %behn to use effects instead of u3v_keep polling 2018-11-26 03:08:14 -05:00
Joe Bryan
a9c8615674 removes %ames timer and disables u3v_keep polling 2018-11-26 03:08:14 -05:00
Joe Bryan
bb63cd3006 eradicates u3_lo_open/shut 2018-11-21 16:47:32 -05:00
Joe Bryan
95c07063f2 updates i/o drivers to use pier, comments obsolete patterns. compiles 2018-11-21 16:45:33 -05:00
Joe Bryan
63b58f4c29 Merge branch 'release-candidate' into cc-release-rc-merge
* release-candidate: (742 commits)
  reap call sites before reaping the warm dashboard
  refines -F argument handling
  alphabetizes u3_opts and usage instructions
  replaces -N (enable fake networking) with -L (disable networking)
  removes the option to set -l, -n, and -r (raft options)
  removes -X ("skip last event")
  removes -M ("memory madness")
  Use Ed25519 u3a_malloc in the ed25519 jet.
  Fix README build instructions
  properly zero-initialize u3_wcon linked-list pointer
  removes second staging copy of compiler jets
  [CI] Point to latest release-candidate arvo
  De-duplicate dependency list
  Make small stylistic improvements to crypto jets
  meson v0.44.1
  Use fetchGit instead of fetchTarball to get nixpkgs.
  Revert change to libh2o for now -- Breaks the nix build, but unbreaks the normal build.
  Minor Cleanup
  Make list indentation consistent in Meson file.
  Use latest urbit/argon2
  ...
2018-11-21 16:45:07 -05:00
Joe Bryan
00bf8a85fb 3. resumes without boot params 2018-11-21 16:34:20 -05:00
Joe Bryan
80b1d34aa6 alphabetizes u3_opts and usage instructions 2018-11-16 20:04:58 -05:00
Joe Bryan
92fca35aec alphebetizes u3_opts and _main_getopt() defaults 2018-11-16 19:28:29 -05:00
Joe Bryan
0130d72aed replaces -k with -K (kernel version) 2018-11-16 19:21:52 -05:00
Joe Bryan
eaab7dda8f replaces -N (enable fake networking) with -L (disable networking) 2018-11-16 19:19:48 -05:00
Joe Bryan
b3757a243f renames -L (local networking) from loh to net 2018-11-16 19:18:24 -05:00
Joe Bryan
82b3a280b5 removes -t (ticket), -s, and -S (secret/prompt) 2018-11-16 19:03:42 -05:00
Joe Bryan
81a5193255 removes -n ("unix hostname", for raft) 2018-11-16 17:56:17 -05:00
Joe Bryan
cb0c679e6c removes -X ("skip last event") 2018-11-16 17:56:07 -05:00
Joe Bryan
46ca578fb0 removes -M ("memory madness") 2018-11-16 17:55:56 -05:00
Joe Bryan
0148b101e7 removes -X ("skip last event") 2018-11-16 17:52:47 -05:00
Joe Bryan
f87120095a removes -M ("memory madness") 2018-11-16 17:52:25 -05:00
Joe Bryan
418925ac5b removes u3_lo declarations 2018-11-15 01:42:07 -05:00
Joe Bryan
03150a4bff removes u3_sist declarations 2018-11-13 18:54:54 -05:00
Joe Bryan
9cb3c797af removes u3_raft declarations 2018-11-13 18:54:54 -05:00
Joe Bryan
218ccbcefe removes old event-log declarations 2018-11-13 18:54:54 -05:00