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
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
yosoyubik
943eee1db6
naive: add ethereum signing address to aggregator sending map
2021-06-01 16:18:32 +02:00
yosoyubik
9f3202eded
naive: use cached naive state in aggregator
2021-06-01 13:56:56 +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
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
5862aa07ce
naive: wip aggregator send thread
2021-05-21 12:16:57 +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
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