Philip Monk
0e876b3cd4
ames: better printfs
2019-12-18 11:31:17 -03:30
Philip Monk
3d30b3b73c
jael: only advance lifes
...
This matches the semantics of rifts and makes it more forgiving of
misordered updates.
2019-12-18 11:31:14 -03:30
Philip Monk
16d98e5eda
jael: stop ship-to-ship
2019-12-18 11:19:41 -03:30
Philip Monk
18c3e7253b
jael: add "eager" mode to avoid hitting nodes as much
2019-12-18 10:58:00 -03:30
Philip Monk
15bd35301e
jael: properly store ship sources
2019-12-18 10:42:57 -03:30
Philip Monk
7706ed6a0c
gen: add +azimuth-sources
2019-12-18 10:41:39 -03:30
Jared Tobin
52ccee369a
Merge branch 'bh/image-pills' ( #2118 )
...
* origin/bh/image-pills:
build: allow baking multiple pills into docker images
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-18 10:09:23 -03:30
Jared Tobin
0fadd88986
contributing: use alternative rebase tutorial [ci skip]
2019-12-18 08:29:22 -03:30
Brendan Hay
122e01b13d
build: allow baking multiple pills into docker images
...
By baking (potentially) multiple pills into an image, we can provide
mainnet vs ropsten images. It is still up to the operator to pass
along the pill path(s) to the entrypoint. For example, using Docker:
docker run --tty urbit -B /share/brass.pill -J /share/ivory.pill ...
The main .image attribute still uses only the solid pill, and image-ropsten
has been provided with brass and ivory pills.
Additionally herb has been added to the image for convenience.
2019-12-18 12:02:18 +01:00
Jared Tobin
38eefb30cb
Merge branch 'bh/image-cleanup' ( #2102 )
...
* origin/bh/image-cleanup:
build: trimming unnecessary image configuration
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-18 05:54:44 -03:30
Philip Monk
666645cee5
Merge pull request #2115 from urbit/philip/ames-ordered-boons
...
ames: handle misordered crashing boons
2019-12-17 23:27:42 -08:00
Matilde Park
e2cfcafc92
chat: validate chat names
...
Add a regex check for non-lowercase, non-slash, non-hyphen characters,
or numerals, and a quick check for starts-with-slashes, double-slashes,
to a boolean before creating a chat at that path.
2019-12-18 00:53:18 -05:00
Ted Blackman
9fb37543ec
ford: clear build results on +load
2019-12-18 00:25:27 -05:00
Philip Monk
7ca3d9624e
ames: handle misordered crashing boons
...
Two bugs fixed here: first, if the %done reentrancy triggered another
%boon, that wasn't getting translated to a %lost, even though it could
have been the reason the event crashed in the first place.
Second, the %done reentrancy needs to happen after we emit our move, so
that we don't invert the order of the %boon's we produce.
2019-12-17 20:58:30 -08:00
Philip Monk
e5ac690fd3
jael: re-enable ship-to-ship communication
...
Also fix bug in eth-watcher that didn't cancel outstanding threads when
config changes.
And set default rift for ourselves to 0.
2019-12-17 16:14:07 -08:00
Philip Monk
e88f91f3b2
eth-watcher: actually stop pending thread when restarting
2019-12-17 16:14:02 -08:00
Philip Monk
a64e516fc5
Merge pull request #2098 from urbit/philip/eyre-quiet
...
eyre: turn sigpam into flog
2019-12-17 15:54:16 -08:00
Fang
9f47874760
link-server-hook: remove obsolete workaround
...
The "no-data bug" in eyre was fixed prior to the 0.10.0 release.
2019-12-17 23:32:41 +01:00
Joe Bryan
a87daabf77
Merge pull request #2096 from urbit/malloc-consistency
...
vere: dynamic allocation cleanup
2019-12-17 12:58:35 -08:00
Joe Bryan
1cf8e6e640
vere: plug leak in worker args
2019-12-16 11:59:04 -08:00
Joe Bryan
0162379f62
worker: plug leak in event tracing
2019-12-16 11:59:04 -08:00
Joe Bryan
e9f3aa19ef
vere: free curl response buffers after use
2019-12-16 11:59:04 -08:00
Joe Bryan
e9b1b22a6e
vere: plugs a leak on the "boothack" command socket connection
...
but more work is needed to fully close and cleanup
2019-12-16 11:59:04 -08:00
Joe Bryan
dc5e5f38a7
test: free malloc'd structures in tests
2019-12-16 11:59:04 -08:00
Joe Bryan
73ad2c543f
vere: consistently use c3 malloc/free wrappers
2019-12-16 11:59:03 -08:00
Joe Bryan
2f6d512248
Merge pull request #2101 from urbit/http-respond-safe
...
vere: fix use-after-free in http responses
2019-12-16 11:46:58 -08:00
Brendan Hay
249c02fe9f
build: trimming unnecessary image configuration
2019-12-16 09:20:28 +01:00
Joe Bryan
4691fa2a8d
vere: plugs leak of http response headers
2019-12-14 23:26:24 -08:00
Joe Bryan
01470355d1
vere: fix use-after-free in closing/canceling http request
2019-12-14 18:25:43 -08:00
Joe Bryan
d5949f2358
vere: fix use-after-free when sending http response
2019-12-14 18:25:39 -08:00
Fang
bdc7fb81e0
eth-sender: do proper nonce reading
2019-12-14 21:50:07 +01:00
Fang
1647d760d1
zuse: implement eth rlp decoding
...
Also updates existing tests to check both en- and decoding.
2019-12-14 21:39:54 +01:00
Fang
7755bc9718
zuse: correctly encode leading zeroes in rlp data
2019-12-14 21:25:20 +01:00
Fang
5c56cce6ea
zuse: lightly restructure encode:rlp:ethereum
2019-12-14 21:24:56 +01:00
Philip Monk
769a1c96af
eyre: turn sigpam into flog
...
This error is mostly harmless, but it does indicate we aren't cleaning
up our subscriptions properly. This lets you silence with |knob.
fixes #2088
2019-12-14 00:49:23 -08:00
Philip Monk
bfd2e533a1
goad: make startup resilient to errors
...
By not running the risky %goad card in on-init. Also includes some qol
fixes.
2019-12-13 18:50:26 -08:00
Philip Monk
9aa3591e91
Merge branch 'philip/goad'
...
* philip/goad:
goad: recompile apps after changes to /sys
Signed-off-by: Philip Monk <phil@pcmonk.me>
2019-12-13 17:21:31 -08:00
Philip Monk
b14606660a
goad: recompile apps after changes to /sys
...
OTAs commonly end up in an inconsistent state if apps depend on changes
to /sys. For example, the %sift changes break on OTA because %spider
needs to be reloaded so that it's aware of the new thread type. This
adds a %goad app, which reloads all apps after every change to /sys.
Getting this to start OTA is nontrivial, but this pattern should work
for apps in the future. The changes to clock shouldn't generally be
necessary; they are only necessary here because we can't rely on hood to
start goad, since hood fails to compile if it's run before zuse is
reloaded. Once goad is active, this will cease to be a problem.
2019-12-13 17:14:51 -08:00
Fang
fc1d852faf
static gall: update send-txs
...
Renamed to eth-sender. Can still sign eth-txs at multiple gas prices,
fan transactions to multiple nodes, wait for confirmation between
transaction batches (now of user-specified size).
The previous nonce reading implementation was broken beyond belief and
has been taken out. Can be reimplemented once RLP decoding is in the
stdlib.
2019-12-14 00:18:30 +01:00
Fang
b482249712
ethio: implement +request-batch-rpc-loose
...
Produces batch request results regardless of node-side error.
Reimplements +request-batch-rpc-strict using it.
2019-12-13 23:30:52 +01:00
Jared Tobin
07e2f20f57
Merge branch 'fix-lr-jet' ( #2089 )
...
* fix-lr-jet:
hoon: fix typo in +put:in
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-13 21:05:34 +08:00
Elliot Glaysher
44f6a90a4c
hoon: fix typo in +put:in
...
This fixes +put:in so that it works without the correct jet. There's a
mismatch where the hoon code is wrong and the jet is correct, so that
when we try to run this on alternate interpreters which may not have the
+in jets, things won't work.
2019-12-13 21:00:21 +08:00
Jared Tobin
aff97bf150
Merge branch 'm/eth-apps' ( #2084 )
...
* origin/m/eth-apps:
claz: clean up head of app file
static gall: update claz
ethio: add +get-next-nonce
zuse: update %eth-get-transaction-count
zuse: include all relevant azimuth addresses
ethio: implement +batch-read-contract-strict
ethio: fail request-rpc more properly
static gall: update gaze
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 16:27:04 +08:00
Jared Tobin
9ba4505086
Merge branch 'ames-sift' ( #2081 )
...
* ames-sift:
ames: refactor +load
ames: +send-blob better ship printing
hood: |ames-sift generator to trace by ship
ames: add %sift to trace by ship
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 16:06:32 +08:00
Ted Blackman
35596ca7de
ames: refactor +load
2019-12-12 15:55:37 +08:00
Ted Blackman
d4574b5da4
ames: +send-blob better ship printing
2019-12-12 15:55:36 +08:00
Ted Blackman
c500e03b81
hood: |ames-sift generator to trace by ship
2019-12-12 15:55:36 +08:00
Ted Blackman
d77fb0f685
ames: add %sift to trace by ship
2019-12-12 15:55:32 +08:00
Jared Tobin
2cf8bb215d
Merge branch 'urbit-ID' ( #2077 )
...
* origin/urbit-ID:
updates to 'Urbit identity' language in comet boot message
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 15:52:07 +08:00
Jared Tobin
15c929077d
Merge branch 'newt-plug-leak' ( #2076 )
...
* origin/newt-plug-leak:
newt: free completed message buffer
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 15:51:43 +08:00