Commit Graph

5548 Commits

Author SHA1 Message Date
Liam Fitzgerald
6ca0fd11c4
eyre: send comments as heartbeats, not empty events
The previous behaviour, in addition to not being conformant with the
spec, breaks correct reconnect behaviour.
See: https://html.spec.whatwg.org/multipage/server-sent-events.html#event-stream-interpretation
2021-06-30 11:45:50 +10:00
ixv
924304ff89 btc-wallet: in on-init check if we're already registered with launch and file-server 2021-06-29 18:03:34 -07:00
janeway-bot
06f82bfbae
Merge e6a3c948fa into release/next-userspace 2021-06-30 03:19:33 +04:00
janeway
e6a3c948fa glob: update to 0v6.h33vk.c3n1c.4gpkn.cci4c.pnh4r 2021-06-29 16:12:07 -07:00
ixv
a1a932de04 Merge branch 'ixv/who' 2021-06-29 16:06:21 -07:00
yosoyubik
c4f8d6c672 naive: return signature for pending txs as hex-encoded string 2021-06-29 07:46:29 +02:00
yosoyubik
b14b7d131e naive: add rpc for retrieving roller configuration data 2021-06-29 07:45:44 +02:00
Ted Blackman
8c3d14b7a7 clay: check kelvin on non-%base desks 2021-06-28 21:22:55 -04:00
Ted Blackman
40af38c9ee bin/solid.pill 2021-06-28 20:18:37 -04:00
Ted Blackman
501ed4ad82 clay: remove reef 2021-06-28 20:01:51 -04:00
ixv
807b23b1fb file-server: restore who generator binding 2021-06-28 16:50:20 -07:00
Ted Blackman
fe1f6d895a /gen/show-vat.hoon 2021-06-28 19:07:29 -04:00
Ted Blackman
c4228db2ea desk.bill: remove comment for jenky bijection 2021-06-28 18:49:27 -04:00
Ted Blackman
5ea9913561 /mar/bill: fix formatting 2021-06-28 18:46:14 -04:00
ixv
7a04e0c5ca btc-provider: fix timer wire 2021-06-28 15:44:14 -07:00
ixv
980fd45b68 btc-provider: make set-credentials clean up old timers 2021-06-28 15:13:24 -07:00
Ted Blackman
9c4ea77021 desk.bill and %bill mark 2021-06-28 17:54:41 -04:00
Ted Blackman
87b7f0513e added /sys.kelvin and %kelvin mark 2021-06-28 17:07:13 -04:00
Logan Allen
d5ec02c801 eyre: cast within zapgar to avoid nest check 2021-06-28 17:07:13 -04:00
ixv
2f5af8f4ca btc-wallet: fix issue with block info requests 2021-06-28 14:06:04 -07:00
Logan Allen
a99d59926e btc-provider: do not delay when credentials are set 2021-06-28 14:44:37 -05:00
Logan Allen
9358cb97b3 btc-provider: removed some extraneous printfs 2021-06-28 14:40:38 -05:00
drbeefsupreme
78521236a3
Merge branch 'philip/naive' into poprox/naive-tests 2021-06-28 15:33:51 -04:00
Logan Allen
2ed559bc13 btc-provider: ping _only_ once every 30 seconds 2021-06-28 14:31:27 -05:00
janeway-bot
26ea30e72f
Merge a3b43137d6 into release/next-userspace 2021-06-28 22:28:18 +04:00
janeway
a3b43137d6 glob: update to 0v6.h33vk.c3n1c.4gpkn.cci4c.pnh4r 2021-06-28 11:17:16 -07:00
yosoyubik
af295b2f5e naive: add get-dns to azimuth-rpc 2021-06-28 13:01:04 +02:00
yosoyubik
3ca12235e5 naive: only accept hex-encoded signature and raw rpc arguments 2021-06-28 12:38:10 +02:00
yosoyubik
ed36304749 naive: also accept ship in rpc argument as number 2021-06-28 12:36:48 +02:00
yosoyubik
845cd2090e naive: discard duplicate txs whe updatating predicted state 2021-06-28 07:46:09 +02:00
yosoyubik
5eb07edde5 naive: add ownership index to /app/azimuth 2021-06-28 07:26:47 +02:00
raghu
7d6bf5134e better cli syntax for |fuse 2021-06-26 11:13:19 -04:00
ixv
c31eefac1c
Merge pull request #5056 from urbit/ixv/our-scry
file-server: scry for identity
2021-06-25 17:42:44 -07:00
ixv
6bdf675722 file-server: scry for identity 2021-06-25 16:53:14 -07:00
Logan Allen
14141af044 btc-provider: style cleanup while checking logic line for line 2021-06-25 11:15:09 -05:00
Logan Allen
78a75b2e54 btc-wallet: thoroughly went through to find any remaining style issues, and to validate that its logic matches 1:1 with the current implementation 2021-06-25 11:05:58 -05:00
ixv
46f621b8cf btc-wallet: fix various assertions 2021-06-24 18:56:24 -07:00
Logan Allen
b290b75685 btc-wallet: more style fixes 2021-06-24 18:12:46 -05:00
Liam Fitzgerald
f2583ce080
eyre: address mark review 2021-06-25 08:28:06 +10:00
Logan Allen
eb5b731514 bip158: speed up +read-bits, thanks @frowdith 2021-06-24 16:24:24 -05:00
Logan Allen
322af7a55b b158: fix +str profiling hint 2021-06-24 12:55:38 -05:00
Logan Allen
a703aafad1 bip158: added profiling hints 2021-06-24 12:49:26 -05:00
Logan Allen
c3bf4c2770 btc-wallet: moved +on-peek for clarity 2021-06-24 12:45:29 -05:00
Logan Allen
cf5a704347 btc-wallet: clean it up and add profiling hints 2021-06-24 12:39:33 -05:00
Logan Allen
23869712ee test/thread: make tests pass and all threads build 2021-06-24 11:28:26 -05:00
yosoyubik
8ea0ee004e naive: clean up updating predicted state 2021-06-24 16:56:32 +02:00
yosoyubik
d03d710796 naive: add index of points by ethereum address 2021-06-24 16:54:23 +02:00
yosoyubik
e05234c179 naive: add gas to ju 2021-06-24 16:41:44 +02:00
yosoyubik
1e7e2e1193 naive: use lte to emphasize parent equality 2021-06-24 16:40:53 +02:00
yosoyubik
5b317acca5 naive: use 10 gwei for fallback-gas-price 2021-06-24 16:38:54 +02:00
fang
5b893bcf70
Merge pull request #5033 from tinnus-napbus/bip158-fix-swp
bip158: change swp to rev in +to-range
2021-06-24 10:32:44 +02:00
Liam Fitzgerald
9aaa44ff33
eyre: replace channel upon new GET request
As SSE are unidirectional, the client always realises that the
connection has failed faster than the server does. Hence, resuming a
subscription is useless, because channels can only be bound to one duct
at a time. Now, instead of failing a request for a channel
that is already bound to a duct, we replace the duct and continue
normally.
2021-06-24 13:54:53 +10:00
Logan Allen
30e9dc40cd btc-wallet: compiles 2021-06-23 18:37:33 -05:00
Logan Allen
49819b8e44 bitcoin-utils: fix perf issue 2021-06-23 17:18:29 -05:00
Logan Allen
37845fc245 bitcoin-libs: jet profiling works great for nested cores 2021-06-23 16:56:55 -05:00
Logan Allen
126c977da0 bitcoin-utils: avoid issue with jet hint profiling 2021-06-23 16:33:42 -05:00
Logan Allen
f45affb9b7 bitcoin-utils: lent trip -> met 3 2021-06-23 16:31:56 -05:00
Logan Allen
19352d9b34 bitcoin-libs: added more jet hints 2021-06-23 16:28:28 -05:00
Logan Allen
67092addc5 btc-provider-lib: add top-level jet hints 2021-06-23 16:17:47 -05:00
Logan Allen
97ee25d7e1 btc-provider: add jet hints 2021-06-23 16:12:59 -05:00
Logan Allen
515372d319 btc-provider: refactor to clean up lexical scope and code style 2021-06-23 16:10:11 -05:00
tinnus-napbus
9112368ff8
bip158: change swp to rev in +to-range
Co-authored-by: fang <github@fang.io>
2021-06-24 05:01:32 +12:00
Philip Monk
99955ce8d3
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-06-22 09:51:33 -10:00
Philip Monk
72b6e11e43
naive: update for L1 changes 2021-06-22 09:50:22 -10:00
drbeefsupreme
e9227dca7e
naive: %manage events working 2021-06-22 14:57:57 -04:00
drbeefsupreme
126f286ed5
naive: ~pidted-dacnum joins the party 2021-06-22 14:36:28 -04:00
drbeefsupreme
80fa78319a
naive: another forgotten test ship 2021-06-22 14:34:05 -04:00
drbeefsupreme
413df5570f
naive: apparently forgot a test planet 2021-06-22 14:30:06 -04:00
drbeefsupreme
ae3b2ec6af
naive: tests: nonces for proxies 2021-06-22 13:55:24 -04:00
yosoyubik
3289f84b71 naive: update history's tx status when predicting state 2021-06-22 15:15:33 +02:00
yosoyubik
2c2c7db981 naive: get point data from aggregator 2021-06-22 15:00:24 +02:00
Philip Monk
81114ae8d2 hood: support new kiln state
bump app/hood's state number and mark old kiln state for old hood
versions.
2021-06-21 20:59:09 -04:00
raghu
5698e2662a Merge remote-tracking branch 'upstream/master' into better-bar-fuse 2021-06-21 20:57:20 -04:00
raghu
a9f3be003e kiln: move to %sing from %next 2021-06-21 20:44:29 -04:00
raghu
a04b318d2d clay: log on strange fuse responses 2021-06-21 20:43:49 -04:00
Liam Fitzgerald
b0bfa500d4
aqua: clarify structure of $vere 2021-06-22 06:13:26 +10:00
yosoyubik
c715ef59fd naive: add cancel pending transaction 2021-06-21 11:27:36 +02:00
Liam Fitzgerald
829fef1db4
-graph-delete: address L review 2021-06-21 10:25:48 +10:00
Philip Monk
f0e11a8456
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-06-18 16:25:13 -10:00
Philip Monk
87ca57c364
gall: allow apps to run from any desk
Start with |start %desk %app-name

Everywhere in the kernel that we deal with marks, we infer the app it's
connected to and use the marks from that desk.

Also some light renaming in gall, especially path->wire and
current-agent->yoke.

Subsequent tasks:

- Dojo needs a syntax to run generators and threads from other desks
- The home desk should be split into at least a minimal base desk and
  big "userspace" desk.  Dill's initialization logic should be updated
  to handle
- |show-package, |install, and |uninstall should to be written
- Clay should have smarter handling of system versions instead of just
  ignoring what's on each desk.  It's not clear that this will work
  correctly when sys updates right now.
2021-06-18 16:13:55 -10:00
tinnus-napbus
84ca32aa80 bip158: change swp to flim:sha in +to-range 2021-06-19 03:48:05 +12:00
Liam Fitzgerald
73e9056d48
mar/boot-pill: build mark correctly 2021-06-18 16:53:00 +10:00
Liam Fitzgerald
110adcff56
-graph-leave: don't crash on inconsistent state
Fixes urbit/landscape#921
2021-06-18 16:26:24 +10:00
Liam Fitzgerald
ff2c7f8d68
ph: migrate tests to new api 2021-06-18 15:54:17 +10:00
Liam Fitzgerald
e36f631e46
aqua: cleanup api, fix scry handling 2021-06-18 15:53:24 +10:00
janeway-bot
00e4e7c521
Merge 7ac718a2c7 into release/next-userspace 2021-06-18 08:30:22 +04:00
janeway
7ac718a2c7 glob: update to 0v1.9p61c.bd4vn.deevh.0ldbq.fkqo3 2021-06-17 17:49:55 -07:00
ixv
fd663e0d2b Merge branch 'ixv/btc-filter' 2021-06-17 17:40:20 -07:00
Liam Fitzgerald
169d14f4ba
aqua: allow solid pills 2021-06-18 10:27:17 +10:00
ixv
ec8ca6f0cf btc: style nits, and fix watch-ack handling 2021-06-17 15:53:12 -07:00
Logan Allen
f944fd1d8f graph-store: finish specifying new scry api 2021-06-17 16:53:42 -05:00
drbeefsupreme
cd615524cd
naive: ownership testing 2021-06-17 17:46:52 -04:00
drbeefsupreme
01328c03af
naive: nonce testing on 2021-06-17 17:17:03 -04:00
drbeefsupreme
7dbf0a28d2
naive: ~red init 2021-06-17 16:43:58 -04:00
drbeefsupreme
68a9e397a3
naive: fix check on %spawn dominion %set-spawn-proxy 2021-06-17 14:38:22 -04:00
drbeefsupreme
1116c8eeb8
naive: %escape tests
succeeds for dominion %l2, fails for other dominion
2021-06-17 14:06:20 -04:00
drbeefsupreme
3ddb3b14d2
naive: rut-test description, slight refactor 2021-06-17 13:19:02 -04:00
Logan Allen
5a9b76f349 graph-store: reworked most of %graph and %node scries 2021-06-17 12:17:36 -05:00
yosoyubik
7e9a2bcfcd naive: fix json param parsing in rpc-api 2021-06-17 15:12:10 +02:00
ixv
0fe385df1f btc: don't use blockfilter if gap > 50; resubscribe on kick 2021-06-17 03:33:22 -07:00
Liam Fitzgerald
1aae4490b7
aqua: upgrade wire format in threads and generators 2021-06-17 16:53:49 +10:00
Liam Fitzgerald
4ec5e8af86
aqua: upgrade for arvo 240 2021-06-17 16:50:55 +10:00
Liam Fitzgerald
61845e605e
aqua: refine pill types
Introduces a %boot-pill mark and associated types, to distinguish pills
that can be used to boot a ship and the ivory pill. Changes aqua to
receive this new %boot-pill mark
2021-06-17 14:33:18 +10:00
raghu
d5c90ac448 accept behn gifts 2021-06-16 17:45:45 -04:00
Logan Allen
17430d9314 graph-store: first stab at reworking the scry format 2021-06-16 16:31:12 -05:00
L
8c1d609617
Merge pull request #5016 from urbit/la/consolidate-warming
observe-hook: add ability to warm static mark conversions
2021-06-16 15:21:47 -05:00
Logan Allen
c793ca0cdf observe-hook: remove unnecessary stuff from on-load 2021-06-16 14:31:28 -05:00
yosoyubik
845a2d1c1b naive: add l2 tx history by ethereum address 2021-06-16 17:03:21 +02:00
janeway
f4119de553
glob: update to 0v2.23tfu.ss2fb.q233c.p9er4.viq93 2021-06-16 18:38:50 +10:00
Liam Fitzgerald
2e457cec21
dm-hook: address L review 2021-06-16 13:08:33 +10:00
Liam Fitzgerald
2d2764fa53
dm-hook: fix updating pendings 2021-06-16 12:46:47 +10:00
drbeefsupreme
a7dbecd372
naive: fix %transfer-point test 2021-06-15 18:14:51 -04:00
drbeefsupreme
bf8155425c
naive: fix key set test 2021-06-15 18:11:47 -04:00
drbeefsupreme
e160485eb0
naive: working spawn tests 2021-06-15 18:07:20 -04:00
drbeefsupreme
5581094263
naive: refactor test state settesr 2021-06-15 17:29:48 -04:00
drbeefsupreme
4a533a17e6
naive: full state testing for mgmt 2021-06-15 16:29:17 -04:00
drbeefsupreme
d234fb4bb3
naive: spawn planet with planet test 2021-06-15 15:36:54 -04:00
drbeefsupreme
f921c8d4dc
naive: rewrite success-map 2021-06-15 15:20:47 -04:00
L
617b97b450
Merge pull request #5013 from urbit/lf/failed-glob
ted/glob: add exponential retry
2021-06-15 13:08:32 -05:00
L
92a9ba5ba4
Merge pull request #5015 from urbit/lf/fix-backlog
graph-store: fix siblings scry
2021-06-15 13:08:12 -05:00
Logan Allen
c24c4a900c observe-hook: do not warm graph-permissions marks for dms, since they do not exist 2021-06-15 11:46:52 -05:00
Logan Allen
4194f88e4a observe-hook: add missing mark file and remove conversion from dm to transform-add-nodes since it doesn't exist 2021-06-15 11:43:00 -05:00
Logan Allen
2628517f15 graph/hark: replace all former mechanisms of warming static conversions with observe hook 2021-06-15 11:31:25 -05:00
Logan Allen
658bf3beec observe-hook: add ability to keep a static conversion warm 2021-06-15 11:30:55 -05:00
yosoyubik
33b9f76540 naive: account for raw-tx data size in gas limit 2021-06-15 07:22:55 +02:00
janeway
337dac99c8
glob: update to 0v6.e3j9o.e928h.ivsmp.cfkd5.qr44b 2021-06-15 13:55:22 +10:00
Liam Fitzgerald
e236e6b3e6
graph-store: fix siblings scry 2021-06-15 13:18:31 +10:00
L
ff702a8cb1
Merge pull request #5011 from urbit/la/spider-hints 2021-06-14 17:29:51 -05:00
Liam Fitzgerald
9cbc218731
ted/glob: add exponential retry
Fixes urbit/urbit#4958
2021-06-15 07:58:02 +10:00
Logan Allen
1296728d4f eyre: cast within zapgar to avoid nest check 2021-06-14 16:18:18 -05:00
Logan Allen
f256470a4c spider: add profiling hints so we can see how slow it is 2021-06-14 16:16:10 -05:00
yosoyubik
4c4e0e70b8 naive: fix gas limit for l2 batch transaction 2021-06-14 17:21:57 +02:00
yosoyubik
066795c32c naive: add pending-by-address to aggregator 2021-06-14 15:00:15 +02:00
yosoyubik
0573232726 naive: add %noncefrom ship/proxy to rpc-api 2021-06-14 14:18:57 +02:00
ixv
690971c9a9 btc: fix b158 test 2021-06-11 17:42:37 -07:00
ixv
fbbda57552 btc: use blockfilter when requesting address info 2021-06-11 16:10:56 -07:00
fang
179046c92e
Merge pull request #5004 from finned-palmer/fix-chat-cli-mispelling
Fix mispelling in chat-cli help message
2021-06-11 23:26:09 +02:00
Patrick O'Sullivan
2351fc08cb Fix mispelling in chat-cli help message 2021-06-11 16:23:05 -05:00
yosoyubik
e513768b90 naive: wip scale gas limit with roll size 2021-06-11 16:41:17 +02:00
yosoyubik
bc3d6e4ac7 Merge branch 'yu/naive-ordered-map' into naive/aggregator 2021-06-11 12:39:03 +02:00
yosoyubik
121ee03fd0 naive: add hint to +por arm 2021-06-11 12:32:47 +02:00
yosoyubik
b52cf1aa1d naive: defer deriving predicted naive state in aggregator 2021-06-11 12:27:05 +02:00
L
d236c45365
Merge pull request #5001 from urbit/la/fast-hgh 2021-06-10 22:25:35 -05:00
Liam Fitzgerald
96daff6b7f
Merge pull request #4936 from urbit/lf/read-graph-group
hark: read all in group, graph
2021-06-11 09:47:10 +10:00
drbeefsupreme
d16ef8beb1
naive: spawn test arms 2021-06-10 17:04:28 -04:00
drbeefsupreme
1b6d81a0c8
naive: %transfer-point tests 2021-06-10 15:59:38 -04:00
drbeefsupreme
3c2daa06b4
naive: match %configure-keys to skim:tx format 2021-06-10 15:34:42 -04:00
Philip Monk
e14ed392e6
naive: don't crash if we receive extra L1 logs 2021-06-10 09:22:51 -10:00
drbeefsupreme
4c7cdc253a
naive: spawn and xfer proxy tests 2021-06-10 15:19:31 -04:00
Logan Allen
bc4875c282 hark-graph-hook: speed it up with static conversions 2021-06-10 13:13:38 -05:00
drbeefsupreme
3bba3e5ac0
naive: fix nonce set 2021-06-10 13:23:10 -04:00
drbeefsupreme
71c6b45bc4
naive: add test categories 2021-06-10 13:22:10 -04:00
drbeefsupreme
da53512560
naive: more style 2021-06-10 12:51:19 -04:00
drbeefsupreme
3c36a38181
naive: cleanup style 2021-06-10 12:43:33 -04:00
yosoyubik
37ab836bcb naive: add latest +on map with parent order 2021-06-10 13:39:03 +02:00
L
c36b35aea4
Merge pull request #4991 from urbit/la/userspace-cleanup
graph-store: clean up old migrations, use some of the new +on methods
2021-06-09 16:02:20 -05:00
janeway-bot
2d76c3868e
Merge 85fdd6b190 into release/next-userspace 2021-06-09 20:02:37 +04:00
yosoyubik
749f8e93f9 naive: add when %next-batch to rpc-api 2021-06-09 15:59:04 +02:00
yosoyubik
60ba0f81dd naive: add units for endpoint and nonce in aggregator 2021-06-09 15:37:37 +02:00
fang
2d01e1851f
Merge branch 'master' into m/multipass 2021-06-09 14:34:49 +02:00
yosoyubik
0a5a69396c naive: remove setting nonce manually 2021-06-09 14:26:10 +02:00
yosoyubik
87be8c0e2d naive: wip use ordered map for points.nas 2021-06-09 14:20:58 +02:00
yosoyubik
0f0af88a31 naive: wip add ordered-map for points 2021-06-09 13:34:04 +02:00
yosoyubik
852881eff1 naive: rename nas to pre (predicted state) 2021-06-09 13:30:36 +02:00
yosoyubik
85c0c11257 naive: add time for next L2 batch to state 2021-06-09 13:05:17 +02:00
Philip Monk
85fdd6b190
clay: handle out-of-bounds versions in nako 2021-06-08 15:41:44 -10:00
Philip Monk
ee0141f5ab
btc-rpc: make build 2021-06-08 14:47:05 -10:00
drbeefsupreme
0bf69a99a3
naive: new test system working for mgmt proxies
hopefully its all downhill from here
2021-06-08 19:04:08 -04:00
Philip Monk
e5ab5db20c
Merge branch 'release/next-sys' of ssh://github.com/urbit/urbit into release/next-sys 2021-06-08 09:21:04 -10:00
fang
f17e228046
Merge pull request #4942 from urbit/m/dill-appetizer
dill: support next runtime's inputs
2021-06-08 21:05:25 +02:00
Philip Monk
b0c9fd1940
Merge remote-tracking branch 'origin/lf/hoon-inc' into release/next-sys 2021-06-08 08:59:27 -10:00
Philip Monk
f74faab70e
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-06-08 08:58:53 -10:00
Logan Allen
c61a6c21aa graph-store: add back %2 migration 2021-06-08 10:49:36 -05:00
raghu
6d4c9ab16f work: fix argument 2021-06-07 22:54:26 -04:00
raghu
de3df8c953 fuse: update help text 2021-06-07 22:54:03 -04:00
raghu
b499e1e711 clay: print conflicting source on fuse failure 2021-06-07 20:35:18 -04:00
raghu
ed81fdedfa fuse: update printing for |fuse-list 2021-06-07 20:23:00 -04:00
raghu
49cf665692 fuse: add |fuse-list generator 2021-06-07 19:58:41 -04:00
raghu
5106f18d9a fuse: use %w instead of %v so we can request over the network 2021-06-07 19:52:08 -04:00
Logan Allen
a8f45b25a0 ted/btc-rpc: make test pass by using proper arm name 2021-06-07 14:12:39 -05:00
Logan Allen
11c5bec34d graph-store: adhere completely to 80 character line limit 2021-06-07 13:48:25 -05:00
Logan Allen
980036d8c0 graph-store: style improvements 2021-06-07 13:42:26 -05:00
L
5cc908063a
Merge pull request #4987 from urbit/la/zuse-parsing
zuse: comb through all notes in libraries, and move arms to zuse
2021-06-07 13:11:40 -05:00
Logan Allen
b6d4f64e3d graph-store: clean up old migrations, use some of the new +on methods 2021-06-07 12:36:50 -05:00
Logan Allen
6703e03199 zuse: remove unnecessary line from +re 2021-06-07 10:20:20 -05:00
yosoyubik
b9c5d9e2e6 naive: listen to %resend timer 2021-06-07 13:09:16 +02:00
yosoyubik
ca2b626c4e naive: init aggregator timer on-init 2021-06-07 13:07:35 +02:00
yosoyubik
e7eaf3d2c6 naive: try updating predicted state on confirmed L2 tx 2021-06-07 11:41:02 +02:00
yosoyubik
e35a8b9e7f naive: cached naive state -> predicted naive state 2021-06-07 11:20:31 +02:00
raghu
071f3ff94e fuse: simpler generator interface 2021-06-06 14:01:40 -04:00
raghu
75726c45e8 initial implementation of printing logic 2021-06-06 12:43:26 -04:00
raghu
a7bf5bbca4 fuse: fix some 80 char violations 2021-06-05 18:48:55 -04:00
raghu
d6c592ebba fuse: removing dependency on key being present 2021-06-05 16:03:32 -04:00
raghu
10cf37f8d8 fuse: add support for tracking sources 2021-06-05 16:03:32 -04:00
yosoyubik
a01289145b naive: update aggregator cached naive state eagerly
The aggregator keeps a cached naive state that is recreated using the 
canonical L2 state from the %azimuth agent, every time a new L2 tx comes 
in via +take-tx (used by clients of the aggregator).

This makes the cached state ahead of the canonical L2 state, but 
recreated every time a client sends a tx, using the list of pending (not 
sent out to an ethereum node) and sending (waiting confirmation from 
L1). This step drops any pending and sending transactions that do not 
apply correctly.

Hearing about a new L2 tx confirmed in L1 (+on-naive-diff) removes such 
transaction from the sending list, but does not update the cached state, 
since this was already done when the L2 tx was seen in +take-tx.
2021-06-05 14:24:37 +02:00
yosoyubik
9c70e006a1 naive: fix wrong wire when receiving azimuth txs 2021-06-05 13:58:34 +02:00
yosoyubik
5859642363 naive: pack tx in send thread in correct order 2021-06-05 13:56:42 +02:00
drbeefsupreme
755fb61d62
naive: test filtrations 2021-06-04 17:50:07 -04:00
Logan Allen
87a5de919f userspace: adding a variety of casts to avoid nest checks 2021-06-04 16:08:54 -05:00
Logan Allen
b6206728cc hoon: make +sink more concise 2021-06-04 16:06:40 -05:00
fang
4c004e0165
lull: saner belt construction
$% by itself wasn't quite right, considering +bolt's @c case.
2021-06-04 21:45:59 +02:00
Logan Allen
7ef313c5e1 hoon: add +sink, a slow (but faster than dunk) type printing 2021-06-04 14:40:28 -05:00
drbeefsupreme
28bd682377
naive: transaction success divinator 2021-06-04 15:24:02 -04:00
drbeefsupreme
e7e49bc50c
naive: errant comment 2021-06-04 14:50:51 -04:00
Logan Allen
2c7a909f19 zuse: comb through all notes in libraries, and move arms to zuse 2021-06-04 12:47:51 -05:00
fang
148fb1b45c
tests, aqua: update for recent changes 2021-06-04 14:11:44 +02:00
yosoyubik
bac79bf55d naive: add get-spawned to rpc-api 2021-06-04 11:41:59 +02:00
janeway
a41c3adcdd
glob: update to 0v2.3qak4.al612.8m1ig.kg03r.mfide 2021-06-04 15:15:22 +10:00
Liam Fitzgerald
ce738f31f3
Merge pull request #4982 from urbit/lf/fix-dm-migration
dm-hook: fix on-init, rerun in on-load
2021-06-04 14:38:30 +10:00
Liam Fitzgerald
5791be170f
Merge remote-tracking branch 'origin/release/next-userspace' into lf/read-graph-group 2021-06-04 13:49:45 +10:00
L
e6925e7094
Merge pull request #4978 from urbit/la/fast-validate-graph 2021-06-03 19:48:56 -05:00
Liam Fitzgerald
becc2a9ffe
dm-hook: fix on-init, rerun in on-load 2021-06-04 10:28:28 +10:00
drbeefsupreme
baef809d93
naive: full galaxy test 2021-06-03 20:21:26 -04:00
drbeefsupreme
af7eb54999
naive: test event generator 2021-06-03 20:20:55 -04:00
fang
3b81e35260
dawn: better multikey format
Improves the multikeyfile format by taking a single ship and a list of
life+key pairs, instead of a list of full seeds.

Also decouples these changes from the dawn event, once again putting a
single seed into it. In the multikeyfile case, keys are injected as
%rekey events to jael near the end of the boot sequence.

Haskell-side changes may or may not be incomplete, boot presently fails
at some unknown point with what looks like a noun conversion error.
2021-06-04 01:49:15 +02:00
drbeefsupreme
775546de99
naive: predeposit l2 spawn test 2021-06-03 19:25:10 -04:00
drbeefsupreme
7eba932c9b
naive: l2 spawn proxy tests 2021-06-03 18:29:30 -04:00
Logan Allen
42a8eaf071 graph-push-hook: speed up by getting rid of nest checks, using %cf, and storing gates instead of tubes 2021-06-03 17:29:01 -05:00
drbeefsupreme
9f8d594f2f
naive: first full state test 2021-06-03 16:58:49 -04:00
Logan Allen
56f2d46820 graph-store + validators: stop using +grab:noun and switch to using a static conversion to %graph-indexed-post 2021-06-03 14:06:58 -05:00
L
cb7da7cbba
Merge pull request #4977 from urbit/la/fast-nest
graph-push-hook/thread: shave off 20ms from nest checks by getting ri…
2021-06-03 13:55:00 -05:00
Logan Allen
06f2aedc72 graph-push-hook/thread: shave off 20ms from nest checks by getting rid of tmi problem with types 2021-06-03 13:19:33 -05:00
yosoyubik
7e665b4fe8 naive: update wires and path in azimuth 2021-06-03 09:27:08 +02:00
yosoyubik
9c18638469 naive: update wires in aggregator 2021-06-03 09:26:13 +02:00
yosoyubik
82ab2b6b2d naive: use canonical state from azimuth in aggregator 2021-06-03 09:24:28 +02:00
yosoyubik
fc8e090a29 naive: add config action 2021-06-03 09:11:33 +02:00
janeway
b220427624
glob: update to 0v2.2k8eq.k1uhe.9acu7.emum0.s8gjd 2021-06-02 15:58:49 +10:00
janeway
4cf8f89008
glob: update to 0v6.usbmp.0s7fs.9dobf.8n2b8.gr1d4 2021-06-02 14:11:49 +10:00
janeway
13bc8805fd
glob: update to 0v6.usbmp.0s7fs.9dobf.8n2b8.gr1d4 2021-06-02 13:06:26 +10:00
matildepark
ddb8a84c49
Merge pull request #4970 from urbit/lf/prev-dm-validation
graph-push-hook: disable proxying of DM updates
2021-06-01 20:49:24 -04:00
Liam Fitzgerald
e510cbeb03
Merge remote-tracking branch 'origin/release/next-userspace' into release/2021-5-27 2021-06-02 10:12:05 +10:00
Liam Fitzgerald
d223f3eb87
graph-push-hook: disable proxying of DM updates 2021-06-02 09:57:27 +10:00
matildepark
fe8361bfe1
Merge pull request #4969 from urbit/ixv/btc-wilted
btc: stop storing bip32 core in btc-wallet state
2021-06-01 16:19:30 -04:00
ixv
870e0b42fa
Merge pull request #4963 from urbit/ixv/herb-cancel
herb: add cancel command
2021-06-01 13:00:00 -07:00
ixv
60ddfd1806 btc: stop storing bip32 core in btc-wallet state 2021-06-01 12:30:13 -07:00
L
21ae35a08f
Merge pull request #4932 from urbit/la/fast-look
arvo: add +de-case to speed up +de-beam, prime cache in +settle:va
2021-06-01 13:45:32 -05:00
yosoyubik
943eee1db6 naive: add ethereum signing address to aggregator sending map 2021-06-01 16:18:32 +02:00
yosoyubik
4642ece88f naive: use get-network for retrieving chain data 2021-06-01 14:28:17 +02:00
yosoyubik
5453722728 naive: give naive state after aggregator subscription 2021-06-01 14:23:53 +02:00
yosoyubik
52af4ad1c3 naive: remove unused batch-function hash 2021-06-01 14:09:48 +02:00
yosoyubik
9f3202eded naive: use cached naive state in aggregator 2021-06-01 13:56:56 +02:00
Liam Fitzgerald
a03623d249
push-hook: fix version negotiation
Addresses a bug where if the publisher could not perform the fact
conversion, it would not be deferred to the subscriber, preventing the
subscriber from being ahead of the publisher
2021-06-01 12:57:29 +10:00
Liam Fitzgerald
c87bd62e5b
metadata-push-hook: continue to sync DMs 2021-06-01 12:30:17 +10:00
Liam Fitzgerald
18862efc82
metadata-store: hide instead of drop dm associations 2021-06-01 12:26:36 +10:00
Liam Fitzgerald
698e79a1e4
push-hook: add %kick poke 2021-06-01 12:22:38 +10:00
Liam Fitzgerald
208c62c51d
metadata-push-hook: stop syncing dms 2021-06-01 12:09:38 +10:00
Liam Fitzgerald
e16f264d19
Merge remote-tracking branch 'origin/master' into lf/launch-fixes 2021-06-01 11:20:51 +10:00
yosoyubik
fbd96f69ee naive: fix aggregator pokes from rpc-api 2021-05-31 12:20:53 +02:00
ixv
3a14176934 herb: add cancel command 2021-05-29 12:53:23 -07:00
yosoyubik
5b0e785cf7 naive: choose contracts from mainnet, ropsten or local 2021-05-29 15:42:27 +02:00
yosoyubik
520225056a naive: send signature and raw tx for every tx in the roll
this assumes that the naive contract has a "fallback" function:

https://docs.soliditylang.org/en/v0.5.3/contracts.html#fallback-function
2021-05-29 14:57:57 +02:00
yosoyubik
98bef023cf naive: send updates to aggregator 2021-05-29 14:53:57 +02:00
yosoyubik
4cbf3d497b naive: update tx state in finding txs 2021-05-29 14:46:19 +02:00
yosoyubik
e834aface1 naive: subscribe to azimuth agent 2021-05-29 14:44:58 +02:00
yosoyubik
9abd6c3e72 naive: use gen-tx-octs from naive-transactions library 2021-05-29 14:44:16 +02:00
yosoyubik
a3ed3182bc naive: use contract/chain from azimuth library 2021-05-29 14:43:13 +02:00
yosoyubik
8b51b526d3 naive: add get-next-nonce thread 2021-05-29 14:40:13 +02:00
yosoyubik
8851e52f45 naive: add eth-get-balance 2021-05-29 14:22:33 +02:00
janeway
457904368b
glob: update to 0v2lque.i3rgs.9utfa.sk8o5.u9h6q 2021-05-28 11:25:30 +10:00
ixv
75bde5d4f7
Merge pull request #4950 from urbit/ixv/btc-tile-fix
btc: fix visual glitch with tile
2021-05-27 16:46:03 -07:00
ixv
bf2b094374 btc: fix visual glitch with tile 2021-05-27 15:53:38 -07:00
janeway
66537f39a5 glob: update to 0v3.p6u25.2ltvl.kdnbq.a2uq4.9uhqu 2021-05-27 12:39:22 -07:00
ixv
e195bbbcc7 glob: don't flush state when upgrading 2021-05-27 11:52:56 -07:00
Logan Allen
2549eaa5c2 eyre: comment out %writ specialization because it causes crashes 2021-05-27 13:28:23 -05:00
Logan Allen
d822d5adce gall: ensure we send %whiz after all the other moves 2021-05-27 13:24:36 -05:00
ixv
c92079cda4 glob: fix +trouble 2021-05-27 11:21:27 -07:00
Logan Allen
3427e57cb3 eyre: specialize %clay type 2021-05-27 13:01:06 -05:00
Logan Allen
00fa3e7f0d arvo: add %whiz option that allows one to prime the compiler cache 2021-05-27 12:55:03 -05:00
fang
bee2fd278c
dill: support next runtime's inputs
This, along with the new runtime understanding current dill's blits,
will ensure that the new runtime is reasonably usable even with the old
dill.
2021-05-27 16:28:42 +02:00
Liam Fitzgerald
b8ec17f08c btc-wallet: standardise build process 2021-05-26 18:30:18 -07:00
ixv
40d69b5a02 btc: invoice error handling 2021-05-26 18:30:18 -07:00
ixv
768b47985d btc: change tile to svg 2021-05-26 18:30:18 -07:00
ixv
a710de616c btc: provider now has one heartbeat for all clients 2021-05-26 18:30:18 -07:00
ixv
8770e1e00c btc: persist preferred currency; clean up btc currency style 2021-05-26 18:30:18 -07:00
ixv
0da2778193 btc: update hash verification process 2021-05-26 18:30:18 -07:00
ixv
332652e0d1 glob: generalize 2021-05-26 18:30:18 -07:00
pkova
a4c03cc630 btc: add dust error handling 2021-05-26 18:30:18 -07:00
pkova
d93020d9c6 btc: add basic error handling 2021-05-26 18:30:18 -07:00
pkova
6847bf0813 btc: remove unnecessary retry logic, send balance in handle-tx-info 2021-05-26 18:30:18 -07:00
ixv
41685a88c0 btc: settings page 2021-05-26 18:30:18 -07:00
ixv
a791a2edf1 btc: fix history bug 2021-05-26 18:30:18 -07:00
ixv
36f8167986 btc: attach note to transaction 2021-05-26 18:30:18 -07:00
pkova
4a0caa9fc3 btc: add balance events on handle-address-info 2021-05-26 18:30:18 -07:00
Isaac Visintainer
aa5ccf8122 btc: add warning message 2021-05-26 18:30:18 -07:00
Isaac Visintainer
b2887e75a0 btc: add tile 2021-05-26 18:30:18 -07:00
Isaac Visintainer
82829c6ee0 btc: retry logic for unconfirmed balance, show it on frontend 2021-05-26 18:30:18 -07:00
Isaac Visintainer
718d774d0d btc: first pass on fee selection 2021-05-26 18:30:18 -07:00
pkova
1a096efbba btc: retry logic for unconfirmed balance, show it on frontend 2021-05-26 18:30:18 -07:00
Isaac Visintainer
78a7dd256f temp 2 2021-05-26 18:30:18 -07:00
Isaac Visintainer
24db04bccc temp 2021-05-26 18:30:18 -07:00
Isaac Visintainer
6377f49340 btc: js hash check generator 2021-05-26 18:30:18 -07:00
Isaac Visintainer
62afe28f3f btc: allow unsetting provider; let frontend know if wallet is removed 2021-05-26 18:30:17 -07:00
Isaac Visintainer
e759050eb2 btc: check if payee has wallet; allow sending to external addresses 2021-05-26 18:30:17 -07:00
Isaac Visintainer
197934f95b btc: address copying 2021-05-26 18:30:17 -07:00
Isaac Visintainer
2158e9a4cd btc: transaction history 2021-05-26 18:30:17 -07:00
pkova
215784af44 btc: add mvp sending flow 2021-05-26 18:30:17 -07:00
Isaac Visintainer
6992a34040 btc: record history for transactions that occur outside wallet flow 2021-05-26 18:30:17 -07:00
Isaac Visintainer
2afa80a638 btc: unconditionally re-request address-info for watched addresses 2021-05-26 18:30:17 -07:00
Isaac Visintainer
cc7318aaa9 btc: provider/wallet setup flow 2021-05-26 18:30:17 -07:00
Isaac Visintainer
d32e78799f btc: more frontend template stuff 2021-05-26 18:30:17 -07:00
Isaac Visintainer
2b6831db13 btc: added tile 2021-05-26 18:30:17 -07:00
Isaac Visintainer
d8f1e731e1 btc: post merge cleanup 2021-05-26 18:30:17 -07:00
Logan Allen
7305ce1499 arvo: clean up unnecessary type casts and fix profiling hint 2021-05-26 17:59:00 -05:00
Logan Allen
517ebbbbee arvo: rename +en-case to +de-case, prime the cache in +settle 2021-05-26 17:12:59 -05:00
Logan Allen
fdec9ebe93 arvo: add +en-case, hoon: remove +sloy 2021-05-26 15:45:39 -05:00
fang
939055f334
dawn: correctly propagate multikeyfile errors 2021-05-26 20:11:36 +02:00
fang
9e16cd0875
tests: update dawn tests for recent changes
Also includes some new tests for the multikeyfile case.
2021-05-26 20:11:02 +02:00
fang
1508168fbc
aqua: update for latest dawn-event format 2021-05-26 19:30:46 +02:00
Logan Allen
23f9668d46 eyre: make fang's requested style changes 2021-05-26 12:22:54 -05:00
fang
d1890f5db2
jael, dawn: support multi-keyfile during boot
Allows booting with a keyfile containing multiple keys, as long as one
of them matches current PKI pubkeys for the specified ship.

All relevant keys are loaded into jael and will automatically be put to
use when they match PKI state.
2021-05-26 16:02:39 +02:00
yosoyubik
7b216d316a Merge remote-tracking branch 'origin/poprox/naive-tests' into naive/aggregator 2021-05-26 12:03:28 +02:00
Liam Fitzgerald
d124bbdb57
hark: fix read-group action 2021-05-26 14:10:46 +10:00
drbeefsupreme
816f5ac38f
Merge branch 'philip/naive' into poprox/naive-tests 2021-05-25 15:06:30 -04:00
drbeefsupreme
1716383beb
naive: split signing from gen-tx-octs 2021-05-25 15:05:39 -04:00
Liam Fitzgerald
82f2c88062
hark-store: add %read-graph %read-group actions 2021-05-25 13:38:09 +10:00
Matilde Park
15fd607af8 Merge branch 'release/next-userspace' into release/2021-5-27 2021-05-24 19:08:25 -04:00
Matilde Park
e859f2a5e8 Merge branch 'release/next-userspace' into la/deep-graph 2021-05-24 19:02:44 -04:00
Logan Allen
8ee9382e7b arvo/hoon: add +sloy, a %da short-circuited +slay to speed up +de-beam and thus +look 2021-05-23 20:34:43 -05:00
yosoyubik
47813a189a naive: hook up subscription to azimuth for %tx diffs 2021-05-23 15:49:55 +02:00
yosoyubik
001d58e539 naive: add parse raw tx in aggregator submit action 2021-05-23 14:59:29 +02:00
yosoyubik
766e2ab610 naive: capture rpc errors when sending l2 batches 2021-05-22 08:10:30 +02:00
yosoyubik
3cee0ff3b8 naive: import /lib/naive-transactions in aggregator 2021-05-21 15:21:09 +02:00
yosoyubik
937cc2ce44 naive: add aggregator sur 2021-05-21 15:07:08 +02:00
yosoyubik
9caa686173 naive: cast to _pending when updating pending-state 2021-05-21 14:29:40 +02:00
yosoyubik
fbb40b688e naive: add %failed for droppped l2 txs 2021-05-21 14:12:05 +02:00
yosoyubik
30bd648d7f json-rpc: move error response core to lib 2021-05-21 13:39:06 +02:00
yosoyubik
c1f071878a Merge remote-tracking branch 'origin/philip/naive' into yu/azimuth-rpc 2021-05-21 13:01:40 +02:00
yosoyubik
8532ef4bb0 naive: remove [] around function calls in scry paths 2021-05-21 13:00:45 +02:00
yosoyubik
93c2e3b0b5 naive: move json [en/de]code functions to common core 2021-05-21 12:57:47 +02:00
yosoyubik
6cdc3a1cae Merge branch 'naive/aggregator' into yu/azimuth-rpc 2021-05-21 12:34:33 +02:00
yosoyubik
ce35d07adb naive: remove redundant brackets 2021-05-21 12:34:29 +02:00
yosoyubik
f6adf083ad naive: use /v1/azimuth in rcp-api 2021-05-21 12:28:54 +02:00
yosoyubik
8cd811658f Merge branch 'yu/azimuth-rpc' into naive/aggregator 2021-05-21 12:20:06 +02:00
yosoyubik
48533331f9 naive: fix signature parsing 2021-05-21 12:17:59 +02:00
yosoyubik
5862aa07ce naive: wip aggregator send thread 2021-05-21 12:16:57 +02:00
yosoyubik
31ae6c2227 ethio: handles a result member in an error response
When using a Ganache for running a local Ethereum node, an error RPC 
response can contain a 'result' member with the hash of the transaction, 
 even though that goes against the JSON-RPC spec
2021-05-21 12:11:56 +02:00
Liam Fitzgerald
61a3ea8028
glob: update to 0v2.3mphd.voocg.covr7.iv5la.kkk8h 2021-05-21 12:45:51 +10:00
Liam Fitzgerald
6ca91bf3d8
dm-hook: fix self DM case 2021-05-21 10:07:27 +10:00
Philip Monk
90b7a77cdf
naive: fix rift handling during reset transfers 2021-05-20 13:46:25 -10:00
Philip Monk
c5b17bdb7a
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-05-20 13:09:53 -10:00
Philip Monk
fef85b1829
naive: make correct sponsor for L2-spawned ships 2021-05-20 13:09:03 -10:00
Philip Monk
000f7ca717
naive: better style 2021-05-20 13:07:52 -10:00
Philip Monk
eb68a42b0d
Merge branch 'philip/naive' of ssh://github.com/urbit/urbit into philip/naive 2021-05-20 12:46:19 -10:00
Liam Fitzgerald
115ee5f4f1
Merge pull request #4910 from urbit/lf/hark-boxing
hark: new boxing model
2021-05-21 08:38:18 +10:00
Logan Allen
571e1df2c6 eyre: add ~| to slym 2021-05-20 15:05:36 -05:00
drbeefsupreme
2b6a795c8b
naive: |^ify gen-tx-octs 2021-05-20 15:55:24 -04:00
Logan Allen
be7c94fcba eyre: replace +slam with +slym for a speedup 2021-05-20 14:31:28 -05:00
L
782a7644a3
Update pkg/arvo/sys/vane/eyre.hoon
Co-authored-by: fang <github@fang.io>
2021-05-20 13:40:05 -05:00
L
c0daa7f9fc
Update pkg/arvo/sys/vane/eyre.hoon
Co-authored-by: fang <github@fang.io>
2021-05-20 13:39:49 -05:00
Logan Allen
5e2eb1b783 eyre: use slam and statically typed conversion 2021-05-20 18:03:04 +00:00
Logan Allen
306dbbaead eyre: use static mark conversions 2021-05-20 12:11:45 -05:00
Liam Fitzgerald
93335fc1ea
dm-hook: fix migration 2021-05-20 15:26:11 +10:00
Liam Fitzgerald
35874233b0
metadata-store: drop dm associations 2021-05-20 14:25:44 +10:00
Liam Fitzgerald
8f758ba2df
dm-mark: fix broken vale:dais 2021-05-20 14:25:44 +10:00
Liam Fitzgerald
86344ff88d
dm-hook: transform indices 2021-05-20 14:25:43 +10:00
Liam Fitzgerald
ad1187bc3c
SidebarList: fix associations access 2021-05-20 14:25:39 +10:00
Matilde Park
c4a65eb65f Merge branch 'master' into release/2021-5-27 2021-05-19 22:07:12 -04:00
Logan Allen
c0e4dcdc18 eyre: no-op on clay take 2021-05-19 16:01:05 -05:00
Logan Allen
054806b307 eyre: send warp to warm %c cache for any mark that gets used 2021-05-19 15:40:32 -05:00
drbeefsupreme
189edd2e48
naive: rename gen-tx to gen-tx-octs 2021-05-19 15:57:24 -04:00
drbeefsupreme
f10c6606d0
naive: change tests to work with new tx form 2021-05-19 15:49:03 -04:00
drbeefsupreme
6f89b2ddd6
naive: use lib/naive tx form 2021-05-19 15:48:27 -04:00
janeway-bot
40b1ec453b
Merge e1bf7e1843 into release/next-userspace 2021-05-19 22:51:43 +04:00
Logan Allen
0e8ff36857 graph-validators: hotfix broken vale:dais caused by removal of +bunt from clay 2021-05-19 18:47:11 +00:00
janeway-bot
9da9a986e9
Merge 804e2578ed into release/next-userspace 2021-05-19 21:29:17 +04:00
drbeefsupreme
ab332118b9
Merge remote-tracking branch 'origin/naive/aggregator' into poprox/naive-tests 2021-05-19 11:33:51 -04:00
drbeefsupreme
04016eb262
naive: another life/rift test 2021-05-19 11:32:13 -04:00
Logan Allen
d6d085c1ae graph-store: fix deep-older-than scry to not mangle indices 2021-05-18 18:01:04 -05:00
Logan Allen
8146a65f0a graph-store: last tweak to make firstborn fetch perfectly 2021-05-18 16:56:03 -05:00
Logan Allen
43a7c12ef7 graph-store: make firstborn scry work starting at any index, not just top-level 2021-05-18 15:42:29 -05:00
Logan Allen
bbdbfe662b graph-store: fix firstborn scry 2021-05-18 15:02:17 -05:00
Philip Monk
804e2578ed
kiln: don't crash on fuse 2021-05-18 09:09:22 -10:00
Philip Monk
bbe3cbe8ee
clay: formatting 2021-05-18 08:32:30 -10:00
Logan Allen
3fb9bd0839 Merge branch 'release/next-sys' into la/deep-graph 2021-05-18 12:51:50 -05:00
Philip Monk
1e6e69a49d
Merge branch 'pr' into release/next-sys 2021-05-18 07:50:26 -10:00
Philip Monk
3a3bd23be6
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-05-18 07:50:05 -10:00
Philip Monk
5007257b63
Merge branch 'release/next-sys' of ssh://github.com/urbit/urbit into release/next-sys 2021-05-18 07:41:58 -10:00
Philip Monk
1f016f56a6
Merge pull request #4916 from urbit/la/sys-ram
zuse: added +ram method to ordered map and made comments on methods a…
2021-05-18 10:40:31 -07:00
Philip Monk
63ba2823dd
Merge remote-tracking branch 'origin/ted/clay-bunt' into release/next-sys 2021-05-18 07:38:52 -10:00
Logan Allen
2c754ff08f zuse: added +ram method to ordered map and made comments on methods accurate 2021-05-18 12:38:42 -05:00
Philip Monk
e2e4d28548
Merge pull request #4788 from urbit/la/sys-fast-orm
zuse: add +all, +any, +got, +has, +run, and +tab to ++ordered-map, jet hints, and reorganize alphabetically
2021-05-18 10:24:31 -07:00
Philip Monk
57bea9407e
Merge pull request #4623 from urbit/jb/seminoun-bunt
hoon: update seminoun bunt to be fully blocked
2021-05-18 10:23:30 -07:00
Liam Fitzgerald
4babfb22b7
hark: new boxing refinement 2021-05-18 10:57:25 +10:00
Liam Fitzgerald
55ad8e22ae
Merge remote-tracking branch 'origin/release/2021-5-27' into lf/hark-boxing 2021-05-18 10:46:31 +10:00
yosoyubik
9e7cb91398 Merge branch 'yu/azimuth-rpc' into naive/aggregator 2021-05-17 17:50:45 +02:00
yosoyubik
152cf894ff naive: hook rpc-api with aggregator 2021-05-17 17:49:41 +02:00
yosoyubik
7c57a35ccc naive: wip aggregator compiles
got it to compile and tested poke and scry from /app/azimuth-rpc.hoon
2021-05-17 17:48:49 +02:00
Liam Fitzgerald
d37dd90aef
hood: dm-hook is born 2021-05-17 16:16:37 +10:00
Liam Fitzgerald
8c237ce8e3
dm-hook: fix +on-init 2021-05-17 16:16:16 +10:00
Liam Fitzgerald
5a1cb84192
Merge remote-tracking branch 'origin/release/next-userspace' into release/2021-5-27 2021-05-17 16:07:09 +10:00
Liam Fitzgerald
d1cb72947e
hark: first pass at new boxing model 2021-05-17 15:42:13 +10:00
Liam Fitzgerald
95a41e6896
Merge remote-tracking branch 'origin/release/2021-5-27' into lf/perfect-dms 2021-05-17 12:01:59 +10:00
Logan Allen
a02bab61f0 Merge branch 'release/next-userspace' into la/deep-graph 2021-05-14 17:05:54 -05:00
Logan Allen
c56bf44708 graph-store: remove sigpam 2021-05-14 16:49:53 -05:00
Logan Allen
30df1345c2 graph-store: add index validation 2021-05-14 16:36:27 -05:00
Logan Allen
2d11c3658d graph-store: fix parsing of firstborn scry path 2021-05-14 15:11:50 -05:00
drbeefsupreme
5124bc5299
naive: combining life+rift tests 2021-05-14 14:17:06 -04:00
drbeefsupreme
4aa571d98c
new life+rift tests 2021-05-14 13:56:09 -04:00
yosoyubik
154baceb8b Merge branch 'yu/azimuth-rpc' into naive/aggregator 2021-05-14 09:46:36 +02:00
yosoyubik
c5d61b7076 json-rpc: fix result key in rpc response 2021-05-14 07:25:13 +02:00
yosoyubik
8ebb5e2d6c naive: add pending and tx status RPCs 2021-05-14 07:25:09 +02:00
yosoyubik
7ede24c3cc naive: first pass at tx history RPC 2021-05-14 07:25:04 +02:00
yosoyubik
ae8d98c467 naive: add jsonrpc parsing for sending pending rolls 2021-05-14 07:24:59 +02:00
yosoyubik
66d0c7d47b naive: handle malformed data in transfer-point 2021-05-14 07:24:56 +02:00
yosoyubik
c150da0372 naive: validate proxy in from is one of proxy:naive 2021-05-14 07:24:53 +02:00
yosoyubik
00334d582e naive: use +pairs:enjs for point-to-json reponse 2021-05-14 07:24:48 +02:00
yosoyubik
0380d18735 naive: add rpc response error codes 2021-05-14 07:24:43 +02:00
yosoyubik
36cdb9493d naive: add jsonrpc parsing for naive txs 2021-05-14 07:24:35 +02:00
yosoyubik
fe6f189e33 json-rpc: add support for params as map object 2021-05-14 07:24:35 +02:00
yosoyubik
fe8c36dd3f naive: use agentio for scry point 2021-05-14 07:24:27 +02:00
yosoyubik
843fe4ce38 json-rpc: add validation for json-rpc request 2021-05-14 07:24:27 +02:00
yosoyubik
d8a24d7d6b naive: add json library for rpc responses 2021-05-14 07:24:16 +02:00
yosoyubik
0c704bb145 json-rpc: add response-to-json 2021-05-14 07:24:16 +02:00
yosoyubik
afd3c9b85e naive: add azimuth rpc api
Currently supports one endpoint 'get-point' that returns Azimuth Point
data (see +point in %/lib/naive.hoon), for a given ship.

To run it:

curl -X POST --data '{
  "jsonrpc": "2.0",
  "method": "get-point",
  "params": {"ship": "~sampel-palnet"},
  "id": 1234
}' http://localhost:8080/v1/azimuth
2021-05-14 07:23:59 +02:00
yosoyubik
de3007dc06 json-rpc: add jsonrpc key to request 2021-05-14 07:23:59 +02:00
yosoyubik
31cc219997 naive: support "get point" scry 2021-05-14 07:23:58 +02:00
Logan Allen
6de7d5f683 graph-store: threading scry 2021-05-13 20:27:24 -05:00
Philip Monk
f73b913df9
Merge branch 'release/next-sys' of ssh://github.com/urbit/urbit into release/next-sys 2021-05-13 07:04:27 -10:00
Philip Monk
a57b6f9c9e
Merge branch 'pr' into release/next-sys 2021-05-13 07:04:07 -10:00
Philip Monk
958b68f63b
naive: comments 2021-05-13 06:58:37 -10:00
fang
9b62454bca
naive: wip aggregator
Includes logic for the core flow, but isn't fully hooked up to outside
sources/events yet. Probably doesn't compile. Plenty of TODOs remaining.
2021-05-13 17:21:35 +02:00
Tyler Brown Cifu Shuster
dba9ceeec2 Merge branch 'release/next-userspace' of https://github.com/urbit/urbit into tbcs/dumb-as-rocks 2021-05-13 05:38:11 -07:00
Liam Fitzgerald
9fb6a5a2eb
glob: update to 0v2.rvlfs.f97fq.hjrpe.d3h68.n54sj 2021-05-13 16:03:59 +10:00
raghu
44722f3a09 fuse: properly report success 2021-05-11 21:30:44 -04:00
drbeefsupreme
49fdf0a496
naive: fix key changing tests 2021-05-11 17:33:57 -04:00
drbeefsupreme
de5a907300
naive: factor out l2 transaction firing into lib
Moved everything related to generating layer 2 transactions, including
verification, into their own library. This ought to be shared between
the aggregator and tests
2021-05-11 16:47:33 -04:00
drbeefsupreme
7470b148b8
naive: unified l2 transaction firing arm 2021-05-11 16:32:33 -04:00
Logan Allen
03039d9fc2 graph-store: properly take a deep tabulation 2021-05-11 14:27:08 -05:00
drbeefsupreme
baadf059d4
naive: add basic types 2021-05-11 14:28:43 -04:00
Logan Allen
fa343789cd graph-store: make it compile 2021-05-11 13:01:22 -05:00
Logan Allen
77eb265ce7 Merge branch 'master' into la/deep-graph 2021-05-11 12:41:48 -05:00
Logan Allen
2c79243194 Merge branch 'la/sys-fast-orm' into la/deep-graph 2021-05-11 12:37:52 -05:00
Logan Allen
b311087f6a Merge branch 'release/next-sys' into la/sys-fast-orm 2021-05-11 12:37:16 -05:00
Liam Fitzgerald
9f792180ed
glob: update to 0v4.vrvkt.4gcnm.dgg5o.e73d6.kqnaq 2021-05-11 12:50:42 +10:00
Liam Fitzgerald
798b894a78
glob: update to 0v3.p4se6.4k5i0.8v0le.v5vn4.mdotq 2021-05-11 11:57:00 +10:00
Liam Fitzgerald
dbb5cf4f0b
hooks: reset diplomacy 2021-05-11 11:50:12 +10:00
Liam Fitzgerald
73e32f816c
Merge remote-tracking branch 'origin/release/next-userspace' 2021-05-11 11:07:17 +10:00
L
9d790dd3db
Merge pull request #4877 from urbit/la/push-hook-profiling
graph-push-hook: add better hints for profiling
2021-05-10 18:24:45 -05:00
Logan Allen
0691f4a765 graph: added comments 2021-05-10 18:23:42 -05:00
Logan Allen
c5fbd73b67 graph-push-hook: only cache marks, do not cache metadata for a graph 2021-05-10 17:11:23 -05:00
Logan Allen
3c530cdc01 graph-push-hook: code style cleaning 2021-05-10 15:32:20 -05:00
Logan Allen
2a0fdb446c push-hook: clean-up code style 2021-05-10 15:16:24 -05:00
Logan Allen
8c03a5f182 graph-store: internally cache all scried daises 2021-05-10 12:09:47 -05:00
Matilde Park
d4c4db1ec5 Merge branch 'release/next-js' into release/next-userspace 2021-05-10 12:27:12 -04:00
Logan Allen
e042420d9b graph-push-hook: rename mark for cache action 2021-05-10 11:20:06 -05:00
Logan Allen
258241dd15 demo-push-hook: update for new push-hook interface 2021-05-10 11:16:18 -05:00
Liam Fitzgerald
6223430ee3
graph-store: fix shallow-children scry 2021-05-10 13:21:56 +10:00
Liam Fitzgerald
be98756c1a
dm-hook: rename %dm-inbox 2021-05-10 13:20:21 +10:00
Liam Fitzgerald
452c2874c5
dm-hook: fix +on-init 2021-05-10 13:18:39 +10:00
Logan Allen
f4388dc60e graph-push-hook: speed up +transform-proxy-update by using persistent
caching
2021-05-07 15:42:31 -05:00
Logan Allen
9dbade6207 graph-push-hook: added more jet hints 2021-05-07 12:20:06 -05:00
Logan Allen
57f5550dbc graph-push-hook: add better hints for profiling 2021-05-07 12:11:16 -05:00
janeway
42bde744d8 glob: update to 0v7.k043v.fjsi2.bpm4g.0ekbj.566c4 2021-05-06 15:18:19 -04:00
janeway
a5904c0b68 glob: update to 0v7.d6q7p.kct28.jpdq3.r5kt9.rbjv0 2021-05-06 14:53:31 -04:00
drbeefsupreme
0266805b12
naive: combine l2 spawn tests 2021-05-06 11:37:02 -04:00
drbeefsupreme
f39ca44a9d
naive: combine transfer proxy tests 2021-05-06 11:29:17 -04:00
drbeefsupreme
e7c268f53a
naive: change +transfer-point sample 2021-05-06 11:22:03 -04:00
Liam Fitzgerald
53f17d8844
glob: update to 0vp51an.2c81t.2dc6j.oibjo.0mbfd 2021-05-06 15:45:30 +10:00
drbeefsupreme
2c445fe495
naive: more test standardization 2021-05-06 00:54:13 -04:00
matildepark
0ac26732c0
Merge pull request #4833 from rabsef-bicrym/ico-mark
file-server: Added support for .ico files:
2021-05-06 00:28:07 -04:00
Liam Fitzgerald
f9135d594b
glob: update to 0v5.6jf0v.sc7t3.1kjf9.25gku.9rumj 2021-05-06 14:11:32 +10:00
Liam Fitzgerald
79e47cb6c2
Merge remote-tracking branch 'origin/release/next-js' 2021-05-06 14:01:20 +10:00
Liam Fitzgerald
6e6f5665ee
Merge branch 'lf/fix-watch-ack' 2021-05-06 14:00:59 +10:00
drbeefsupreme
8c3ee149cb
naive: l1 sponsorship tests 2021-05-05 23:25:34 -04:00
drbeefsupreme
a81e5e5af4
Merge branch 'philip/naive' into poprox/naive-tests 2021-05-05 22:56:34 -04:00
drbeefsupreme
2189a54ae9
naive: dumb way to make tests more readable 2021-05-05 22:55:15 -04:00
Logan Allen
3cf35bc369 graph-store: updated deep-node retrieval to use +tab 2021-05-05 17:25:13 -05:00
fang
1678d45876
naive: emit effects for processed txs
As a transaction receipt of sort, to inform of transaction success or
failure.
2021-05-06 00:16:49 +02:00
Logan Allen
01c5286319 graph-store: change scry name 2021-05-05 16:57:38 -05:00
Logan Allen
28a94d9b25 graph-store: add deep-subset scry that allows one to scry for an upper
bound of ordered items by time
2021-05-05 16:57:32 -05:00
Logan Allen
0ed09b7a29 tests: fix wrong expected result with ordered-map test 2021-05-05 16:53:24 -05:00
Joe Bryan
999b56f809 gen: improve |code confirmation prompt parser
Co-authored-by: fang <github@fang.io>
2021-05-05 14:29:31 -07:00
Joe Bryan
8e855b159f gen: warn and prompt for confirmation in |code %reset 2021-05-05 14:29:29 -07:00
Logan Allen
a25f8028f4 tests: add test to make sure subtree is being modified properly in +del-span 2021-05-05 16:07:08 -05:00
Logan Allen
915c548037 zuse: fix +del-span in +tab 2021-05-05 14:41:13 -05:00
Logan Allen
36ae091cff zuse: +tab in ordered-map is more succinct and no longer nips 2021-05-05 13:09:43 -05:00
Logan Allen
4073cf9d76 zuse: +tab marginal code cleanup to reduce use of lark 2021-05-05 12:59:40 -05:00
Logan Allen
947b9ec75c zuse: +tab should paginate into the ordered-map starting from the highest element, not from the lowest 2021-05-05 11:56:04 -05:00
Logan Allen
59227f8696 tests: added tests for +tab 2021-05-04 15:58:47 -05:00
Logan Allen
c86559071f zuse: add +tab arm to +on, which allows one to take a subset excluding the start element with a max count 2021-05-04 14:55:41 -05:00
drbeefsupreme
f395a7668d
naive: missing tangs 2021-05-04 14:11:19 -04:00
drbeefsupreme
839a660b69
naive: sponsorship tests 2021-05-04 14:10:25 -04:00
drbeefsupreme
b2a1da4faa
naive: l2 life+rift tests 2021-05-04 13:27:43 -04:00
Liam Fitzgerald
158c87c64d
dm-hook: check graph-store running 2021-05-04 16:18:47 +10:00
Liam Fitzgerald
cb1bfc07c8
dm-hook: migrate state 2021-05-04 16:08:08 +10:00
Liam Fitzgerald
357ba972d6
hark-store: refactor on-load 2021-05-04 15:21:49 +10:00
Liam Fitzgerald
251f0a5bd1
dm-hook: sign, hash messages 2021-05-04 15:10:47 +10:00
Liam Fitzgerald
31a84f583f
hark: refactor, add migration 2021-05-04 14:17:55 +10:00
Liam Fitzgerald
ec4e3cacc3
post: remove %dm reference 2021-05-04 14:15:47 +10:00
raghu
9db61a1566 fuse: simplify state restoration logic 2021-05-03 22:26:49 -04:00
Liam Fitzgerald
7a4546c4a1
dm-hook: screening 2021-05-04 11:17:49 +10:00
Liam Fitzgerald
772a134108
dm-hook: update for latest master 2021-05-04 11:17:49 +10:00
Liam Fitzgerald
8ae3e56b92
npm: update metadata types 2021-05-04 11:17:48 +10:00
Liam Fitzgerald
10df4fa4b8
dm-hook: pendings and references 2021-05-04 11:17:47 +10:00
Liam Fitzgerald
2001afe01d
hark: remove group, change module to mark in index 2021-05-04 11:17:46 +10:00
Liam Fitzgerald
d490855aaa
dm-hook: add root if nonexistent 2021-05-04 11:15:04 +10:00
Liam Fitzgerald
097bae6fb7
graph-store: add dm validator 2021-05-04 11:15:04 +10:00
Liam Fitzgerald
3f7d08285e
graph-store: add shallow-children scry 2021-05-04 11:15:03 +10:00
Liam Fitzgerald
64db58fa6f
dm-hook: first pass
%add-nodes forwarding working
2021-05-04 11:15:03 +10:00
Liam Fitzgerald
828e7ead1b
graph: add cage helpers 2021-05-04 11:15:03 +10:00
Liam Fitzgerald
395ef6ef01
hooks: add diplomacy flag 2021-05-04 11:06:59 +10:00
Liam Fitzgerald
29ada0eba1
pull-hook: slog tank on versioned nack
Should hopefully provide more debugging info for ghost subscriptions
2021-05-04 11:02:24 +10:00
Liam Fitzgerald
dcf858ccf9
push-hook: hold subscription open after validating access
When we receive a watch-nack on a versioned subscription, we attempt to
resubscribe on an unversioned path. However, if we receive an unversioned
subscription request for which we are not compatible, we hold the
subscription open and never send any facts on unversioned subscriptions.
As the check for unversioned compatiblility occurs before retrieving the
initial-watch, subscriptions which are supposed to nack never do. Fixed
by moving the conditional.

Fixes urbit/landscape#795
2021-05-04 10:56:49 +10:00
Liam Fitzgerald
c73e2b95b5
versioning: convert gates return a cage 2021-05-04 10:55:06 +10:00
Logan Allen
b590faec9d hark-graph-hook: cast the interior of the vase for speed 2021-05-03 18:51:37 -05:00
raghu
2fd8e729e1 fuse: fix indents 2021-05-03 19:29:28 -04:00
Ted Blackman
4c94c7edd4 ames: expire direct lanes faster after inactivity 2021-05-03 17:33:56 -04:00
raghu
20fb39bba7 fuse: fix comments 2021-05-02 14:15:03 -04:00
raghu
08d3aa2485 fuse: c/r 2021-05-02 14:04:03 -04:00
raghu
75ed2cc0af fuse: c/r 2021-05-02 13:44:18 -04:00
raghu
baa06904f6 fuse: print help text in generator 2021-05-01 23:04:19 -04:00
Logan Allen
027011deb3 hark-graph-hook: remove unnecessary scries where possible for perf 2021-04-30 19:55:27 -05:00
Matilde Park
391a3101d9 Merge branch 'release/next-js' into release/next-userspace 2021-04-30 18:10:01 -04:00
drbeefsupreme
7b89b552b6
naive: fix transfer life+rift test 2021-04-30 17:45:24 -04:00
drbeefsupreme
90d91472b4
naive: test l2 escape request 2021-04-30 17:42:30 -04:00
drbeefsupreme
d7909375c8
naive: life and rift tests 2021-04-30 17:16:53 -04:00
drbeefsupreme
e87b1e2621
naive: test breach proxies+keys for l2 transfers 2021-04-30 16:39:13 -04:00
drbeefsupreme
7f32d91258
naive: breach is flag not atom 2021-04-30 14:00:03 -04:00
janeway
d0be435624 glob: update to 0v2.9br5i.hl1e5.cda79.75gdi.jj5hc 2021-04-30 12:49:53 -04:00
Logan Allen
6e360a9746 graph-store: +on-load to %5 properly 2021-04-30 11:36:54 -05:00
janeway
4f873320f1 glob: update to 0vrjber.rqjl4.19elk.2fmnt.6t82g 2021-04-30 12:16:28 -04:00
fang
4772b261ad
launch: expose runtime lag scry endpoint 2021-04-30 18:10:15 +02:00
Liam Fitzgerald
004145b407
graph: bunt time to ensure deduplication
The varying timestamp in the %add-graph fact from graph-push-hook was
preventing deduplication of the jammed noun in ames. Prevents
unnecessary bail: memes upon sending many %add-graph facts
2021-04-30 23:58:50 +10:00
Liam Fitzgerald
681641fe4c
graph-store: initialise update logs 2021-04-30 23:58:42 +10:00
Liam Fitzgerald
85f2dd26ce
glob: update to 0v7.dmf2h.884m6.b2p1b.l1and.uv1lv 2021-04-30 15:25:01 +10:00
Liam Fitzgerald
56b9a7545c
Merge remote-tracking branch 'origin/master' into la/ref-trans-graph 2021-04-30 14:36:26 +10:00
Philip Monk
49bbf37ca2
Merge pull request #4835 from urbit/philip/clay-fixes
clay: fix requests for strange cares over ames
2021-04-29 15:18:05 -07:00
drbeefsupreme
84a8a5c860
naive: fix key format for tests 2021-04-29 16:31:45 -04:00
drbeefsupreme
2099f87290
Merge branch 'philip/naive' into poprox/naive-test 2021-04-29 15:57:27 -04:00
Logan Allen
0dae5e1725 graph-store: fix %add/remove-tag generators 2021-04-29 12:24:30 -05:00
Philip Monk
ca389b42cf
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-04-28 23:25:16 -07:00
Philip Monk
7b7e9e3104
clay: fix requests for strange cares over ames
Four changes:

- implement +validate-u to allow %u requests over the network
- make +validate-x use our local marks to make %x requests generally
  work over the network
- in +start-request, if a foreign ship is making a request that we
  shouldn't send over the network, ignore it.  This closes a DOS vector.
- in +duce, if we're about to make a request to a foreign ship which
  they won't be able to answer, crash the event.

Combined, these fix many of the common cases of weirdness around foreign
clay requests.  Notably absent is a fix for reading `%a` across the
network, which I still maintain should happen against the foreign
hoon/zuse.

fixes #4834
see also #4307
2021-04-28 23:24:15 -07:00
Liam Fitzgerald
4b6f390a97
glob: update to 0v3.m4922.94fro.soub7.2cod3.0rfhh 2021-04-29 15:58:06 +10:00
Liam Fitzgerald
d18630d4e8
Merge remote-tracking branch 'origin/release/next-js' 2021-04-29 15:41:11 +10:00
Liam Fitzgerald
4d6315562c
Merge branch 'lf/hook-cond-negotiate' 2021-04-29 15:41:00 +10:00
Liam Fitzgerald
1ab144b265
hooks: address L review 2021-04-29 15:29:27 +10:00
Philip Monk
27949c5d8a
naive: fix +tx 2021-04-28 22:04:11 -07:00
rabsef-bicrym
04537e6fc1 Added support for .ico files:
-/mar/ico/hoon
 * Utilizes similar structure to /mar/png/hoon, w/ changed mimetype
-/lib/server
 * Added ico-response, again similar to png w/ same caching
-/app/file-server
 * Added reference to ico-response:gen

i showed you my ico, plz respond
2021-04-29 04:38:43 +00:00
Philip Monk
75eeef544e
naive: store crypto suite number in state
We now store the raw crypto suite number, authentication key, and
encryption key.  App/azimuth converts this to a `pass` for jael's
benefit.
2021-04-28 20:51:43 -07:00
Philip Monk
b1091d0e98
Merge remote-tracking branch 'origin/master' into philip/naive 2021-04-28 20:30:07 -07:00
Philip Monk
3869e01556
naive: infer ships from 'from'
For all except spawn, we can infer one of the ship arguments to be the
"from" ship.  This reduces repetition in the batches, which shortens txs
by 4 bytes each (except spawn), and eliminates the need to assert the
same ship is used in both places.
2021-04-28 19:55:57 -07:00
Philip Monk
36a10eb083
naive: convert can -> cad
Avoid bugs where we miscount the length of assembled atoms.
2021-04-28 19:19:50 -07:00
Philip Monk
5d52171a47
naive: add domain separator
To prevent replay across chains, eg from ropsten to mainnet.
Additionally, this introduces a version number, so we won't have to
worry about future signature formats being accidentally compatible with
this one.
2021-04-28 18:13:00 -07:00
Philip Monk
6dda168f3c
naive: factor out keccak into verifier
The verifier now takes an octs so that we can properly hash it to the 32
bytes required by ecdsa.

This allows lib/naive to use its own stdlib again.
2021-04-28 15:38:28 -07:00
Logan Allen
dd6eeccdae zuse: update names of +subset to +lot, +peek to +pry, remove unnecessary comments 2021-04-28 16:12:46 -05:00
drbeefsupreme
7f1e21d3d5
naive: l1 key change test 2021-04-28 15:29:20 -04:00
drbeefsupreme
fe8150f395
naive: key change test 2021-04-28 15:13:31 -04:00
Logan Allen
d5ed85efa8 Merge branch 'master' into la/ref-trans-graph 2021-04-28 12:53:06 -05:00
Philip Monk
f2c43edc99
naive: make bitlengths explicit
Also switches everything to ropsten by default, including ivory pill.
Batches work on ropsten now.

Also adds +tx as a hacky development tool to create text for metamask to
sign and then turn that into a batch.  A useful reference for bridge and
aggregator work.
2021-04-27 22:58:19 -07:00
Philip Monk
a644d8a5b2
naive: merge fixes 2021-04-27 17:31:38 -07:00
Philip Monk
3b0fc59c2b
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-04-27 17:27:28 -07:00
Philip Monk
781cdf3960
naive: alter signatures to match personal_sign 2021-04-27 17:26:34 -07:00
L
eb371ea4c2
Merge pull request #4776 from urbit/la/fix-session-cache 2021-04-27 16:00:35 -05:00
Liam Fitzgerald
215b301be5
glob: update to 0v3.hls3k.gsbae.rm6pr.p6qve.46dh8 2021-04-27 15:17:55 +10:00
Liam Fitzgerald
9b2061a824
hoon: add +succ gate
Adds an +succ (successor) gate. Whilst .+ exists, it is impossible to use
in a point free style and doesn't compose functionally.
2021-04-27 10:24:21 +10:00
Philip Monk
72bd2e185f
Merge pull request #4825 from urbit/m/tests-updates
tests: update to reflect recent changes
2021-04-26 15:59:37 -07:00
fang
6f0a947d1b
Merge branch 'master' into release/next-sys 2021-04-26 23:13:27 +02:00
Logan Allen
79fe01a434 graph-store/push-hook: remove old mark warming, organize 2021-04-26 13:28:13 -05:00
fang
d95696f29c
tests: update format tests to account for #4677
It had changed ship encoding to fit into a json %n, but hadn't updated the
tests to reflect this.
2021-04-26 19:40:26 +02:00
fang
0a71b75550
tests: update clay tests to account for #4745
It had changed the shape of some data structures, but hadn't updated the tests
to reflect that.
2021-04-26 19:36:43 +02:00
fang
5d4d7de6a6
Merge pull request #4745 from urbit/m/ford-fassig
clay: add /~ ford rune, as /= for directories
2021-04-26 16:19:19 +02:00
raghu
919450b0c6 fuse: update help text 2021-04-25 14:23:06 -04:00
raghu
8cbacb2545 clay: allow successive upgrades 2021-04-25 14:01:55 -04:00
raghu
201c3db193 clay: finalize fuse request - update |fuse 2021-04-25 14:01:45 -04:00
raghu
9d7afd10ee clay: change fuse request 2021-04-25 14:01:33 -04:00
fang
b553b9534c
chat-cli: update audience on-;view
This feels more correct, and matches historic on-;join behavior.

Fixes #4758.
2021-04-24 21:03:48 +02:00
fang
550dee32da
clay: +any:in in place of +lien over +tap:in 2021-04-23 23:05:11 +02:00
fang
dcdf695991
clay: insert %nest-fail into trace conditionally
Previously, we would stack on the ~| for every file we had previously
processed, even though we only want it in the trace for actual failures.
2021-04-23 22:56:24 +02:00
L
f11a66a381
Merge pull request #4795 from urbit/la/fast-index
graph-store, metadata-store lib: skip trip and crip, use rap
2021-04-23 14:36:57 -05:00
Matilde Park
0a71fb89e2 Merge branch 'release/next-js' into release/next-userspace 2021-04-23 14:57:17 -04:00
drbeefsupreme
d87f0e6723
naive: prv -> pk 2021-04-23 14:54:36 -04:00
drbeefsupreme
d561083418
naive: add sambud 2021-04-23 14:52:48 -04:00
drbeefsupreme
d81cf1a197
naive: l2 spawn proxy spawn test, add datbud 2021-04-22 15:18:23 -04:00
Logan Allen
f44236b7a2 graph-store: make validation work properly with type change 2021-04-22 14:17:01 -05:00
drbeefsupreme
b76f2c7f45
transaction firing now includes private key 2021-04-22 14:35:50 -04:00
drbeefsupreme
14b81f8ea4
naive: add l1 changed-keys transaction 2021-04-22 13:40:32 -04:00
Logan Allen
ca9f6180d8 zuse: make ordered-map's +run wet 2021-04-22 10:46:48 -05:00
Liam Fitzgerald
b46f2e24e6
glob: update to 0v3.g6u13.haedt.jt4hd.61ek5.6t30q 2021-04-22 18:00:19 +10:00
Philip Monk
1ed14c9908
naive: remove "wrap" functionality
Wraps are hard to get right, so we remove support for now.
2021-04-20 23:51:32 -07:00
Philip Monk
05dbd8cddd
naive: move signature verification inside loop
Before this change, signatures were verified according to the owners at
the beginning of batch, which is wrong.  Now we do it per wrap, but this
is *also* wrong because they should actually be verified per tx, in case
the owner changes within a wrap.

Also introduces the roll/wrap terminology.
2021-04-20 23:08:32 -07:00
Philip Monk
f9e93fa660
naive: add snapshot via git lfs 2021-04-20 21:58:52 -07:00
Philip Monk
1b5bc0f476
naive: snapshot improvements 2021-04-20 21:57:04 -07:00
Philip Monk
05b281e247
Merge remote-tracking branch 'origin/yu/zoom-step' into philip/naive 2021-04-20 18:21:50 -07:00
Logan Allen
cd627d452c metadata-store lib: replace crip, trip with rap 3 2021-04-20 16:25:43 -05:00
Logan Allen
cef4e6a726 zuse: fix +apt jet parent not found 2021-04-20 16:04:48 -05:00
Logan Allen
c8565e2c3b graph-store lib: skip trip and crip, use rap 2021-04-20 15:58:12 -05:00
Logan Allen
5b7b7e6cb7 zuse: reorder dip alphabetically 2021-04-20 15:21:07 -05:00
Logan Allen
6b0dc98952 ames: reflect update of name +traverse -> +dip 2021-04-20 15:04:28 -05:00
Logan Allen
b5a8e7a40b zuse: change name of +ordered-map to +on and add alias, change name of +traverse to +dip as per talk with ted 2021-04-20 15:03:57 -05:00
Logan Allen
f0ba5afe1c zuse: respond to joe's requests to remove mk-item and add fast hint for ordered-map 2021-04-20 12:56:24 -05:00
Logan Allen
9247fc247c zuse: add +got and +has arms to +ordered-map 2021-04-20 12:11:54 -05:00
Logan Allen
ae2aefed2a zuse: made +run allow type transform to match +by and +in 2021-04-20 12:06:03 -05:00
Logan Allen
2e302818d3 zuse: added +any to +ordered-map 2021-04-20 12:05:24 -05:00
Logan Allen
fd6f6b3bd0 zuse: added jet hints to all +ordered-map arms, reordered them alphabetically as is done in +in and +by 2021-04-20 12:04:59 -05:00
Liam Fitzgerald
e27b899a9d
pull-hook: prevent subscription to own store 2021-04-20 18:24:49 +10:00
Liam Fitzgerald
8b52f14a20
pull-hook: do not renegotiate if versions did not change 2021-04-20 18:24:47 +10:00
Liam Fitzgerald
7f3d6ef212
push-hook: do not kick subs if versioning same 2021-04-20 18:08:02 +10:00
Liam Fitzgerald
268677e744
metadata-store: prevent infinite loop 2021-04-20 16:15:04 +10:00
Liam Fitzgerald
e63beeb271
glob: update to 0v4.m6t09.ego4v.atjn3.mn5p4.mchad 2021-04-20 15:06:10 +10:00
Liam Fitzgerald
e0a12bd7dd
Merge remote-tracking branch 'origin/la/no-data-contact' 2021-04-20 14:53:18 +10:00
Liam Fitzgerald
1a4b2699ca
Merge remote-tracking branch 'origin/la/md-fix' 2021-04-20 14:52:57 +10:00
Liam Fitzgerald
f038176169
Merge remote-tracking branch 'origin/la/font-display-swap' 2021-04-20 14:52:41 +10:00
raghu
b2e1008d9a clay: add %fuse 2021-04-19 23:46:46 -04:00
Philip Monk
66b4c3f193
Merge pull request #4677 from urbit/philip/fast-refresh
sys: Speed up things used in Landscape
2021-04-19 15:43:16 -07:00
Philip Monk
8870add20d
Merge pull request #4701 from urbit/ted/gall-print
gall: print on missing request for ack
2021-04-19 15:41:27 -07:00
fang
2ab7fbd08f
acme: don't no-op for moons and comets 2021-04-19 23:00:02 +02:00
Logan Allen
7a44015924 graph-store: update +tag-queries to be a (jug term uid) 2021-04-19 15:53:07 -05:00
Logan Allen
2f0ed36101 zuse: add +all and +run to ++ordered-map 2021-04-19 15:10:33 -05:00
Logan Allen
fa59f87dc5 contact-store: disallow data: urls from being added 2021-04-19 14:38:33 -05:00
yosoyubik
5271061809 eth-watcher: reduce zoom-step between public and launch blocks 2021-04-17 13:59:54 +02:00
Logan Allen
81dcab8aa0 apps: resolve style comments about ?- vs ?: 2021-04-16 16:54:30 -05:00
Logan Allen
050133338d file-server: use rap 3 instead of cury cat 3 2021-04-16 16:45:22 -05:00
Logan Allen
3c8117db72 file-server: since %glob hash changes per commit, cache for 1wk instead of 1da 2021-04-16 13:01:27 -05:00
Logan Allen
751f3d1f24 server: fix session js caching, add cache threading for other response types, switch from tape to cord interpolation 2021-04-16 12:58:27 -05:00
Logan Allen
dea3fd6e8d metadata-store: actually fix it, strongly type the action sent to %pull-hook to prevent moronic errors 2021-04-15 13:05:00 -05:00
Philip Monk
c915839e9d
naive: fetch l2 batches from chain 2021-04-15 01:02:58 -07:00
Philip Monk
3e56e17a22
naive: remove l2 set-voting-proxy
Since galaxies can't be on L2
2021-04-14 18:03:52 -07:00
Philip Monk
176df1fc2a
naive: add verbosity level 2021-04-14 17:49:30 -07:00
Philip Monk
1d35cc349e
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-04-14 17:24:33 -07:00
Philip Monk
45e28f535a
naive: 80 cols 2021-04-14 17:17:01 -07:00
Philip Monk
46275fa251
naive: a few bugfixes 2021-04-14 16:58:27 -07:00
drbeefsupreme
b065b60da1
casting 2021-04-14 18:54:40 -04:00
drbeefsupreme
791cece901
l1+l2 proxies, l2 transfers + spawn-after-transfer 2021-04-14 18:53:38 -04:00
Logan Allen
b97b68024e -graph-add-nodes: make it compile and work with +maybe-post 2021-04-14 16:23:22 -05:00
Logan Allen
913ea00072 tally: compile and work properly with deleted posts 2021-04-14 15:58:12 -05:00
Logan Allen
90fbaf6650 graph-update mark upgrade from 1 -> 2 2021-04-14 15:51:37 -05:00
Logan Allen
45fb7e69f3 graph-store: use +lien instead of manual recursion 2021-04-14 15:39:34 -05:00
Logan Allen
b319928059 graph-store: rewrite %remove-nodes logic to be referentially transparent %remove-posts 2021-04-14 15:33:15 -05:00
drbeefsupreme
2c1b3629d5
layer 2 transactions 2021-04-14 15:36:56 -04:00
Logan Allen
d144af2e5b graph-store: migration code moved into lib, graph-store compiles with stubbed out %remove-posts 2021-04-14 14:26:36 -05:00
Logan Allen
52b04c515a graph-push-hook: compiles and handles %add and %remove forwarding 2021-04-14 13:49:25 -05:00
drbeefsupreme
fae0e9cd42
unspecialize spawn proxy change 2021-04-14 14:33:31 -04:00
drbeefsupreme
97eaf0d3f4
squash! splitting l1/l2 into cores, adding l1 events 2021-04-14 14:31:47 -04:00
drbeefsupreme
912cc7bc9f
splitting l1/l2 into cores, adding l1 events 2021-04-14 14:30:00 -04:00
Logan Allen
2dd6e9a661 hark-graph-hook: make it compile 2021-04-13 16:30:35 -05:00
Logan Allen
fb04a88031 chat-store: depreacate and tear it apart 2021-04-13 16:18:16 -05:00
Logan Allen
d285dc4dff chat-cli: update to work with new structures 2021-04-13 16:18:05 -05:00
Logan Allen
fb0f169c09 graph-store: add referential transparency to structures file and update libs to compile 2021-04-13 16:17:39 -05:00
Logan Allen
f3001e122f graph-store: clean up old migrations 2021-04-13 15:38:42 -05:00
Liam Fitzgerald
d37ad069d7 metadata-store: fix OTA 2 2021-04-13 09:27:59 +00:00
Liam Fitzgerald
ec41003a86
metadata-store: fix broken OTA 2021-04-13 16:33:21 +10:00
Liam Fitzgerald
5062c1f683
glob: update to 0v6.qafur.17301.j8obh.vbepn.7tq3l 2021-04-13 16:12:38 +10:00
Liam Fitzgerald
59c1a7356e
Merge remote-tracking branch 'origin/release/next-js' 2021-04-13 16:00:03 +10:00
Liam Fitzgerald
bc84cfa3fd
Merge branch 'lf/remove-tag' 2021-04-13 15:59:51 +10:00
Liam Fitzgerald
85b580f922
Merge remote-tracking branch 'origin/la/fix-feed' 2021-04-13 15:59:26 +10:00
Liam Fitzgerald
ff3abff800
Merge branch 'lf/lowercase-http' 2021-04-13 15:58:52 +10:00
Liam Fitzgerald
64a62e9f85
Merge branch 'lf/fix-sane' 2021-04-13 15:58:23 +10:00
Liam Fitzgerald
1e7c5dff59
file-server: lowercase headers for http2 2021-04-13 15:19:08 +10:00
fang
0570fb5b76
clay: share logic between build-file and directory
By factoring their shared logic out into +build-dependency, which gets
passed the relevant details about how to track the file being built in
the dependency stack.
2021-04-12 13:10:36 +02:00
fang
8b4dba28fa
clay: update dependency logic for /~ imports
To match recent changes to the build logic, where it only includes
top-level hoon files.
2021-04-10 16:22:52 +02:00
fang
a45179412b
clay: for /~, only build top-level files
This is semantically cleaner than arbitrary-depth recursion, and lets us
stop worrying about hyphenated path conflicts.
2021-04-10 02:26:32 +02:00
fang
1411e08944
clay: specify target type for /~ results
Clay will nest-check the results and put a homogenous map into the
subject.
2021-04-10 01:59:26 +02:00
Logan Allen
f733f68008 metadata-store: subscribe to all feeds that got missed in the upgrade 2021-04-09 21:20:27 +00:00
drbeefsupreme
aed2ff3494
factor out proxy bits 2021-04-09 17:06:50 -04:00
drbeefsupreme
025cd6a230
l2-spawn-point tests 2021-04-09 16:22:52 -04:00
Logan Allen
5d16911f69 eyre: use font-display:swap; in login page 2021-04-09 16:02:55 +00:00
drbeefsupreme
04cde3e6c8
l2-changed-spawn-proxy 2021-04-09 10:53:15 -04:00
fang
62d7281156
clay: add /~ ford rune, as /= for directories
Hoon files may want to import nouns from all files in a given directory.
/~ lets you do so, importing as a (map @ta *) (but with typed values).

Note the description as "directories" here, instead of "path prefix".
The behavior, as implemented, will not include /path/hoon for /~  /path,
instead only including /path/more/hoon and more deeply nested files.
This seems to be, generally, the behavior you want, for example when
importing from /app/myapp/* for /app/myapp/hoon.

Actually using the resulting map requires some manual casting, which is
not ideal. Some code style improvement work remains to be done as well.
2021-04-09 01:49:14 +02:00
Philip Monk
0fbbd3aa28
naive: add app/naive to download from ethereum 2021-04-08 00:36:34 -07:00
Liam Fitzgerald
1c939b4861
graph-validator-post: enable unreads and notifications 2021-04-08 16:05:17 +10:00
Liam Fitzgerald
baf365b63b
glob: update to 0v4.7tk5q.9ha4l.tbmji.fvkno.s9pfq 2021-04-08 15:20:20 +10:00
Liam Fitzgerald
8b5a69a56f
Merge remote-tracking branch 'origin/la/warm-marks' 2021-04-08 15:13:04 +10:00
fang
1ec5e5acfb
hoon: add +stap, path parser
And cleans up a bunch of locally hand-written implementations of it.
2021-04-07 21:14:13 +02:00
Logan Allen
59ece927c2 observe-hook: style fixes as per joe's review 2021-04-07 12:19:26 -05:00
Logan Allen
c7e4291d6d observe-hook: ask for next case as opposed to now.bowl when using %next, unless riot is null. small cleanup 2021-04-06 18:51:32 -05:00
Logan Allen
faf1f83e8f graph-store: remove obsoleted code necessary to keep graph marks warm 2021-04-06 17:21:09 -05:00
Logan Allen
c6616a7e9d observe-hook: listen for mark additions 2021-04-06 16:47:17 -05:00
Logan Allen
744b9f2334 observe-hook: remove debugging code 2021-04-06 16:19:22 -05:00
Logan Allen
5f14b21636 observe-hook: warm up caches in +on-init also, not just +on-load 2021-04-06 16:02:18 -05:00
Logan Allen
01890fa040 observe-hook: upgrade to keep marks warm 2021-04-06 15:47:57 -05:00
Jōshin
4aa9bba5b3
gcp: isConfigured doesn't touch store
Makes the thread return a simple boolean; almost as simple as just
returning %.y or %.n.

gcpManager now stores whether GCP is configured as a private variable.

Also fixes some type errors in gcp.
2021-04-06 19:08:53 +00:00
Liam Fitzgerald
31717ae908
sane: don't kick unsubscribed
Fixes urbit/landscape#735
2021-04-06 11:47:48 +10:00
Liam Fitzgerald
fbd85abf4e
Merge remote-tracking branch 'origin/master' into lf/push-hook-unver 2021-04-03 12:54:35 +11:00
Liam Fitzgerald
b6a758b1f9
pull-hook: noop on unsupported, unversioned facts
Pull-hook side of the previous change to push-hook
(479fbfd798). Noop on unsupported
unversioned marks, waiting for the publisher to upgrade and kick. Same
tradeoffs as previous change apply.
2021-04-03 10:45:22 +10:00
Liam Fitzgerald
f1710c2f03
metadata: restore historical marks 2021-04-03 10:33:31 +10:00
Philip Monk
c162758e92
naive: add all effects 2021-04-02 16:06:24 -07:00
janeway
6ed5ccbc4e glob: update to 0v2i7ds.j99ka.5dpja.pef1e.b04e0 2021-04-02 17:02:40 -04:00
Logan Allen
21b1119c74 metadata lib: parse right 2021-04-02 20:35:25 +00:00
Logan Allen
6fbbe2ceb7 metadata-store lib: make config encode/decode invertible 2021-04-02 19:18:59 +00:00
Liam Fitzgerald
ea5dc47eca
glob: update to 0v2.utsjo.ghhil.f0qh8.h5633.ffi8u 2021-04-03 01:04:52 +10:00
Liam Fitzgerald
f27fa5b0f3
metadata: fix updating graph metadata 2021-04-02 23:23:31 +10:00
Liam Fitzgerald
01960286d0
push-hook: do not pass facts to unsupported, unversioned subs 2021-04-02 22:14:15 +10:00
Liam Fitzgerald
479fbfd798
push-hook: noop on unversioned, unsupported watches
Mainnet is currently experiencing undue load due to a watch-kick loop.
If the watch is unsupported, it will be kicked due to a mark mismatch,
which will be interpreted by the unversioned hooks as a network pressure
kick, prompting a resub and continuing the loop. Instead, we now no-op
on unversioned, unsupported watches, waiting for the subscriber to
rewatch after it processes the versioning OTA. This will silently break
groups for the subscriber until the reach the latest OTA, but is
preferable to nacking, and kicking them permanently
2021-04-02 20:38:22 +10:00
Liam Fitzgerald
f322360dca
glob: update to 0v5.ancat.1qorl.7rea9.55ltu.2r24p 2021-04-02 15:38:35 +10:00
Liam Fitzgerald
eb131e64a8
metadata: prevent crash 2021-04-02 15:24:26 +10:00
Liam Fitzgerald
4d659be7cf
metadata: fix JSON conversions 2021-04-02 14:35:41 +10:00
Liam Fitzgerald
8d455eeac1
glob: update to 0v6.i86m5.f4rs9.l09fu.a7d86.v00sl 2021-04-02 13:27:10 +10:00
Liam Fitzgerald
5071ca309e
Merge remote-tracking branch 'origin/release/next-userspace' 2021-04-02 13:13:16 +10:00
Philip Monk
cc92433622
naive: detach from arvo 2021-04-01 19:31:50 -07:00
Liam Fitzgerald
f2a7617376
Post: tweak permissions to match designs 2021-04-02 12:11:24 +10:00
Liam Fitzgerald
578924049d
Merge branch 'release/next-userspace' into lf/post-parent 2021-04-02 12:06:16 +10:00
Liam Fitzgerald
615be57b7b
Post: refactor permission variations 2021-04-02 11:48:09 +10:00
L
6097dd4ec6
Merge pull request #4712 from urbit/la/fix-disable
graph-disable-group-feed: archive the graph if necessary
2021-04-01 20:11:25 -05:00
Matilde Park
bd9d218ab6 Merge branch 'master' into release/next-userspace 2021-04-01 20:16:12 -04:00
Logan Allen
15f92702f2 graph-disable-group-feed: archive the graph if necessary 2021-04-01 18:57:36 -05:00
Joe Bryan
e9ee2f77c2 Merge branch 'master' into release/next-vere
* master: (160 commits)
  glob: update to 0v6.8mn05.16g61.46lkc.lgddc.3ifug
  metadata-push-hook: fixes issue with adding unmanaged metadata
  pills: update solid
  graph-push-hook: don't crash on multipart add
  glob: update to 0v5.g86fq.9ngth.ki9h1.q7kut.icm5f
  graph-store: scry only once during +validate-graph
  graph-store: fewer allocations in +validate-graph
  graph-store: speed up +validate-graph by using +turn and no longer virtualizing
  interface: version local state by commit hash
  graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future
  graph-validators: speed up validators by adding type casts
  build: only run publish-npm-packages on pkg/npm
  build: match on path subdirectories
  glob: update to 0v1.4ujsp.698kt.ojftv.7jual.4hhu5
  launch: prevent aggressive tutorial render
  launch: get tutorial state from zustand
  push-hook: add version scries
  glob: update to 0v5.b7cjf.2kc12.85sng.lkqav.7sn0k
  readme: update arvo maintainers list
  notifications: clear before applying unreads
  ...
2021-04-01 15:31:35 -07:00
Logan Allen
5953c9a58f graph-view: add %vip field to %create-group-feed 2021-04-01 16:08:30 -05:00
janeway
588026e12e glob: update to 0v6.8mn05.16g61.46lkc.lgddc.3ifug 2021-04-01 13:56:03 -04:00
Logan Allen
88b097040b metadata-push-hook: fixes issue with adding unmanaged metadata 2021-04-01 17:08:30 +00:00
Liam Fitzgerald
417483c4de
Merge branch 'master' into release/next-userspace 2021-04-01 18:35:39 +10:00