Commit Graph

2845 Commits

Author SHA1 Message Date
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
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
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
Logan Allen
f256470a4c spider: add profiling hints so we can see how slow it is 2021-06-14 16:16:10 -05: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
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
bc3d6e4ac7 Merge branch 'yu/naive-ordered-map' into naive/aggregator 2021-06-11 12:39:03 +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
Logan Allen
bc4875c282 hark-graph-hook: speed it up with static conversions 2021-06-10 13:13:38 -05: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
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
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
Logan Allen
c61a6c21aa graph-store: add back %2 migration 2021-06-08 10:49:36 -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
Logan Allen
b6d4f64e3d graph-store: clean up old migrations, use some of the new +on methods 2021-06-07 12:36:50 -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
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
Logan Allen
87a5de919f userspace: adding a variety of casts to avoid nest checks 2021-06-04 16:08:54 -05: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
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
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
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
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
9f3202eded naive: use cached naive state in aggregator 2021-06-01 13:56:56 +02: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
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
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
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
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
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
Liam Fitzgerald
d124bbdb57
hark: fix read-group action 2021-05-26 14:10:46 +10: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
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
8532ef4bb0 naive: remove [] around function calls in scry paths 2021-05-21 13:00:45 +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
5862aa07ce naive: wip aggregator send thread 2021-05-21 12:16:57 +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
Liam Fitzgerald
115ee5f4f1
Merge pull request #4910 from urbit/lf/hark-boxing
hark: new boxing model
2021-05-21 08:38:18 +10: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
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
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
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
3a3bd23be6
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-05-18 07:50:05 -10:00
Philip Monk
63ba2823dd
Merge remote-tracking branch 'origin/ted/clay-bunt' into release/next-sys 2021-05-18 07:38:52 -10: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
yosoyubik
154baceb8b Merge branch 'yu/azimuth-rpc' into naive/aggregator 2021-05-14 09:46:36 +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
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
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
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
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
Logan Allen
03039d9fc2 graph-store: properly take a deep tabulation 2021-05-11 14:27:08 -05: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
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
Liam Fitzgerald
53f17d8844
glob: update to 0vp51an.2c81t.2dc6j.oibjo.0mbfd 2021-05-06 15:45:30 +10: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
Logan Allen
3cf35bc369 graph-store: updated deep-node retrieval to use +tab 2021-05-05 17:25:13 -05: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
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
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
Logan Allen
b590faec9d hark-graph-hook: cast the interior of the vase for speed 2021-05-03 18:51:37 -05: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
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
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
Liam Fitzgerald
4b6f390a97
glob: update to 0v3.m4922.94fro.soub7.2cod3.0rfhh 2021-04-29 15:58:06 +10: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
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
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
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
Logan Allen
79fe01a434 graph-store/push-hook: remove old mark warming, organize 2021-04-26 13:28:13 -05: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
Matilde Park
0a71fb89e2 Merge branch 'release/next-js' into release/next-userspace 2021-04-23 14:57:17 -04:00
Logan Allen
f44236b7a2 graph-store: make validation work properly with type change 2021-04-22 14:17:01 -05:00
Liam Fitzgerald
b46f2e24e6
glob: update to 0v3.g6u13.haedt.jt4hd.61ek5.6t30q 2021-04-22 18:00:19 +10: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
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
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
fa59f87dc5 contact-store: disallow data: urls from being added 2021-04-19 14:38:33 -05: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
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
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
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
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
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
Logan Allen
f733f68008 metadata-store: subscribe to all feeds that got missed in the upgrade 2021-04-09 21:20:27 +00:00
Philip Monk
0fbbd3aa28
naive: add app/naive to download from ethereum 2021-04-08 00:36:34 -07: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
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
Liam Fitzgerald
31717ae908
sane: don't kick unsubscribed
Fixes urbit/landscape#735
2021-04-06 11:47:48 +10:00
janeway
6ed5ccbc4e glob: update to 0v2i7ds.j99ka.5dpja.pef1e.b04e0 2021-04-02 17:02:40 -04:00
Liam Fitzgerald
ea5dc47eca
glob: update to 0v2.utsjo.ghhil.f0qh8.h5633.ffi8u 2021-04-03 01:04:52 +10:00
Liam Fitzgerald
f322360dca
glob: update to 0v5.ancat.1qorl.7rea9.55ltu.2r24p 2021-04-02 15:38:35 +10:00
Liam Fitzgerald
8d455eeac1
glob: update to 0v6.i86m5.f4rs9.l09fu.a7d86.v00sl 2021-04-02 13:27:10 +10:00
Matilde Park
bd9d218ab6 Merge branch 'master' into release/next-userspace 2021-04-01 20:16:12 -04: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
Liam Fitzgerald
0477d66ca9
graph-push-hook: don't crash on multipart add 2021-04-01 15:24:17 +10:00
Liam Fitzgerald
7e750cf189
glob: update to 0v5.g86fq.9ngth.ki9h1.q7kut.icm5f 2021-04-01 12:08:42 +10:00
L
6a399432df
Merge pull request #4700 from urbit/la/graph-fast
graph-store: speed up +validate-graph by using +turn and no longer virtualizing
2021-03-31 16:41:09 -05:00
Logan Allen
2791cd5d9a graph-store: scry only once during +validate-graph 2021-03-31 16:08:36 -05:00
Logan Allen
d34045f190 graph-store: fewer allocations in +validate-graph 2021-03-31 16:08:31 -05:00
Logan Allen
d939c91e78 graph-store: speed up +validate-graph by using +turn and no longer virtualizing 2021-03-31 16:08:23 -05:00
Matilde Park
f65527e145 Merge branch 'pre-release/next-userspace' into release/next-userspace 2021-03-30 20:13:49 -04:00
Matilde Park
15c1c2146a Merge branch 'master' into pre-release/next-userspace 2021-03-30 19:49:14 -04:00
Logan Allen
77196addaa graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future 2021-03-30 19:42:24 -04:00
Logan Allen
6ee776203c graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future 2021-03-30 12:40:31 -05:00
Liam Fitzgerald
b5f2b0eb27
group-store: remove empty tags
Fixes urbit/landscape#568
2021-03-30 14:55:41 +10:00
Liam Fitzgerald
95bf313ff9 group-view: add %started update 2021-03-29 14:27:28 -04:00
janeway
a74bdfea20 glob: update to 0v1.4ujsp.698kt.ojftv.7jual.4hhu5 2021-03-26 16:25:20 -04:00
Liam Fitzgerald
5c3bce8dbe
glob: update to 0v5.b7cjf.2kc12.85sng.lkqav.7sn0k 2021-03-26 14:03:10 +10:00
Liam Fitzgerald
e9a8be49a2
glob: update to 0v2.cr29j.cb5a2.64vl5.rumn3.34r76 2021-03-25 14:40:34 +10:00
Liam Fitzgerald
83d0ddf3b0
glob: update to 0v4.vahcq.smjic.02aim.lrbn7.qfpmv 2021-03-25 12:54:54 +10:00
Liam Fitzgerald
00d70f468f
glob: update to 0v6.3olcs.d6chc.eidm2.1pft8.6k264 2021-03-25 12:23:42 +10:00
Liam Fitzgerald
937d7a4e72
md-pull-hook: fix on-load 2021-03-25 10:52:40 +10:00
Liam Fitzgerald
e79fac3c48
glob: update to 0va6530.ql5e0.5cb4q.m1gq5.d7mdk 2021-03-25 09:25:36 +10:00
Matilde Park
7fd4928d96 Merge branch 'release/next-js' into release/next-userspace 2021-03-24 19:10:27 -04:00
Logan Allen
58bf89d834 Merge branch 'release/next-userspace' into la/group-feed 2021-03-24 14:51:49 -05:00
Liam Fitzgerald
f495a806c3
glob: update to 0v3.nmpms.bgjpu.9gd2j.klgii.qgeal 2021-03-24 14:12:47 +10:00
Liam Fitzgerald
c186bad1c1
graph-store: +on-load 2021-03-24 13:09:58 +10:00
Liam Fitzgerald
54b3982b42
graph-store: upgrade reference content
This commit changes the type of update:graph-store and as such, a new
mark has been created. graph-store now consumes and produces
%graph-update-1. This new mark type is backwards incompatible with the
previous mark.
2021-03-24 13:06:26 +10:00
Liam Fitzgerald
1093a80604
glob: update to 0v2.gfefu.pffjo.rphqi.mlmpu.smaq4 2021-03-24 13:00:22 +10:00
Logan Allen
74662a9fb4 metadata: updated all mark usage from %0 to incompatible %1 2021-03-23 21:53:51 -05:00
Liam Fitzgerald
dc503a826b
glob: update to 0v5.3d6ao.5f5kl.i84k6.oqf1e.njnvh 2021-03-24 12:28:27 +10:00
Logan Allen
9de66bc5af Merge branch 'release/next-userspace' into la/group-feed 2021-03-23 21:13:12 -05:00
Liam Fitzgerald
22afdb3aea
hark-graph-hook: notifications for group feed 2021-03-23 15:29:07 +10:00
matildepark
f81e36317a
Merge pull request #4637 from urbit/lf/dm-fix
metadata-push-hook: do not crash on new hidden metadata
2021-03-22 20:48:30 -04:00
Liam Fitzgerald
4f0d84f4ee
Merge branch 'origin/pre-release/next-userspace' into release/next-userspace 2021-03-23 10:48:11 +10:00
Logan Allen
2e45f4fd99 Merge branch 'release/next-userspace' into la/group-feed 2021-03-22 12:36:34 -05:00
Liam Fitzgerald
91577e5f23
metadata-push-hook: do not crash on new hidden metadata
If we were creating a DM, for which no %groups metadata exists, the
+transform-proxy-update arm would crash, preventing the creation of new
DMs.
2021-03-22 07:41:28 +10:00
Philip Monk
a7150007ef
Merge pull request #4528 from taalhavras/desk-diff
ddiff: add thread for diffing desks
2021-03-19 16:45:00 -07:00
Liam Fitzgerald
e2d10367af
hark-store: give set instead of count in initial
When we receive a notification, it might not affect our count because
it’ll get merged on the server side, but we unconditionally increment
our count on the client if the notification hasn’t been loaded yet.
Addresses this by storing a set of time, index so we can compute whether
or not the notification is merged or unloaded and change the count
accordingly.

Fixes urbit/landscape#276
2021-03-19 11:28:30 +10:00
Liam Fitzgerald
34469532e4
hooks: cleanup stale mark references 2021-03-19 10:12:51 +10:00
Liam Fitzgerald
460a290cb1
hooks: fix tests 2021-03-19 10:12:50 +10:00
Liam Fitzgerald
ee12180a5d
hooks: allow unversioned subscriptions for migrate 2021-03-19 10:12:50 +10:00
Liam Fitzgerald
669dfacd04
demo: add demo/testing agent for hook libraries 2021-03-19 10:12:50 +10:00