Commit Graph

2540 Commits

Author SHA1 Message Date
yosoyubik
5c787f2a0b aggregator: add transfers index to state 2021-07-20 13:17:59 +02:00
yosoyubik
7a56e889ae aggregator: include signing addres in submit 2021-07-20 11:22:16 +02:00
yosoyubik
86f1948bea aggregator: use noun mark in scry 2021-07-19 07:10:31 +02:00
yosoyubik
07f4473c21 naive: add verify signature to /lib/naive-transactions 2021-07-16 16:15:24 +02:00
yosoyubik
c79a833678 aggregator: add ship to roller-tx in history 2021-07-15 14:26:44 +02:00
yosoyubik
794a14a12b azimuth-rpc: return hash of succesful l2 transaction 2021-07-15 14:23:08 +02:00
yosoyubik
97a3c53827 aggregator-rpc: add rpc api for l2 aggregator 2021-07-13 15:22:25 +02:00
yosoyubik
2e9d412c21 azimuth-rpc: remove aggregator-related rpc code 2021-07-13 15:21:24 +02:00
yosoyubik
2787c157dd Merge remote-tracking branch 'origin/naive/preboot' into naive/aggregator 2021-07-09 12:54:38 +02:00
yosoyubik
c2dd622fe3 naive: derive predicted ownership in /app/aggregator 2021-07-08 16:45:27 +02:00
Fang
70f960ab0f
azimuth: produce %noun-marked results on-peek
These were fake marks, which would give us trouble when asking for %noun
results. Now we just produce them as %noun results explicitly.
2021-07-07 17:35:07 +02:00
Fang
38e4e06e0b
json-rpc: support batch requests
Because this updates +validate-request, we must update azimuth-rpc
to match.

Naming of $batch-requests is admittedly a bit questionable...
2021-07-07 17:29:12 +02:00
Fang
ecd1146461
Merge branch 'naive/aggregator' into naive/preboot 2021-07-06 17:02:36 +02:00
yosoyubik
56df09cb12 naive: remove wrong cast 2021-07-03 12:50:38 +02:00
Fang
cb1a7cb76a
Merge branch 'm/multipass' into naive/preboot 2021-07-02 16:20:51 +02:00
yosoyubik
8ada986f78 naive: support camel case rpc method name 2021-07-01 14:34:24 +02:00
yosoyubik
b14b7d131e naive: add rpc for retrieving roller configuration data 2021-06-29 07:45:44 +02:00
yosoyubik
af295b2f5e naive: add get-dns to azimuth-rpc 2021-06-28 13:01:04 +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
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
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
yosoyubik
c715ef59fd naive: add cancel pending transaction 2021-06-21 11:27:36 +02:00
yosoyubik
845a2d1c1b naive: add l2 tx history by ethereum address 2021-06-16 17:03:21 +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
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
yosoyubik
37ab836bcb naive: add latest +on map with parent order 2021-06-10 13:39:03 +02: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
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
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
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