Commit Graph

1739 Commits

Author SHA1 Message Date
yosoyubik
5904c6e2c8 roller: parse cryptoSuite as cord 2021-09-13 15:14:29 +02:00
Ted Blackman
e34048a6c9
Merge pull request #5216 from urbit/lf/kiln-gall-fix-dead
kiln, gall: Fix removing agents from desk
2021-09-13 12:47:10 +03:00
Ted Blackman
19ffcd569b kiln: keep in +reset 2021-09-13 11:24:03 +03:00
Liam Fitzgerald
e6e0f47435 kiln: kill agents before merge
If a remote commit is downloaded that simultaneously removes an agent from
desk.bill but also removes the associated source files, then the commit
will fail as gall will not have received the card to kill the agent yet.
Instead, we read our foreign copy of the bill in +take-download, and
kill any necessary agents there, preventing a reload of the deleted
agent from occurring.
2021-09-13 08:41:27 +10:00
yosoyubik
cd4b8e696e json-rpc: fix malformed error response 2021-09-10 14:51:41 +02:00
Ted Blackman
7f411c5116 typo 2021-09-09 21:32:29 +03:00
Ted Blackman
e9466baf06 kiln: bump %base first 2021-09-09 21:31:44 +03:00
Ted Blackman
f148f40a34 kiln: |install to a new upstream less destructively 2021-09-09 21:17:30 +03:00
Joe Bryan
148779f4d4 Merge branch 'release/next-vere' into jb/next-gen-term
* release/next-vere: (67 commits)
  pill: all
  kh: improve code style
  glob: update to 0v758lj.uf0s5.0nh3m.gunn6.942gj
  Fix feepicker issues
  Add exit buttons to invoices
  Fix issue with change provider button not triggering modal
  Fix scanning text issues
  Fix enum, was breaking signer button
  Fix imports in ExternalInvoice
  glob: update to 0v4.e52ik.udm4j.6aus5.02b25.vomaj
  btc-wallet: fix imports
  aqua: assert pill type
  Port BTC wallet to Typescript
  Match edouard's designs
  Add external (psbt) invoice
  Fix copy from non-secure context issue
  Use deSig for isPatp
  Use deSig rather than concat
  Add sig to valid patp in send component
  Just show total main/change addresses scanned
  ...
2021-09-09 11:48:43 -04:00
Ted Blackman
f7970cbac0 kiln: minor cleanup 2021-09-07 21:57:55 +03:00
yosoyubik
32cbb97b40 roller: add get-pending-tx rpc from l2 tx hash 2021-09-07 12:59:36 +02:00
yosoyubik
cb44dccafa azimuth-roll-rpc: update point:to-json 2021-09-07 12:58:25 +02:00
Liam Fitzgerald
39a9ed4faa hood: fix update ordering
When we receive the %mere gift from clay, the kernel has not yet been
reloaded. This means any attempts to bump desks will fail, as they will
be bumped against the old kernel. Rectifies this by continuing the %base
desk update flow in +on-load, instead of +take-merge-main. Also adds a
wef=(unit weft) to the state in order to discriminate whether or not the
kernel has just been reloaded
2021-09-07 14:37:36 +10:00
Ted Blackman
248b968550 kiln: |pause and |resume an app 2021-09-06 17:27:17 +03:00
yosoyubik
e59e41fe63 roller: simplify json for dns in get naive state 2021-09-05 12:53:01 +02:00
yosoyubik
7e0c99c980 azimuth+roller: add get-naive/predicted-state 2021-09-05 12:36:19 +02:00
Ted Blackman
f3e15396f3 %garden-dev desk; also cleaned up %base-dev 2021-09-02 00:37:56 +03:00
yosoyubik
7c70ac954b roller: add get-unspawned rpc 2021-09-01 11:01:39 +02:00
Ted Blackman
63fac6bec2 kiln: parameterize +bump on kelvin 2021-09-01 03:00:40 +03:00
Ted Blackman
e0874f22fa kiln: revise +bump 2021-09-01 02:43:25 +03:00
yosoyubik
71e2d12fde roller: return ship and time in getHistory 2021-08-31 08:41:16 +02:00
Ted Blackman
844386076f %base: symlinks; some -test tests fail 2021-08-30 20:39:37 +03:00
Ted Blackman
e2fd0b61e4 ames: |ames-prod to reset congestion control 2021-08-28 22:48:23 +03:00
Ted Blackman
91714f5579 lull,dill,gall,kiln: move %pyre to :agent:gall 2021-08-27 18:06:53 +03:00
Ted Blackman
68a80660b2 kiln: don't die so easily in +bump 2021-08-27 17:38:30 +03:00
yosoyubik
2190eea370 roller: add timestamp to roller-tx 2021-08-27 16:05:59 +02:00
yosoyubik
82f959ebd2 roller: wip point ownership tracking 2021-08-27 15:59:10 +02:00
yosoyubik
fc6f0c4678 roller: return ships as numners 2021-08-27 15:55:05 +02:00
yosoyubik
994e9f5a34 azimuth: add naive contract address used in bridge 2021-08-26 16:09:29 +02:00
Liam Fitzgerald
f85500b39d kiln: add lag scry 2021-08-24 14:09:12 +10:00
yosoyubik
580007bba8 roller: track ship ownership for address+proxy 2021-08-23 16:32:26 +02:00
Liam Fitzgerald
2d43877b15 Merge remote-tracking branch 'origin/ted/dist' into lf/kiln-json 2021-08-23 11:56:51 +10:00
Liam Fitzgerald
6a6897e009 kiln: update marks 2021-08-23 11:44:24 +10:00
yosoyubik
3774abba73 Merge remote-tracking branch 'origin/philip/naive' into naive/roller 2021-08-22 18:27:33 +02:00
yosoyubik
f87658b1ad roller: wip roller-cli client 2021-08-22 18:23:30 +02:00
Philip Monk
4a266d4b9a
naive: resolve todos 2021-08-20 18:02:27 -07:00
Philip Monk
bb3d961ced
naive: fully no-op on logs
+process-spawn uses presence or absence in the ordered map to determine
whether a ship has already been spawned.  Thus, we don't want to add
items to it except during spawn.
2021-08-20 16:49:00 -07:00
Ted Blackman
d02652d799 kiln: update %base in +bump 2021-08-20 12:45:33 +03:00
Ted Blackman
f9e1812a14 sys,gen/kiln: kelvin checking seems to work 2021-08-20 10:41:16 +03:00
Philip Monk
7f7e033004
Revert "Revert "Merge naive/aggregator into poprox/naive-tests""
This reverts commit 2f49dab586.
2021-08-19 16:09:28 -07:00
Ted Blackman
4dfc09d1a4 kiln: |suspend,|revive 2021-08-20 01:57:31 +03:00
Philip Monk
6974ab3bc7
Merge pull request #5152 from urbit/m/newcliptic
azimuth: update for latest ecliptic address
2021-08-18 22:44:19 -07:00
ixv
5f56eb9a1b Merge branch 'lf/aqua-revive' 2021-08-18 17:36:01 -07:00
ixv
2578233aed Merge remote-tracking branch 'hosted-fornet/add-crunch-library-and-generator' 2021-08-18 17:30:36 -07:00
Ted Blackman
ea1d30a506 kiln: fix kelvin checking 2021-08-18 20:32:54 +03:00
Ted Blackman
6408baaa93 various: fix merge problems 2021-08-18 01:16:48 +03:00
drbeefsupreme
ac21fecf89 naive: l2 batch maker for tests 2021-08-16 13:05:29 +02:00
Philip Monk
77d5993958 naive: cleanup todos 2021-08-16 13:05:28 +02:00
Philip Monk
2f54b431a7 naive: comment 2021-08-16 13:05:28 +02:00
yosoyubik
a97668e0e8 roller: rename aggregator to roller 2021-08-16 13:01:23 +02:00
drbeefsupreme
f0f1f4db9f
Merge branch 'poprox/naive-tests' into philip/naive 2021-08-13 11:15:35 -04:00
yosoyubik
5ce8bb4951 roller: fix length in hex-encoded hash-transaction 2021-08-13 15:23:11 +02:00
yosoyubik
6aaad9bf8f roller: send unit value instead of whole unit 2021-08-12 17:36:34 +02:00
Fang
da85ee2e38
Merge branch 'master' into m/next-gen-term 2021-08-12 15:15:36 +02:00
yosoyubik
e218bbdbaa roller: remove duplicate check in apply-tx 2021-08-12 10:17:42 +02:00
yosoyubik
fd474c350e naive: fix correct insert to ordered-map 2021-08-12 10:08:33 +02:00
Liam Fitzgerald
a8dfca8246 Merge remote-tracking branch 'origin/ted/dist' into lf/dist-v2 2021-08-12 11:42:39 +10:00
Ted Blackman
616ab66f26 merge master; loosen :hood's updates 2021-08-11 19:23:36 +03:00
Liam Fitzgerald
5d1eda5efd kiln: fix subscription paths, add marks 2021-08-11 14:42:51 +10:00
yosoyubik
9eb7ed7586 azimuth: add updated naive ropsten contract 2021-08-09 08:41:31 +02:00
hosted-fornet
a12c78a879 crunch: Address ixv's comments, specifically:
* Use `rap` to concatenate `cord`s rather than homegrown arm
* Replace `%graph` test fail of association with no-op instead of crash
* Re-style multi-arg runes `:*` `%:` and `:~`
2021-08-06 17:29:25 -07:00
hosted-fornet
d43c579d78 crunch: Add crunch library and generator
The crunch library and generator are tools to
export group graph data to a CSV-format file.

The purpose of crunch is to help quantify the
growth of the Urbit network.

The code added here is work done under the grant
https://urbit.org/grants/bounties/analytics-script/
2021-08-06 17:28:16 -07:00
drbeefsupreme
cd6ab7a83d
naive: l2 batch maker for tests 2021-08-06 18:18:01 -04:00
fang
010e994fb9
azimuth: update for latest ecliptic address
The static Ecliptic address in /lib/azimuth hadn't been updated to reflect the recent upgrade yet.
2021-08-06 10:48:34 +02:00
Philip Monk
6c278a9b34
naive: cleanup todos 2021-08-05 13:29:16 -04:00
yosoyubik
a221e49281 aggregator-rpc: rename getPoints -> getShips 2021-08-05 12:42:36 +02:00
yosoyubik
21775ec090 azimuth-rpc: encrypt/auth keys as hex strings 2021-08-05 12:38:07 +02:00
yosoyubik
d559ad35bc roller: clean up 2021-08-04 15:53:57 +02:00
Philip Monk
d89ab8b549
naive: comment 2021-08-03 18:45:52 -04:00
yosoyubik
31e5dd206d Merge remote-tracking branch 'origin/poprox/naive-tests' into naive/aggregator 2021-08-03 13:57:14 +02:00
Ted Blackman
4e2fd0dcd0 kiln: notify clients on desk upgrade and failure 2021-08-03 00:52:46 +03:00
Logan Allen
265db42a0a pull-hook: leave quietly, do not crash if we have already left 2021-07-29 14:18:48 +00:00
Liam Fitzgerald
ac5db5376a
Merge remote-tracking branch 'origin/la/old-subset-behavior' 2021-07-29 11:37:38 +10:00
ixv
0226bc0a7f agentio: fix bug with fact-all 2021-07-28 17:05:48 -07:00
ixv
83aaaa398a hood: start notify 2021-07-28 12:26:33 -07:00
ixv
e0358d2103 notify: style cleanup 2021-07-28 12:19:11 -07:00
Logan Allen
5114a975fe graph lib: make interface work the same as old one did 2021-07-28 13:14:44 -05:00
Liam Fitzgerald
3417927aef
aqua: address joe review 2021-07-26 15:30:23 +10:00
Ted Blackman
2507404f97 hood,desk.bill: fix boot issues 2021-07-23 14:07:58 +03:00
Matilde Park
8f27e2ae53 Merge branch 'release/next-userspace' into release/2021-7-22 2021-07-22 12:54:40 -04:00
yosoyubik
3f63aa00e6 aggregator: extract sign address from raw-tx 2021-07-22 16:46:23 +02:00
yosoyubik
875561217f aggregator: refactor +apply-effects in /lib/dice 2021-07-22 12:05:28 +02:00
yosoyubik
38d207c797 aggregator-rpc: add +unsign-transaction 2021-07-22 09:15:58 +02:00
yosoyubik
722ce969a5 aggregator: refactor ownership index logic 2021-07-22 06:34:42 +02:00
Ted Blackman
6675c3775a |nuke generator 2021-07-21 12:00:11 +03:00
Philip Monk
5996b3aa1e
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-07-20 13:57:50 -04:00
Philip Monk
1d06b77a46
jael, dawn: support multikeyfile
taken from bdaad4cf84
2021-07-20 13:28:33 -04:00
Ted Blackman
143bb80035 kiln: +report-vats, fix local kelvin check 2021-07-20 18:00:07 +03:00
yosoyubik
7a56e889ae aggregator: include signing addres in submit 2021-07-20 11:22:16 +02:00
Liam Fitzgerald
342f038e23
graph-store: patch importing 2021-07-20 14:22:09 +10:00
Ted Blackman
38d6d0f4d4 gall,kiln: clean up agent stopping, starting, linking 2021-07-19 16:58:18 +03:00
Ted Blackman
cee258c9b6 spider: threads on other desks, and fixed call sites 2021-07-19 15:17:55 +03:00
Ted Blackman
6cb0afa15d kiln: fix error handling on failed merge 2021-07-19 14:02:02 +03:00
Liam Fitzgerald
092d2f30cf
Merge pull request #5030 from urbit/la/graph-scry
graph-store: rework scry format to be more succinct and consistent
2021-07-19 10:18:33 +10:00
Ted Blackman
88db811524 kiln: fix print 2021-07-18 21:27:24 +03:00
Ted Blackman
175f1f9986 kiln: basic |install works, somewhat hacky 2021-07-18 21:21:54 +03:00
Ted Blackman
db816644ab drum: actually fix ctrl-d 2021-07-18 21:21:13 +03:00
Ted Blackman
1c41b01359 %base: move landscape files out; %base boots, %landscape validates 2021-07-18 04:40:20 +03:00
Ted Blackman
4f3e99f797 clay,hood: seems to boot for real now 2021-07-17 02:54:20 +03:00
Ted Blackman
df250a0eae drum: fix broken ctrl-d 2021-07-16 21:46:12 +03:00
Ted Blackman
a1b82d4b36 various: can bootstrap off existing ship, but generators are broken 2021-07-16 19:01:55 +03:00
yosoyubik
07f4473c21 naive: add verify signature to /lib/naive-transactions 2021-07-16 16:15:24 +02:00
Ted Blackman
ea386065d1 kiln,hood: fix +on-init, types, and reading 2021-07-16 05:25:03 +03:00
Ted Blackman
e428101cfa lib/pill: try to fix %bill (might still be broken) 2021-07-16 05:21:07 +03:00
Philip Monk
ede732a58f
naive: allow l2 spawn proxy to reset itself 2021-07-15 21:11:40 -04:00
Philip Monk
dd57a72a4d
naive: sponsorship fixes 2021-07-15 20:02:05 -04:00
yosoyubik
794a14a12b azimuth-rpc: return hash of succesful l2 transaction 2021-07-15 14:23:08 +02:00
Ted Blackman
4cb5cd0ba1 gall,drum,kiln: WIP start agents in kiln 2021-07-15 09:51:03 +03:00
Ted Blackman
529502543b sys,lib: boots! 2021-07-14 01:00:13 +03:00
Ted Blackman
9b968edf75 clay,kiln,/mar/kelvin,/lib/pill: some fixes for pills; not done 2021-07-13 19:02:24 +03:00
Ted Blackman
e4dd4c1a0f kiln: check clay %find product 2021-07-13 17:35:15 +03:00
yosoyubik
fc04623d00 azimuth-rpc: remove raw l2 tx from required rpc arguments 2021-07-13 16:03:40 +02:00
yosoyubik
72d424e68a json-rpc: validate json-rpc method outside request parsing 2021-07-13 15:15:23 +02:00
Ted Blackman
035b5fb031 kiln: read future kelvins from clay 2021-07-10 08:56:08 -04:00
Ted Blackman
2dc2133b2f kiln: remove +update core; needs migration work 2021-07-09 12:07:16 -04:00
Ted Blackman
c3469a4444 kiln: merge to %kids in +vats 2021-07-09 11:56:52 -04:00
Ted Blackman
ad15da2e7b kiln: first stab at ota inside +vats 2021-07-09 01:08:33 -04:00
Liam Fitzgerald
046d2db442
metadata-store: support %edit action 2021-07-09 12:19:03 +10:00
Liam Fitzgerald
e378673552
metadata-store: add %edit action 2021-07-09 12:14:06 +10:00
Ted Blackman
db49cbee92 kiln: bugfixes, cleanup, and publish some ota progress 2021-07-08 19:25:18 -04:00
Logan Allen
f3c7fbfa3a graph-store: generalize scry api in siblings and children to allow fetching outer graph, fix lib/graph and hark-graph-hook 2021-07-07 14:17:07 -05:00
Ted Blackman
cda4080e06 kiln: check for blocking desks before kernel update 2021-07-07 15:17:03 -04:00
Ted Blackman
51aac0f5d3 kiln: revive agents on upgrade (provisional) 2021-07-07 14:49:22 -04:00
Ted Blackman
06b4206e02 kiln: minor cleanup 2021-07-07 14:11:40 -04:00
Fang
e0f7d09a97
azimuth-rpc: fill in missing code 2021-07-07 17:38:21 +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
0b1ff05a02
dawn: rip out /lib/json/rpc dependency
The functionality we need is minimal, so better to just reproduce
in-line instead of pulling in a questionable dependency.
2021-07-07 17:26:22 +02:00
Fang
19cb432ad2
dawn: fix /lib/vere compilation errors 2021-07-07 17:25:11 +02:00
Liam Fitzgerald
e9253b92f9
Merge remote-tracking branch 'origin/release/bitcoin-wallet' into release/next-userspace 2021-07-07 13:24:40 +10:00
Fang
9444537b8d
json-rpc: never crash when validating request
Instead produce the empty unit for failure cases, like the function
signature implies.
2021-07-06 23:10:05 +02:00
timlucmiptev
f882ef5117 scow not scot 2021-07-06 21:24:38 +03:00
timlucmiptev
e95233dc08 fixed address bug for legacy addresses 2021-07-06 16:52:37 +03:00
Fang
f3b57d7b61
dawn: update for azimuth-rpc, wip
Contains the bulk of the changes, but is missing escape parsing,
doesn't handle missing optional fields nicely, and is mostly untested.
2021-07-03 00:51:19 +02:00
Ted Blackman
e8dc993d84 kiln: initial kelvin check support compiles 2021-07-02 17:41:21 -04:00
Fang
cb1a7cb76a
Merge branch 'm/multipass' into naive/preboot 2021-07-02 16:20:51 +02:00
timlucmiptev
dc93c735c1 scan-progress added 2021-07-02 09:14:09 +03:00
yosoyubik
cf68f8b5c5 Merge remote-tracking branch 'origin/poprox/naive-tests' into naive/aggregator 2021-07-02 07:03:51 +02:00
yosoyubik
be79e0653c Merge remote-tracking branch 'origin/philip/naive' into naive/aggregator 2021-07-02 07:03:22 +02:00
Ted Blackman
bfb9419d22 kiln: tell gall to fade apps on uninstall 2021-07-01 20:34:17 -04:00
Ted Blackman
1e07e347ff kiln: make |install idempotent 2021-07-01 19:10:03 -04:00
yosoyubik
8ada986f78 naive: support camel case rpc method name 2021-07-01 14:34:24 +02:00
Ted Blackman
784004cfb6 kiln: +install compiles and loads, untested 2021-06-30 21:03:47 -04:00
yosoyubik
c4f8d6c672 naive: return signature for pending txs as hex-encoded string 2021-06-29 07:46:29 +02:00
yosoyubik
b14b7d131e naive: add rpc for retrieving roller configuration data 2021-06-29 07:45:44 +02:00
drbeefsupreme
78521236a3
Merge branch 'philip/naive' into poprox/naive-tests 2021-06-28 15:33:51 -04:00
janeway-bot
26ea30e72f
Merge a3b43137d6 into release/next-userspace 2021-06-28 22:28:18 +04:00
yosoyubik
af295b2f5e naive: add get-dns to azimuth-rpc 2021-06-28 13:01:04 +02:00
yosoyubik
3ca12235e5 naive: only accept hex-encoded signature and raw rpc arguments 2021-06-28 12:38:10 +02:00
yosoyubik
ed36304749 naive: also accept ship in rpc argument as number 2021-06-28 12:36:48 +02:00
yosoyubik
5eb07edde5 naive: add ownership index to /app/azimuth 2021-06-28 07:26:47 +02:00
fang
0a1fdc016e
Merge branch 'release/next-userspace' into m/next-gen-term-real 2021-06-25 00:26:02 +02:00
Logan Allen
eb5b731514 bip158: speed up +read-bits, thanks @frowdith 2021-06-24 16:24:24 -05:00
Logan Allen
322af7a55b b158: fix +str profiling hint 2021-06-24 12:55:38 -05:00
Logan Allen
a703aafad1 bip158: added profiling hints 2021-06-24 12:49:26 -05:00
Logan Allen
23869712ee test/thread: make tests pass and all threads build 2021-06-24 11:28:26 -05:00
yosoyubik
d03d710796 naive: add index of points by ethereum address 2021-06-24 16:54:23 +02:00
yosoyubik
e05234c179 naive: add gas to ju 2021-06-24 16:41:44 +02:00
yosoyubik
1e7e2e1193 naive: use lte to emphasize parent equality 2021-06-24 16:40:53 +02:00
Logan Allen
30e9dc40cd btc-wallet: compiles 2021-06-23 18:37:33 -05:00
Logan Allen
49819b8e44 bitcoin-utils: fix perf issue 2021-06-23 17:18:29 -05:00
Logan Allen
37845fc245 bitcoin-libs: jet profiling works great for nested cores 2021-06-23 16:56:55 -05:00
Logan Allen
126c977da0 bitcoin-utils: avoid issue with jet hint profiling 2021-06-23 16:33:42 -05:00
Logan Allen
f45affb9b7 bitcoin-utils: lent trip -> met 3 2021-06-23 16:31:56 -05:00
Logan Allen
19352d9b34 bitcoin-libs: added more jet hints 2021-06-23 16:28:28 -05:00
Logan Allen
67092addc5 btc-provider-lib: add top-level jet hints 2021-06-23 16:17:47 -05:00
tinnus-napbus
9112368ff8
bip158: change swp to rev in +to-range
Co-authored-by: fang <github@fang.io>
2021-06-24 05:01:32 +12:00
fang
568e8e320b
hood, pill: clean up merge artifacts 2021-06-23 14:53:47 +02:00
fang
2640a3352a
Merge branch 'master' into m/next-gen-term-real 2021-06-23 11:19:48 +02:00
Philip Monk
99955ce8d3
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-06-22 09:51:33 -10:00
Philip Monk
72b6e11e43
naive: update for L1 changes 2021-06-22 09:50:22 -10:00
raghu
5698e2662a Merge remote-tracking branch 'upstream/master' into better-bar-fuse 2021-06-21 20:57:20 -04:00
raghu
a9f3be003e kiln: move to %sing from %next 2021-06-21 20:44:29 -04:00
yosoyubik
c715ef59fd naive: add cancel pending transaction 2021-06-21 11:27:36 +02:00
Philip Monk
87ca57c364
gall: allow apps to run from any desk
Start with |start %desk %app-name

Everywhere in the kernel that we deal with marks, we infer the app it's
connected to and use the marks from that desk.

Also some light renaming in gall, especially path->wire and
current-agent->yoke.

Subsequent tasks:

- Dojo needs a syntax to run generators and threads from other desks
- The home desk should be split into at least a minimal base desk and
  big "userspace" desk.  Dill's initialization logic should be updated
  to handle
- |show-package, |install, and |uninstall should to be written
- Clay should have smarter handling of system versions instead of just
  ignoring what's on each desk.  It's not clear that this will work
  correctly when sys updates right now.
2021-06-18 16:13:55 -10:00
tinnus-napbus
84ca32aa80 bip158: change swp to flim:sha in +to-range 2021-06-19 03:48:05 +12:00
Liam Fitzgerald
e36f631e46
aqua: cleanup api, fix scry handling 2021-06-18 15:53:24 +10:00
ixv
fd663e0d2b Merge branch 'ixv/btc-filter' 2021-06-17 17:40:20 -07:00
yosoyubik
7e9a2bcfcd naive: fix json param parsing in rpc-api 2021-06-17 15:12:10 +02:00
ixv
0fe385df1f btc: don't use blockfilter if gap > 50; resubscribe on kick 2021-06-17 03:33:22 -07:00
Liam Fitzgerald
1aae4490b7
aqua: upgrade wire format in threads and generators 2021-06-17 16:53:49 +10:00
Liam Fitzgerald
4ec5e8af86
aqua: upgrade for arvo 240 2021-06-17 16:50:55 +10:00
Liam Fitzgerald
61845e605e
aqua: refine pill types
Introduces a %boot-pill mark and associated types, to distinguish pills
that can be used to boot a ship and the ivory pill. Changes aqua to
receive this new %boot-pill mark
2021-06-17 14:33:18 +10:00
raghu
d5c90ac448 accept behn gifts 2021-06-16 17:45:45 -04:00
yosoyubik
845a2d1c1b naive: add l2 tx history by ethereum address 2021-06-16 17:03:21 +02:00
yosoyubik
0573232726 naive: add %noncefrom ship/proxy to rpc-api 2021-06-14 14:18:57 +02:00
ixv
fbbda57552 btc: use blockfilter when requesting address info 2021-06-11 16:10:56 -07:00
yosoyubik
bc3d6e4ac7 Merge branch 'yu/naive-ordered-map' into naive/aggregator 2021-06-11 12:39:03 +02:00
yosoyubik
121ee03fd0 naive: add hint to +por arm 2021-06-11 12:32:47 +02:00
Liam Fitzgerald
96daff6b7f
Merge pull request #4936 from urbit/lf/read-graph-group
hark: read all in group, graph
2021-06-11 09:47:10 +10:00
drbeefsupreme
3c2daa06b4
naive: match %configure-keys to skim:tx format 2021-06-10 15:34:42 -04:00
Philip Monk
e14ed392e6
naive: don't crash if we receive extra L1 logs 2021-06-10 09:22:51 -10:00
yosoyubik
37ab836bcb naive: add latest +on map with parent order 2021-06-10 13:39:03 +02:00
L
c36b35aea4
Merge pull request #4991 from urbit/la/userspace-cleanup
graph-store: clean up old migrations, use some of the new +on methods
2021-06-09 16:02:20 -05:00
yosoyubik
749f8e93f9 naive: add when %next-batch to rpc-api 2021-06-09 15:59:04 +02:00
fang
2d01e1851f
Merge branch 'master' into m/multipass 2021-06-09 14:34:49 +02:00
yosoyubik
0f0af88a31 naive: wip add ordered-map for points 2021-06-09 13:34:04 +02:00
Logan Allen
c61a6c21aa graph-store: add back %2 migration 2021-06-08 10:49:36 -05:00
raghu
ed81fdedfa fuse: update printing for |fuse-list 2021-06-07 20:23:00 -04:00
raghu
5106f18d9a fuse: use %w instead of %v so we can request over the network 2021-06-07 19:52:08 -04:00
Logan Allen
980036d8c0 graph-store: style improvements 2021-06-07 13:42:26 -05:00
Logan Allen
b6d4f64e3d graph-store: clean up old migrations, use some of the new +on methods 2021-06-07 12:36:50 -05:00
raghu
75726c45e8 initial implementation of printing logic 2021-06-06 12:43:26 -04:00
raghu
a7bf5bbca4 fuse: fix some 80 char violations 2021-06-05 18:48:55 -04:00
raghu
d6c592ebba fuse: removing dependency on key being present 2021-06-05 16:03:32 -04:00
raghu
10cf37f8d8 fuse: add support for tracking sources 2021-06-05 16:03:32 -04:00
Logan Allen
87a5de919f userspace: adding a variety of casts to avoid nest checks 2021-06-04 16:08:54 -05:00
drbeefsupreme
e7e49bc50c
naive: errant comment 2021-06-04 14:50:51 -04:00
yosoyubik
bac79bf55d naive: add get-spawned to rpc-api 2021-06-04 11:41:59 +02:00
Liam Fitzgerald
5791be170f
Merge remote-tracking branch 'origin/release/next-userspace' into lf/read-graph-group 2021-06-04 13:49:45 +10:00
fang
3b81e35260
dawn: better multikey format
Improves the multikeyfile format by taking a single ship and a list of
life+key pairs, instead of a list of full seeds.

Also decouples these changes from the dawn event, once again putting a
single seed into it. In the multikeyfile case, keys are injected as
%rekey events to jael near the end of the boot sequence.

Haskell-side changes may or may not be incomplete, boot presently fails
at some unknown point with what looks like a noun conversion error.
2021-06-04 01:49:15 +02: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
Liam Fitzgerald
e510cbeb03
Merge remote-tracking branch 'origin/release/next-userspace' into release/2021-5-27 2021-06-02 10:12:05 +10:00
matildepark
fe8361bfe1
Merge pull request #4969 from urbit/ixv/btc-wilted
btc: stop storing bip32 core in btc-wallet state
2021-06-01 16:19:30 -04:00
ixv
60ddfd1806 btc: stop storing bip32 core in btc-wallet state 2021-06-01 12:30:13 -07:00
Liam Fitzgerald
a03623d249
push-hook: fix version negotiation
Addresses a bug where if the publisher could not perform the fact
conversion, it would not be deferred to the subscriber, preventing the
subscriber from being ahead of the publisher
2021-06-01 12:57:29 +10:00
Liam Fitzgerald
698e79a1e4
push-hook: add %kick poke 2021-06-01 12:22:38 +10:00
Liam Fitzgerald
e16f264d19
Merge remote-tracking branch 'origin/master' into lf/launch-fixes 2021-06-01 11:20:51 +10:00
yosoyubik
fbd96f69ee naive: fix aggregator pokes from rpc-api 2021-05-31 12:20:53 +02:00
yosoyubik
8851e52f45 naive: add eth-get-balance 2021-05-29 14:22:33 +02: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
pkova
d93020d9c6 btc: add basic error handling 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
b2887e75a0 btc: add tile 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
Isaac Visintainer
cc7318aaa9 btc: provider/wallet setup flow 2021-05-26 18:30:17 -07:00
Isaac Visintainer
d8f1e731e1 btc: post merge cleanup 2021-05-26 18:30:17 -07:00
fang
939055f334
dawn: correctly propagate multikeyfile errors 2021-05-26 20:11:36 +02:00
fang
d1890f5db2
jael, dawn: support multi-keyfile during boot
Allows booting with a keyfile containing multiple keys, as long as one
of them matches current PKI pubkeys for the specified ship.

All relevant keys are loaded into jael and will automatically be put to
use when they match PKI state.
2021-05-26 16:02:39 +02:00
yosoyubik
7b216d316a Merge remote-tracking branch 'origin/poprox/naive-tests' into naive/aggregator 2021-05-26 12:03:28 +02:00
Liam Fitzgerald
d124bbdb57
hark: fix read-group action 2021-05-26 14:10:46 +10:00
drbeefsupreme
816f5ac38f
Merge branch 'philip/naive' into poprox/naive-tests 2021-05-25 15:06:30 -04:00
drbeefsupreme
1716383beb
naive: split signing from gen-tx-octs 2021-05-25 15:05:39 -04:00
Liam Fitzgerald
82f2c88062
hark-store: add %read-graph %read-group actions 2021-05-25 13:38:09 +10:00
yosoyubik
937cc2ce44 naive: add aggregator sur 2021-05-21 15:07:08 +02:00
yosoyubik
30bd648d7f json-rpc: move error response core to lib 2021-05-21 13:39:06 +02:00
yosoyubik
c1f071878a Merge remote-tracking branch 'origin/philip/naive' into yu/azimuth-rpc 2021-05-21 13:01:40 +02:00
yosoyubik
93c2e3b0b5 naive: move json [en/de]code functions to common core 2021-05-21 12:57:47 +02:00
yosoyubik
8cd811658f Merge branch 'yu/azimuth-rpc' into naive/aggregator 2021-05-21 12:20:06 +02:00
yosoyubik
48533331f9 naive: fix signature parsing 2021-05-21 12:17:59 +02:00
yosoyubik
31ae6c2227 ethio: handles a result member in an error response
When using a Ganache for running a local Ethereum node, an error RPC 
response can contain a 'result' member with the hash of the transaction, 
 even though that goes against the JSON-RPC spec
2021-05-21 12:11:56 +02:00
Philip Monk
90b7a77cdf
naive: fix rift handling during reset transfers 2021-05-20 13:46:25 -10:00
Philip Monk
c5b17bdb7a
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-05-20 13:09:53 -10:00
Philip Monk
fef85b1829
naive: make correct sponsor for L2-spawned ships 2021-05-20 13:09:03 -10:00
Philip Monk
000f7ca717
naive: better style 2021-05-20 13:07:52 -10:00
Philip Monk
eb68a42b0d
Merge branch 'philip/naive' of ssh://github.com/urbit/urbit into philip/naive 2021-05-20 12:46:19 -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
drbeefsupreme
2b6a795c8b
naive: |^ify gen-tx-octs 2021-05-20 15:55:24 -04:00
Matilde Park
c4a65eb65f Merge branch 'master' into release/2021-5-27 2021-05-19 22:07:12 -04:00
drbeefsupreme
189edd2e48
naive: rename gen-tx to gen-tx-octs 2021-05-19 15:57:24 -04:00
drbeefsupreme
6f89b2ddd6
naive: use lib/naive tx form 2021-05-19 15:48:27 -04:00
Philip Monk
804e2578ed
kiln: don't crash on fuse 2021-05-18 09:09:22 -10:00
Philip Monk
1e6e69a49d
Merge branch 'pr' into release/next-sys 2021-05-18 07:50:26 -10: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
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
Liam Fitzgerald
d37dd90aef
hood: dm-hook is born 2021-05-17 16:16:37 +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
fang
719ff8b442
Merge branch 'master' into m/next-gen-term
Notably includes some changes to webterm's app.tsx that are required to
keep it functioning correctly. As of yet unclear why exactly this is
necessary, presumably hook shenanigans triggered by recent-ish changes.
2021-05-15 00:21:06 +02:00
yosoyubik
154baceb8b Merge branch 'yu/azimuth-rpc' into naive/aggregator 2021-05-14 09:46:36 +02:00
yosoyubik
c5d61b7076 json-rpc: fix result key in rpc response 2021-05-14 07:25:13 +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
66d0c7d47b naive: handle malformed data in transfer-point 2021-05-14 07:24:56 +02:00
yosoyubik
c150da0372 naive: validate proxy in from is one of proxy:naive 2021-05-14 07:24:53 +02:00
yosoyubik
00334d582e naive: use +pairs:enjs for point-to-json reponse 2021-05-14 07:24:48 +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
fe6f189e33 json-rpc: add support for params as map object 2021-05-14 07:24:35 +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
Philip Monk
958b68f63b
naive: comments 2021-05-13 06:58:37 -10: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
drbeefsupreme
49fdf0a496
naive: fix key changing tests 2021-05-11 17:33:57 -04:00
drbeefsupreme
de5a907300
naive: factor out l2 transaction firing into lib
Moved everything related to generating layer 2 transactions, including
verification, into their own library. This ought to be shared between
the aggregator and tests
2021-05-11 16:47:33 -04:00
Liam Fitzgerald
dbb5cf4f0b
hooks: reset diplomacy 2021-05-11 11:50:12 +10:00
Liam Fitzgerald
73e32f816c
Merge remote-tracking branch 'origin/release/next-userspace' 2021-05-11 11:07:17 +10:00
Logan Allen
2a0fdb446c push-hook: clean-up code style 2021-05-10 15:16:24 -05:00
Matilde Park
d4c4db1ec5 Merge branch 'release/next-js' into release/next-userspace 2021-05-10 12:27:12 -04: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
57f5550dbc graph-push-hook: add better hints for profiling 2021-05-07 12:11:16 -05: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
fang
1678d45876
naive: emit effects for processed txs
As a transaction receipt of sort, to inform of transaction success or
failure.
2021-05-06 00:16:49 +02:00
Liam Fitzgerald
357ba972d6
hark-store: refactor on-load 2021-05-04 15:21:49 +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
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
828e7ead1b
graph: add cage helpers 2021-05-04 11:15:03 +10:00
Liam Fitzgerald
395ef6ef01
hooks: add diplomacy flag 2021-05-04 11:06:59 +10:00
Liam Fitzgerald
29ada0eba1
pull-hook: slog tank on versioned nack
Should hopefully provide more debugging info for ghost subscriptions
2021-05-04 11:02:24 +10:00
Liam Fitzgerald
dcf858ccf9
push-hook: hold subscription open after validating access
When we receive a watch-nack on a versioned subscription, we attempt to
resubscribe on an unversioned path. However, if we receive an unversioned
subscription request for which we are not compatible, we hold the
subscription open and never send any facts on unversioned subscriptions.
As the check for unversioned compatiblility occurs before retrieving the
initial-watch, subscriptions which are supposed to nack never do. Fixed
by moving the conditional.

Fixes urbit/landscape#795
2021-05-04 10:56:49 +10:00
Liam Fitzgerald
c73e2b95b5
versioning: convert gates return a cage 2021-05-04 10:55:06 +10:00
raghu
baa06904f6 fuse: print help text in generator 2021-05-01 23:04:19 -04:00
Matilde Park
391a3101d9 Merge branch 'release/next-js' into release/next-userspace 2021-04-30 18:10:01 -04:00
Liam Fitzgerald
004145b407
graph: bunt time to ensure deduplication
The varying timestamp in the %add-graph fact from graph-push-hook was
preventing deduplication of the jammed noun in ames. Prevents
unnecessary bail: memes upon sending many %add-graph facts
2021-04-30 23:58:50 +10:00
Liam Fitzgerald
681641fe4c
graph-store: initialise update logs 2021-04-30 23:58:42 +10:00
Liam Fitzgerald
56b9a7545c
Merge remote-tracking branch 'origin/master' into la/ref-trans-graph 2021-04-30 14:36:26 +10:00
Philip Monk
ca389b42cf
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-04-28 23:25:16 -07:00
Liam Fitzgerald
1ab144b265
hooks: address L review 2021-04-29 15:29:27 +10:00
Philip Monk
27949c5d8a
naive: fix +tx 2021-04-28 22:04:11 -07: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
3869e01556
naive: infer ships from 'from'
For all except spawn, we can infer one of the ship arguments to be the
"from" ship.  This reduces repetition in the batches, which shortens txs
by 4 bytes each (except spawn), and eliminates the need to assert the
same ship is used in both places.
2021-04-28 19:55:57 -07:00
Philip Monk
36a10eb083
naive: convert can -> cad
Avoid bugs where we miscount the length of assembled atoms.
2021-04-28 19:19:50 -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
fang
97540ed638
various: comments, clean-up 2021-04-28 16:45:55 +02:00
fang
52512ed4d4
herm: factor mark conversion logic into lib 2021-04-28 14:17:30 +02: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
fang
6f0a947d1b
Merge branch 'master' into release/next-sys 2021-04-26 23:13:27 +02:00
Logan Allen
79fe01a434 graph-store/push-hook: remove old mark warming, organize 2021-04-26 13:28:13 -05:00
raghu
201c3db193 clay: finalize fuse request - update |fuse 2021-04-25 14:01:45 -04:00
Philip Monk
1ed14c9908
naive: remove "wrap" functionality
Wraps are hard to get right, so we remove support for now.
2021-04-20 23:51:32 -07: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
1b5bc0f476
naive: snapshot improvements 2021-04-20 21:57:04 -07:00
Logan Allen
cd627d452c metadata-store lib: replace crip, trip with rap 3 2021-04-20 16:25:43 -05:00
Logan Allen
c8565e2c3b graph-store lib: skip trip and crip, use rap 2021-04-20 15:58:12 -05:00
Liam Fitzgerald
e27b899a9d
pull-hook: prevent subscription to own store 2021-04-20 18:24:49 +10:00
Liam Fitzgerald
8b52f14a20
pull-hook: do not renegotiate if versions did not change 2021-04-20 18:24:47 +10:00
Liam Fitzgerald
7f3d6ef212
push-hook: do not kick subs if versioning same 2021-04-20 18:08:02 +10:00
raghu
b2e1008d9a clay: add %fuse 2021-04-19 23:46:46 -04:00
Logan Allen
7a44015924 graph-store: update +tag-queries to be a (jug term uid) 2021-04-19 15:53:07 -05:00
Logan Allen
751f3d1f24 server: fix session js caching, add cache threading for other response types, switch from tape to cord interpolation 2021-04-16 12:58:27 -05:00
Philip Monk
c915839e9d
naive: fetch l2 batches from chain 2021-04-15 01:02:58 -07:00
Philip Monk
3e56e17a22
naive: remove l2 set-voting-proxy
Since galaxies can't be on L2
2021-04-14 18:03:52 -07:00
Philip Monk
176df1fc2a
naive: add verbosity level 2021-04-14 17:49:30 -07:00
Philip Monk
46275fa251
naive: a few bugfixes 2021-04-14 16:58:27 -07:00
Logan Allen
d144af2e5b graph-store: migration code moved into lib, graph-store compiles with stubbed out %remove-posts 2021-04-14 14:26:36 -05:00
Logan Allen
fb0f169c09 graph-store: add referential transparency to structures file and update libs to compile 2021-04-13 16:17:39 -05:00
Logan Allen
f3001e122f graph-store: clean up old migrations 2021-04-13 15:38:42 -05:00
fang
1411e08944
clay: specify target type for /~ results
Clay will nest-check the results and put a homogenous map into the
subject.
2021-04-10 01:59:26 +02:00
fang
62d7281156
clay: add /~ ford rune, as /= for directories
Hoon files may want to import nouns from all files in a given directory.
/~ lets you do so, importing as a (map @ta *) (but with typed values).

Note the description as "directories" here, instead of "path prefix".
The behavior, as implemented, will not include /path/hoon for /~  /path,
instead only including /path/more/hoon and more deeply nested files.
This seems to be, generally, the behavior you want, for example when
importing from /app/myapp/* for /app/myapp/hoon.

Actually using the resulting map requires some manual casting, which is
not ideal. Some code style improvement work remains to be done as well.
2021-04-09 01:49:14 +02:00
Philip Monk
0fbbd3aa28
naive: add app/naive to download from ethereum 2021-04-08 00:36:34 -07:00
fang
1ec5e5acfb
hoon: add +stap, path parser
And cleans up a bunch of locally hand-written implementations of it.
2021-04-07 21:14:13 +02:00
fang
91f32ee098
dill: reify sessions interface
Implements tasks for creating and deleting new sessions, and allows
terminal handler agents to distinguish between sessions.

Includes bits of preparation in drum to more fully support multiple
distinct sessions, but doesn't get it all the way there just yet.
2021-04-05 22:37:38 +02:00
fang
5ef68d38c7
gall: stop sending %onto
Gall would send %onto gifts to notify about app updates and update
failures. This would end up in dill, which printed some appropriate
text.

Here, we make gall responsible for doing this printing itself (by
having it explicitly ask dill to print some tape/tank), instead of
relying on the receiving end of some bespoke notification protocol.
2021-04-04 17:22:41 +02:00
Liam Fitzgerald
fbd85abf4e
Merge remote-tracking branch 'origin/master' into lf/push-hook-unver 2021-04-03 12:54:35 +11:00
Liam Fitzgerald
b6a758b1f9
pull-hook: noop on unsupported, unversioned facts
Pull-hook side of the previous change to push-hook
(479fbfd798). Noop on unsupported
unversioned marks, waiting for the publisher to upgrade and kick. Same
tradeoffs as previous change apply.
2021-04-03 10:45:22 +10:00
Philip Monk
c162758e92
naive: add all effects 2021-04-02 16:06:24 -07:00
Logan Allen
21b1119c74 metadata lib: parse right 2021-04-02 20:35:25 +00:00
Logan Allen
6fbbe2ceb7 metadata-store lib: make config encode/decode invertible 2021-04-02 19:18:59 +00:00
Liam Fitzgerald
f27fa5b0f3
metadata: fix updating graph metadata 2021-04-02 23:23:31 +10:00
Liam Fitzgerald
01960286d0
push-hook: do not pass facts to unsupported, unversioned subs 2021-04-02 22:14:15 +10:00
Liam Fitzgerald
479fbfd798
push-hook: noop on unversioned, unsupported watches
Mainnet is currently experiencing undue load due to a watch-kick loop.
If the watch is unsupported, it will be kicked due to a mark mismatch,
which will be interpreted by the unversioned hooks as a network pressure
kick, prompting a resub and continuing the loop. Instead, we now no-op
on unversioned, unsupported watches, waiting for the subscriber to
rewatch after it processes the versioning OTA. This will silently break
groups for the subscriber until the reach the latest OTA, but is
preferable to nacking, and kicking them permanently
2021-04-02 20:38:22 +10:00
Liam Fitzgerald
eb131e64a8
metadata: prevent crash 2021-04-02 15:24:26 +10:00
Liam Fitzgerald
4d659be7cf
metadata: fix JSON conversions 2021-04-02 14:35:41 +10:00
Philip Monk
cc92433622
naive: detach from arvo 2021-04-01 19:31:50 -07:00
Liam Fitzgerald
615be57b7b
Post: refactor permission variations 2021-04-02 11:48:09 +10:00
Logan Allen
5953c9a58f graph-view: add %vip field to %create-group-feed 2021-04-01 16:08:30 -05:00
Philip Monk
c7ce435a3e
naive: add nonces to transactions 2021-04-01 00:05:12 -07:00
Philip Monk
ce08324597
naive: add batch transaction type 2021-03-31 20:28:13 -07:00
Philip Monk
f277eaadb2
naive: remove unnecessary checks 2021-03-31 19:47:40 -07:00
Philip Monk
26226916a0
naive: make all errors explicit, remove +mule 2021-03-31 18:55:49 -07:00
Philip Monk
9149f45521
naive: catch all parser errors explicitly 2021-03-31 18:30:15 -07:00
Philip Monk
5a761caac6
naive: factor out stdlib dependencies 2021-03-31 18:17:37 -07:00
Philip Monk
063c51a8fc
naive: cleanup 2021-03-31 16:21:37 -07:00
Liam Fitzgerald
95bf313ff9 group-view: add %started update 2021-03-29 14:27:28 -04:00
Matilde Park
b7e52edd58 Merge branch 'pre-release/next-userspace' into release/next-userspace 2021-03-26 14:43:28 -04:00
Liam Fitzgerald
996174f85f
push-hook: add version scries 2021-03-26 16:58:02 +10:00
Liam Fitzgerald
9323f19108
graph-store: fix JSON 2021-03-25 14:45:16 +10:00
Liam Fitzgerald
248255c697
graph-store: fix crash in JSON 2021-03-25 14:10:28 +10:00
Liam Fitzgerald
7b378f435d
pull-hook: delay scry in on-load 2021-03-25 11:32:32 +10:00
Liam Fitzgerald
3b3d86aa6c
pull-hook: delay scry in on-load 2021-03-25 11:28:20 +10:00
Matilde Park
7fd4928d96 Merge branch 'release/next-js' into release/next-userspace 2021-03-24 19:10:27 -04:00
Liam Fitzgerald
ce1520ab1a
pull-hook: fix crash 2021-03-25 09:01:22 +10:00
Logan Allen
58bf89d834 Merge branch 'release/next-userspace' into la/group-feed 2021-03-24 14:51:49 -05:00
Liam Fitzgerald
dd44377624
interface: update transclusion for reference content 2021-03-24 13:11:48 +10:00
Liam Fitzgerald
c186bad1c1
graph-store: +on-load 2021-03-24 13:09:58 +10:00
Liam Fitzgerald
b1e86b42ba
interface: fix private permalinks 2021-03-24 13:09:55 +10:00
Liam Fitzgerald
54b3982b42
graph-store: upgrade reference content
This commit changes the type of update:graph-store and as such, a new
mark has been created. graph-store now consumes and produces
%graph-update-1. This new mark type is backwards incompatible with the
previous mark.
2021-03-24 13:06:26 +10:00
Logan Allen
9de66bc5af Merge branch 'release/next-userspace' into la/group-feed 2021-03-23 21:13:12 -05:00
Liam Fitzgerald
4f0d84f4ee
Merge branch 'origin/pre-release/next-userspace' into release/next-userspace 2021-03-23 10:48:11 +10:00
Logan Allen
2e45f4fd99 Merge branch 'release/next-userspace' into la/group-feed 2021-03-22 12:36:34 -05:00
Liam Fitzgerald
ceafee33ab
hooks: address L review 2021-03-22 09:54:59 +10:00
fang
49a991e40e
term: final +belt tweaks
The previous version allowed for redundant values (both [%bac ~] and
[%key ~ %bac ~] for example), had an odd constraint in @cF, and relied
unnecessarily on $<.

Also rewords some of the belt and blit descriptions.
2021-03-19 23:56:51 +01:00
Liam Fitzgerald
e2d10367af
hark-store: give set instead of count in initial
When we receive a notification, it might not affect our count because
it’ll get merged on the server side, but we unconditionally increment
our count on the client if the notification hasn’t been loaded yet.
Addresses this by storing a set of time, index so we can compute whether
or not the notification is merged or unloaded and change the count
accordingly.

Fixes urbit/landscape#276
2021-03-19 11:28:30 +10:00
Liam Fitzgerald
21bc8130ed
hooks: fix unversioned path destructure 2021-03-19 10:24:35 +10:00
Liam Fitzgerald
938ba80e9e
hooks: rewatch unversioned on nack 2021-03-19 10:12:50 +10:00
Liam Fitzgerald
ee12180a5d
hooks: allow unversioned subscriptions for migrate 2021-03-19 10:12:50 +10:00
Liam Fitzgerald
23e772ece5
hooks: fix remaining bugs 2021-03-19 10:12:49 +10:00
Liam Fitzgerald
0878104538
versioning: address review, add tests 2021-03-19 10:12:49 +10:00
Liam Fitzgerald
c99b452fff
version: add mark 2021-03-19 10:05:09 +10:00
Liam Fitzgerald
1832ce1d60
pull-hook: resume sub-ahead 2021-03-19 10:05:09 +10:00
Liam Fitzgerald
46eea8f3d4
pull-hook: resume pub-ahead 2021-03-19 10:05:08 +10:00