Commit Graph

1216 Commits

Author SHA1 Message Date
Joe Bryan
563b174de4 1. refactors and deduplicates arvo effect handling 2018-12-05 23:13:25 -05:00
Ted Blackman
2001d39360
Trim ethereum snapshot in Jael (#911)
trim snapshot format
2018-12-05 16:26:32 -08:00
Elliot Glaysher
1d6e130ef9
Merge pull request #913 from urbit/arvo-debugging-statements
Add ~| to arvo to try to debug intermittent crash.
2018-12-05 14:01:37 -08:00
Elliot Glaysher
f14837755d Moved to +jack 2018-12-05 13:36:29 -08:00
Elliot Glaysher
b75e22e1ea Add ~| to arvo to try to debug intermittent crash. 2018-12-05 13:26:20 -08:00
Elliot Glaysher
57c5ccc8f8
Merge pull request #912 from urbit/common-slav-types
Add special cases for %da and %ta to +slaw
2018-12-05 11:50:34 -08:00
Elliot Glaysher
af3e4c641e Add special cases for %da and %ta to +slaw
+slav calls +slaw with %da and %ta in several places across multiple
vanes. This refactors the date parsing code into its own arm so it
can be called from +slaw.
2018-12-05 11:08:11 -08:00
Joe Bryan
b38bfef138
Merge pull request #909 from urbit/pill-convergence
implements common pill interface, adds userspace to +solid
2018-12-05 13:50:22 -05:00
Elliot Glaysher
86ec9b060a Also add %uv handling to +slaw 2018-12-04 14:07:01 -08:00
Joe Bryan
51ca94d192 corrects "awaiting hood" prompt 2018-12-04 15:28:50 -05:00
Elliot Glaysher
6ebb061134
Merge pull request #908 from urbit/hack-slaw
Do fast special cases for +slaw instead of always calling +slay.
2018-12-04 11:05:25 -08:00
Elliot Glaysher
552401abf4 Rush parshing 2018-12-04 10:19:50 -08:00
Joe Bryan
cae4b03c5c removes initial %clay merge 2018-12-04 03:09:51 -05:00
Joe Bryan
99a3fc6a05 removes auto-resetting "init" sync 2018-12-04 03:09:51 -05:00
Elliot Glaysher
770025c155 Do fast special cases for +slaw instead of always calling +slay.
+slay is a giant, recursive, slow parser combinator. +slaw is called
on every beam handling. In actual usage, we can special case based
on the passed in type and use a much smaller parser.
2018-12-03 16:41:30 -08:00
Joe Bryan
faaa9cecee handles %crud in %behn 2018-12-03 17:11:28 -05:00
Elliot Glaysher
7185d02929 Don't run nest checks in clay, either. 2018-12-03 13:22:39 -08:00
Elliot Glaysher
841b023671 Don't run nest checks on every +call. 2018-12-03 11:45:50 -08:00
Elliot Glaysher
75341be2d8 Don't use slot in +scry since the type is never used. 2018-12-03 10:45:54 -08:00
Elliot Glaysher
0b0d2ca2a8 Prime the worm cache in arvo with scry types
The majority of time in handling a scry is spent in the compiler since it
doesn't use the compiler cache since scrying can't have side-effects and modify
the cache. So prime the worm cache at vane install time so the cache is
prepopulated before we call a scry.

This shaves off >10ms per scry.
2018-12-02 19:46:21 -08:00
Elliot Glaysher
e94a1012f5 3: Use +slot 2/3 instead of +slap %p/%q 2018-12-01 14:27:32 -08:00
Elliot Glaysher
1488bf0284 2: Thread through the toplevel changes. 2018-12-01 14:27:32 -08:00
Elliot Glaysher
6621d5ebca 1: Change the type of +vent so it standardizes cache location. 2018-12-01 14:27:32 -08:00
Joshua Reagan
744a064b98
Merge pull request #902 from urbit/release-candidate-variance
variance fix: calling lead, zinc gates
2018-11-29 19:04:34 -06:00
Elliot Glaysher
708396cfbf
Merge pull request #896 from urbit/more-arvo-cache
Additional caching in the arvo kernel
2018-11-29 11:28:16 -08:00
joshuareagan
0eaca3970f variance fix: calling lead, zinc gates 2018-11-29 12:49:08 -06:00
Joe Bryan
6022da6d06 fixes %ford %reef build, enables and fixes test 2018-11-27 23:46:34 -05:00
Joe Bryan
b3fb94ae01 updates arvo to safely coerce to @tas in debug/error printfs 2018-11-27 23:07:54 -05:00
Joe Bryan
144c844a78 crash in %behn if the output duct is unset 2018-11-27 13:03:44 -05:00
Joe Bryan
353916ced0 crash in %ames if the output duct is unset 2018-11-27 12:58:55 -05:00
Joe Bryan
c1e0b14a8d fixes Arvo error handling of a %give on the empty duct 2018-11-27 12:58:48 -05:00
Joe Bryan
213903c343 restores %dirk to %gall whitelist for |commit 2018-11-27 12:58:40 -05:00
Joe Bryan
d5296de4a0 handles %crud task in %clay 2018-11-27 12:58:32 -05:00
Joe Bryan
e0093f64f6 cleans up and comments %vega reset in arvo 2018-11-27 12:41:47 -05:00
Joe Bryan
0645bd1790 restores arvo postface, rewrites +solid and %vega compilation 2018-11-27 12:26:10 -05:00
Joe Bryan
806c604c2f removes +keep, updates axes in arvo and +solid 2018-11-26 17:57:41 -05:00
Joe Bryan
a3710f760a
Merge pull request #895 from urbit/keep-no-more
updates %ames to use %behn, %behn to use effects
2018-11-26 17:27:53 -05:00
Isaac Visintainer
b036a2bbe7 stopped cross-ship building with ourselves 2018-11-26 14:18:59 -08:00
Joe Bryan
3418ea13bf stubs out +keep in arvo interface 2018-11-26 16:38:37 -05:00
Joe Bryan
2d47b6a6e2 removes +doze from all vanes 2018-11-26 16:17:34 -05:00
Joe Bryan
e98ddea39b cleans up %behn state management, fixes reloading 2018-11-26 16:17:30 -05:00
Elliot Glaysher
fc37eedfd3 Additional caching in the arvo kernel 2018-11-26 11:31:34 -08:00
Joe Bryan
e661d55e49 updates %behn to use effects instead of +doze polling 2018-11-26 03:28:58 -05:00
Joe Bryan
19f3ae3b5a updates %ames to use %behn timers instead of +doze polling 2018-11-26 01:33:41 -05:00
Joe Bryan
8561d0399e removes unused %ames note-to-self 2018-11-26 00:20:29 -05:00
Joe Bryan
265fe6bc8a fixes +hunt to support null units 2018-11-26 00:19:40 -05:00
Elliot Glaysher
c7f79953dc Remove !: from vanes. 2018-11-24 14:47:32 -08:00
Elliot Glaysher
2871f5827d Cache the results of +ap-find, which was taking 10% of runtime. 2018-11-24 14:47:32 -08:00
Elliot Glaysher
7f01ce0762 Cache the slot in +slur, which makes the type passed to ~nest the same noun each time. 2018-11-24 14:47:32 -08:00
David Kerschner
717073b22d Added support for uppercase letters in sail attributes (#890) 2018-11-19 09:57:32 -08:00
Fang
35fe55c701
Merge branch 'release-candidate' into keygen-changes 2018-11-14 16:20:04 -08:00
Elliot Glaysher
884ed27c07 Remove 200ms delay in +run-builds in ford. 2018-11-13 11:32:02 -08:00
Fang
113f82b6f0
Merge pull request #824 from urbit/vat-q
Add @q, phonetic data representation
2018-11-13 11:07:25 -08:00
Isaac Visintainer
0df228f165 added jet hints to hall, collections, gall 2018-11-07 14:31:31 -08:00
Isaac Visintainer
71c1161599 eyre: reduce view timeout, stop redirecting on cookies, delete subs
after getting a quit
2018-11-07 14:31:31 -08:00
Joe Bryan
e094ce8984
Merge pull request #882 from urbit/quiet-ames-jael
suppress %ames/%jael printfs
2018-11-07 14:40:07 -05:00
Joe Bryan
24b3d0da08
Merge pull request #873 from urbit/lofi-dns
simplify :dns app
2018-11-07 12:30:20 -05:00
rmariani
7a5f5d0df0 Fixes ``` UMD bug
In Udon, you can now display a literal ``` in code-quotes using this syntax:

```
`\``
```

big thanks to Ted for helping me with this.
2018-11-06 23:30:09 -08:00
Joe Bryan
5456ed860a removes %jael west/coop printfs 2018-11-07 01:40:07 -05:00
Joe Bryan
d549a6015b removes %ames vein/pubs/packet-drop printfs 2018-11-06 22:37:12 -05:00
Joe Bryan
9892809fce comments out %jael %pubs printf 2018-11-06 19:23:25 -05:00
Joe Bryan
ecf24a1345 moves +reserved ipv4 address check to zuse, uses in :dns|ip 2018-11-06 19:13:11 -05:00
Joe Bryan
41833dcdc8 Revert "adds lane-change subscriptions (%tend/%rove) to ames"
This reverts commit adc9da0b0c.
2018-11-06 19:09:24 -05:00
Joe Bryan
42a285efef simplifies :dns, removing dependence on %ames routing 2018-11-06 19:09:24 -05:00
Joe Bryan
b37c6b45c8 refactors %eyre %born task, prunes pending requests 2018-11-06 15:38:58 -05:00
Fang
37e2a186da Merge branch 'release-candidate' into keygen-changes 2018-11-06 10:37:37 -08:00
Joe Bryan
6deeb7dee9
Merge pull request #876 from urbit/eyre-path-parsing
fix eyre path parsing for security drivers
2018-11-05 17:01:28 -05:00
Philip Monk
050cea46da
cosmetology 2018-11-02 17:32:28 -07:00
Philip Monk
a467f87e2a
give children the whole story 2018-11-02 17:05:41 -07:00
Philip Monk
8deed09311
argue about rewinding 40 blocks whenever we lose the filter
in case someone's debugging this and wants to understand the decisions
made.
2018-11-02 16:02:11 -07:00
Philip Monk
7faad4de1a
rewind when we detect a chain reorganization 2018-11-02 15:32:02 -07:00
Philip Monk
726808779d
prepare for rewinding on reorg detection 2018-11-02 15:31:31 -07:00
Philip Monk
06317772d4
cosmetology 2018-11-02 10:22:30 -07:00
Isaac Visintainer
d151a36e94 added col to +pquo (url param parsing) 2018-11-02 13:22:27 -04:00
Joe Bryan
2be23e20db prints request path if %eyre fails to parse it 2018-11-02 13:22:25 -04:00
Philip Monk
313cbcdf3b
publish updates about after snapshot 2018-11-01 18:11:29 -07:00
Philip Monk
3a507c364e
send snapshot to initialize kids 2018-11-01 18:11:29 -07:00
Philip Monk
6c4760f243
bug fixes and cleaning to prepare for snap vents 2018-11-01 18:11:29 -07:00
Philip Monk
85127511f3
cosmetic cleaning 2018-11-01 18:11:29 -07:00
Joe Bryan
c8f1b4d5a1 Merge branch 'release-candidate' into ames-eth-keys
* release-candidate: (33 commits)
  update pin-vere-commit.txt
  Bug fix for metal-wrapping runes
  Remove old-zuse (#867)
  Type Analysis (#865)
  remove clam from error sigpam
  Fix compiler error.
  Remove temporary type analysis work.
  Remove ++cook from ++auri parsing
  Remove forced ssl upgrade for localhost http reqs
  moved to new branch with updated arvo
  11. demacrotizes %6, %7, %8, and %9
  10. updates %5 to require two subformulas (4K)
  9. emits %10 (4K)
  8. adds and implements edit (%10) (4K)
  7. removes %13 and %14 (4K)
  6. emits %11 and %12 (4K)
  5. implements hint at %11 and wish at %12 (4K)
  4. removes %10 and %11 (4K)
  3. emits %13 and %14 (4K)
  2. implements %13 and %14 (4K)
  ...
2018-11-01 00:18:54 -04:00
Joe Bryan
a5b5ce5d04 refactors +hull updates in %jael, adds comments 2018-11-01 00:03:30 -04:00
Joe Bryan
c014303233 moves +code scry to %jael, removes obsolete %ames scrys 2018-11-01 00:03:26 -04:00
Joe Bryan
0d12bc8f6e removes or clarifies %ames todo comments 2018-10-31 23:30:19 -04:00
Joe Bryan
1c8573789e removes unused structures from %ames state 2018-10-31 23:21:29 -04:00
Philip Monk
0db24cf208
clean and add tests 2018-10-31 15:18:40 -07:00
Philip Monk
6660d697ec
allow booting from ethereum snapshot 2018-10-31 14:34:21 -07:00
Joshua Reagan
58cf323aa7
Bug fix for metal-wrapping runes
A bug causes this cast to go through:

```
^+(|=(@ 15) ^&(|=(@ 15)))
```

It should nest-fail.  This change makes the cast work correctly with the metal wrapping runes `^&`, `^|`, and `^?`.
2018-10-31 13:56:56 -05:00
Philip Monk
871857f4c6
only snapshot eth-derived state 2018-10-30 17:05:05 -07:00
Philip Monk
c82315382b
fix for parity 2018-10-30 16:18:54 -07:00
Philip Monk
c1f86dc296
manually restore from snapshot 2018-10-30 11:41:54 -07:00
Fang
b71e68b3b4 No longer rev ahead of time 2018-10-30 11:10:52 -07:00
Joe Bryan
420e99dc61 sets ships contract address to ropsten deployment 2018-10-29 21:55:24 -04:00
Joe Bryan
3e09b9b6c5 includes block number and ethereum gateway url in boot event 2018-10-29 15:38:14 -04:00
Joe Bryan
087b6c92b0 pins pre-boot validation eth rpc requests to a single block 2018-10-29 14:02:36 -04:00
Philip Monk
fb07d9eada
Merge pull request #864 from urbit/philip/ames-eth-keys
add chunking and start snapshotting
2018-10-26 18:35:25 -07:00
Joe Bryan
64f9a06555
Merge pull request #860 from cgyarvin/release-candidate
Merge research-final branch (but not finally).
2018-10-26 12:49:09 -04:00
Fang
22e689adbe Implement functions to get address from Ethereum keys 2018-10-25 18:37:34 -07:00
Philip Monk
c806694271
add robustness 2018-10-25 16:15:42 -07:00
Philip Monk
dc1888e112
add chunking and start snapshotting 2018-10-25 15:03:40 -07:00
Joe Bryan
0e59788dff fixes bugs in individual continuity breaches 2018-10-25 17:41:05 -04:00
Joe Bryan
7269c09771 adds life-mismatch checks to pre-boot validation 2018-10-25 17:39:34 -04:00
Joe Bryan
345cc92578 makes the "removed" property optional in eth json event logs 2018-10-24 19:55:16 -04:00
ixv
8b4425bafc
Merge pull request #863 from urbit/release-candidate-fix-dead-ire
remove clam from error sigpam
2018-10-24 15:45:58 -07:00
Philip Monk
eaa65a9e75
handle json objects without all keys 2018-10-24 15:18:25 -07:00
Anthony Arroyo
0c38349e56 remove clam from error sigpam 2018-10-24 14:45:24 -07:00
Fang
aeeb075ddd Add a more generic PBKDF implementation into zuse
Can be fed arbitrary KDF functions and operate using those.
Includes arms for calling with HMAC-SHA variants.

Still takes @t rather than sane-byte-order @ though...

Includes tests.
2018-10-24 13:42:35 -07:00
Joe Bryan
db08708fe6 fixes bug in forwarded packet routing 2018-10-24 16:31:50 -04:00
Philip Monk
90419eb009
better handling of lost filters
- add `etn` to `++abet:su` and `++curd` for propogation of `latest-block`
- start new filters 40 blocks before `latest-block` to allow for reorgs
while we weren't looking
- add getLogs in case we need it later
2018-10-24 13:25:02 -07:00
Philip Monk
1819be5139 add a convenient error message (#862) 2018-10-24 12:18:04 -04:00
Curtis Yarvin
31df8efda8 Fix compiler error. 2018-10-22 15:38:27 -07:00
Curtis Yarvin
3333d47de2 Merge branch 'research-final' into release-candidate 2018-10-22 12:47:26 -07:00
Joe Bryan
5e4ead1353 sets request id in +hull:give:dawn 2018-10-22 13:39:33 -04:00
Joe Bryan
4d3b204769 implements key rotation with continuity
also not quite working
2018-10-18 14:45:54 -04:00
Joe Bryan
a29a40b0d9 refines %sunk discontinuity notifications
still not completely correct ...
2018-10-18 12:38:43 -04:00
Joe Bryan
13ada085b6 simplifies and refactors %dill initialization 2018-10-18 11:51:17 -04:00
Joe Bryan
fbebdeb81c self-sign own comet deed in %jael scry 2018-10-17 22:54:03 -04:00
Joe Bryan
124f54c8f5 adds comet miner, stars sponsor comets
and +crub:crypto fingerprints include both keypairs
2018-10-17 15:44:25 -04:00
Joe Bryan
835ce129a1 adds +deed scry to %jael, uses in %ames 2018-10-17 15:31:44 -04:00
Joe Bryan
ba5414cae3 use jael scrys for (almost) all +sein/+saxo calls in vanes 2018-10-17 15:23:33 -04:00
Joe Bryan
1e0408b445 updates sein:title to use %jael scry, adds ^sein:title 2018-10-17 15:22:07 -04:00
Joe Bryan
b24bd2fcbf removes womb and all its accoutrements 2018-10-17 14:54:28 -04:00
Joe Bryan
83661c095a clarifies comments, removes todos, minor refactoring 2018-10-17 14:51:23 -04:00
Joe Bryan
7a97a1c78a adds %jael scry (sein,saxo,life,earl) 2018-10-17 14:39:44 -04:00
Joe Bryan
8ea97d270c saves our public keys and deed sig in %jael on boot 2018-10-17 14:29:18 -04:00
Joe Bryan
5931d6a3b5 refactors %jael identity, moves structures to +state-relative 2018-10-17 14:18:22 -04:00
Isaac Visintainer
91432cf75f added sunk note to jael, implements %ames, stubs other vanes 2018-10-17 14:05:39 -04:00
Joe Bryan
becf9d1a04 %meet neighbors in %jael 2018-10-17 13:53:41 -04:00
Joe Bryan
f7c721fd25 enforces fake/not domain invariants in %jael 2018-10-17 12:44:00 -04:00
Joe Bryan
cf06e987bb updates %eyre to get domains from jael
so that galaxies automatically get ACME certificates
2018-10-17 12:43:49 -04:00
Joe Bryan
8f70f09950 reverts deferral of initial %clay merge
fixing race condition between stars and galaxies on first boot
2018-10-17 12:06:47 -04:00
Joe Bryan
d9fa9a75c4 refactors |dawn (pre-boot validation)
adds comments, fixes moons, simplifies product type
2018-10-16 23:47:39 -04:00
Joe Bryan
535ab6e90b updates %jael to save and %ames to give domains (on boot/startup)
also defers initial clay merge,
renames +turf (utf8 to utf32) to +taft,
and removes duplicate +turf (domain) declarations,
and updates pinned vere to use them
2018-10-16 21:02:41 -04:00
Joseph Lukasik
7dc2f074ef Remove ++cook from ++auri parsing
Now that the uri parsing is not being modified by the localhost forced ssl
upgrade, this cook is not needed.
2018-10-12 16:12:44 -07:00
Joseph Lukasik
cb4a7a54f5 Remove forced ssl upgrade for localhost http reqs 2018-10-12 15:18:47 -07:00
Joe Bryan
06fa0d14a9 11. demacrotizes %6, %7, %8, and %9 2018-10-10 23:23:41 -04:00
Joe Bryan
6e2e6b001f 10. updates %5 to require two subformulas (4K) 2018-10-10 23:04:29 -04:00
Joe Bryan
f16f052401 9. emits %10 (4K) 2018-10-10 20:10:56 -04:00
Joe Bryan
48d67779df 8. adds and implements edit (%10) (4K) 2018-10-10 19:33:11 -04:00
Joe Bryan
f48ce3509c 7. removes %13 and %14 (4K) 2018-10-10 19:27:38 -04:00
Joe Bryan
ad6c489528 6. emits %11 and %12 (4K) 2018-10-10 18:58:19 -04:00
Joe Bryan
4693f111ff 5. implements hint at %11 and wish at %12 (4K) 2018-10-10 18:38:53 -04:00
Joe Bryan
a2187e308c 4. removes %10 and %11 (4K) 2018-10-10 18:23:22 -04:00
Joe Bryan
0cbd5e54e9 3. emits %13 and %14 (4K) 2018-10-10 18:00:52 -04:00
Joe Bryan
a3c3b422f7 2. implements %13 and %14 (4K) 2018-10-10 17:32:41 -04:00
Joe Bryan
e07aee64a2 1. duplicates hint (%10) and wish (%11) at %13 and %14 in +nock (4K) 2018-10-10 17:16:03 -04:00
Joe Bryan
d5368c22fe simplify %pubs and %vein wires so the ducts can be deduped 2018-10-05 23:25:38 -04:00
Joe Bryan
d938e5386a networking re-established with %jael keys 2018-10-05 23:23:31 -04:00
Joe Bryan
e99fb3834d save our private and others' public keys in %ames state 2018-10-05 21:05:20 -04:00
Joe Bryan
a230b8e9fb removes %ames pki and old boot process 2018-10-05 21:01:07 -04:00
Joe Bryan
bd33954ed9 initial fake-key infrastructure in %jael
and updates vere hash for CI
2018-10-05 20:56:54 -04:00