mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 18:01:32 +03:00
a01289145b
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. |
||
---|---|---|
.. | ||
arvo | ||
docker-image | ||
ent | ||
ge-additions | ||
herb | ||
hs | ||
interface | ||
libaes_siv | ||
npm | ||
urbit |