1
0
mirror of https://github.com/ilyakooo0/urbit.git synced 2024-12-26 16:32:29 +03:00
Commit Graph

2548 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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
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 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