Commit Graph

2533 Commits

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