Commit Graph

3392 Commits

Author SHA1 Message Date
Fang
1978fc9b05 Fix ripe jet, treat input as byts rather than bits
Unpack input in u3we version, assume byts, don't check for multiple
of eight bits.
2018-11-04 12:23:24 -08:00
Fang
449cd080b0 Clean up style in blake2 jet 2018-11-04 11:42:33 -08:00
Fang
a74ea050fa Clean up style in argon2 jet 2018-11-04 11:42:17 -08:00
Fang
ce8779c929 Clean up argon2 jet config params unpacking 2018-11-04 11:40:14 -08:00
Fang
451bc588da Make blake adhere to desired output length
And makes sure to return in the correct byte order.
2018-11-04 09:55:25 -08:00
Fang
179c49429a Use u3a_malloc instead of c3_malloc 2018-11-04 09:44:53 -08:00
Joe Bryan
bfbb4b1b13
Merge pull request #1049 from urbit/fix-unjetted-arm-profiles
Fix un-jetted arm profiles
2018-11-01 16:33:14 -04:00
Joe Bryan
63e16f8d64 removes no-op conditional in _cj_site_kick_hot() 2018-11-01 16:16:01 -04:00
Joe Bryan
aa12e760ba fixes profiling of hinted but unjetted arms 2018-11-01 15:04:42 -04:00
Joe Bryan
a9f9dfc2c1
Merge pull request #1048 from urbit/fake-no-hash-merge-fix
fix bad merge conflict resolution (in disabled battery hashing)
2018-11-01 01:21:11 -04:00
Joe Bryan
f319cd6c81 fixes merge conflict resolution in the previous. mea maxima culpa 2018-11-01 01:18:50 -04:00
Joe Bryan
c6e302fa4f
Merge pull request #1042 from urbit/bs/disable-core-hashing-on-fake-ships
Disable core hashing on fake ships.
2018-11-01 01:13:14 -04:00
Joe Bryan
b3eb48408c
Merge branch 'release-candidate' into bs/disable-core-hashing-on-fake-ships 2018-11-01 01:11:57 -04:00
Joe Bryan
bc842288e6
Merge pull request #1037 from urbit/ames-eth-keys
ethereum-integrated boot
2018-11-01 00:52:14 -04:00
Joe Bryan
7027f43563 updates fake-zod examples, removing -I 2018-11-01 00:43:09 -04:00
Joe Bryan
35bfb49086 Merge branch 'release-candidate' into ames-eth-keys
* release-candidate: (21 commits)
  zinc gate casting bug
  Bug fix for metal-wrapping runes
  converting iron and zinc cores to lead bug
  8. updates nock 4K spec
  7. updates %5 to require two subformulas (nock 4K)
  6. implements edit at %10 (nock 4K)
  5. removes %13 and %14 (nock 4K)
  4. emits %11 and %12 (nock 4K)
  3. implements hint at %11 and wish at %12 (nock 4K)
  2. removes %10 and %11 (nock 4K)
  1. duplicates hint (%10) and wish (%11) at %13 and %14 (nock 4K)
  Disable terminal echo on passcode entry
  increased inbound request and ward timeouts to 5 min
  mutating edit
  bail in _n_edit on invalid path
  avoid allocating an atom for _cj_bash
  bypass mat and chop directly in jam
  small memory leak for large edits
  disable hike jet, kill errant and unneccessary mutate-context-sample opcodes
  bugfixes
  ...
2018-11-01 00:16:20 -04:00
Joe Bryan
79f736cfe8
Merge pull request #1046 from urbit/philip/ames-eth-keys
Allow booting from ethereum snapshot
2018-10-31 22:19:39 -04:00
Joshua Reagan
5911cb10c6
Merge pull request #1045 from urbit/joshuareagan-patch-3
zinc gate casting bug
2018-10-31 20:32:04 -05:00
Joshua Reagan
2a51de1853
Merge pull request #1044 from urbit/joshuareagan-patch-2
Bug fix for metal-wrapping runes
2018-10-31 19:50:43 -05:00
Philip Monk
345459e931
allow booting from ethereum snapshot 2018-10-31 15:43:55 -07:00
Elliot Glaysher
a5ce6d5ead WIP: Switching tasks 2018-10-31 14:43:16 -07:00
Joshua Reagan
aadd95bf98
zinc gate casting bug
Casting with a `^&` rune example fails because of a minor jet typo:

```
> ^+(^&(|=(@ 15)) |=(@ 15))
-gene.[%ktpd %brts [%base %atom 0] %sand %ud 15]
play-open-z
ford: %slim failed: 
ford: %ride failed to compute type:
```

The above cast should go through.  This fix makes that happen.
2018-10-31 16:40:37 -05:00
Joshua Reagan
0a7d338553
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 14:02:17 -05:00
Joe Bryan
d6b9d6088c sets default pre-boot validation ethereum gateway to ropsten infura 2018-10-29 21:52:46 -04:00
Joe Bryan
f0efa1ac12 includes block number and ethereum gateway url in boot event 2018-10-29 15:23:17 -04:00
Joe Bryan
770207e186 pins pre-boot validation eth rpc requests to a single block 2018-10-29 14:01:45 -04:00
Joe Bryan
9ebeaeb3dc requires ethereum gateway (with -e) for non-fake galaxy boot 2018-10-29 12:39:02 -04:00
Joe Bryan
68a2963051 swaps -K (now kernel stage) and -k (now key-file) 2018-10-29 11:48:05 -04:00
Joe Bryan
b9668c77f9 corrects boot comments 2018-10-28 21:29:50 -04:00
Joe Bryan
05b4c7726b updates +met jet to always measure only once 2018-10-28 21:26:42 -04:00
Joe Bryan
f8bf967912 rewrites/re-enables +xeb jet 2018-10-28 21:15:07 -04:00
Joe Bryan
b7fbd4108e fixes memory leak (temporarily) by disabling +xeb jet 2018-10-28 21:10:25 -04:00
Joe Bryan
b88a2b5062 refactors u3v_wish for clarity 2018-10-28 21:10:25 -04:00
Benjamin Summers
c198b4ff0c Disabled core hashing on fake ships. 2018-10-26 15:36:35 -07:00
Joshua Reagan
5d6e7eec0e
Merge pull request #1040 from urbit/joshuareagan-patch-1
converting iron and zinc cores to lead bug
2018-10-26 11:07:09 -07:00
Joshua Reagan
a8fbd49864
converting iron and zinc cores to lead bug
In the current release candidate, this happens:

```
> ^?(^|(add))
wrap-gold
ford: %slim failed: 
ford: %ride failed to compute type:
```

This is a jet mismatch from `+wrap`, I believe:

https://github.com/urbit/arvo/blob/release-candidate/sys/hoon.hoon#L11139

You should be able to convert iron and zinc cores to lead.
2018-10-25 17:34:49 -07:00
Elliot Glaysher
3af6a85052 If we don't set content_length, it won't add the header. 2018-10-24 11:39:47 -07:00
Philip Monk
999e82a44a
actually send headers 2018-10-24 10:38:09 -07:00
Elliot Glaysher
ee2c8bd0a9 Get http timeouts working and passing into Urbit. 2018-10-23 14:36:42 -07:00
Elliot Glaysher
19ce97dfea Disable exponential backoff in behn handler which was skewing timers 2018-10-23 14:34:10 -07:00
Joe Bryan
61c1ece926 corrects public-key retrieval for (parent of) moons 2018-10-18 15:24:04 -04:00
Joe Bryan
562c9b310a factors out pre-boot verification failure 2018-10-18 15:13:14 -04:00
Joe Bryan
37f551d65f adds pre-boot validation status printfs 2018-10-18 14:47:15 -04:00
Joe Bryan
d9cfb8de35 removes extra %init handlers in reck.c 2018-10-18 01:26:50 -04:00
Joe Bryan
cc8c01ea70 adds comet mining (temporarily hardcoded under ~marzod) 2018-10-17 22:53:01 -04:00
Joe Bryan
1f42dfc812 documents new cli arguments 2018-10-17 17:28:46 -04:00
Joe Bryan
07c04e32a7 initialize %ames (and galxy sync) early on first boot 2018-10-17 12:06:16 -04:00
Joe Bryan
f939b63cca simplifies dawn status noun, improves error messages 2018-10-16 23:46:31 -04:00
Joe Bryan
4b6c697814 allows -G as an alternative to -K (temporarily) 2018-10-16 23:46:11 -04:00
Joe Bryan
ca1259bf70 check that -w matches the ship in -K 2018-10-16 22:57:18 -04:00