Joe Bryan
ef8cb85ad4
Merge pull request #1123 from urbit/murmug
...
switch u3r_mug from FNV to Murmur3
2019-01-09 01:47:47 -05:00
Joe Bryan
8807423b01
refactors u3r_mug* and some call sites
2019-01-08 22:45:02 -05:00
Jōshin
67c0b7b39b
Clean up allocator defs
...
- Condense the allocator section in defs.h and make it match the
surrounding style.
- Use real calloc in c3_calloc. Some guy on the internet says
calloc can be faster than malloc since the OS may not actually
need to call memset.
- Replace calloc calls in vere code with c3_calloc.
Note that I left the c3_calloc definition as-is (i.e., not taking
a count argument). I was going to change it, but it seems like
count is 1 at all call sites. If it's ever used with count != 1,
I'd be in support of changing it, fwiw.
2019-01-02 11:23:06 -08:00
Joe Bryan
0f0f1db51d
updates passcode entry to handle EOF, refactors
2018-12-28 00:21:17 -05:00
Jōshin
ceba869a91
Eliminate extra c3_rand call
2018-12-27 17:30:18 -08:00
Jōshin
fbd5d4e2ad
Capture errors within uH / uL
2018-12-27 17:22:50 -08:00
Jōshin
c7d2256e03
Use c3_fpurge
2018-12-27 17:22:46 -08:00
Jōshin
69f4157588
Fixes the build on OpenBSD
...
Tested with stock clang on an OpenBSD 6.4 amd64 VM. Unfortunately
clang (and also gcc from ports) was not pleased about c3_rand,
whereas this was fine before. I have no idea what changed, but it
works now.
2018-12-14 22:51:02 +00:00
Joe Bryan
5a397fef43
Merge pull request #1107 from urbit/crypt-log
...
re-enable event-log encryption
2018-12-13 19:55:22 -05:00
Joe Bryan
62960bbc28
enables event-log encryption
2018-12-12 01:19:34 -05:00
Joe Bryan
a848191c50
refactors event replay, removing unnecessary effect traversal
2018-12-12 00:39:31 -05:00
Ted Blackman
d8b7068345
updates u3_raft_work() to be async, adds sync u3_raft_play()
2018-12-11 17:13:55 -05:00
Joe Bryan
675fd01607
disables unused _sist_text()
2018-12-10 12:00:45 -05:00
Joe Bryan
295affdaad
fixes memory leak in _sist_cask()
2018-12-08 20:09:23 -05:00
Joe Bryan
65ce838b26
Merge branch 'release-candidate' into single-home
...
* release-candidate:
Write a jet for +sort
remove hold
removed more superfluous lines
removed superfluous lines
moving one brace
using u3x functions
braces constants
added shape checks
Update pin-arvo-commit.txt
Update pin-arvo-commit.txt
type variance bug fix
moves ethereum-integrated pre-boot validation to vere/dawn
2018-12-06 18:33:28 -05:00
Ted Blackman
9cff56962a
Merge pull request #1087 from belisarius222/move-dawn
...
moves ethereum-integrated pre-boot validation to vere/dawn
2018-12-06 13:09:11 -08:00
Joe Bryan
591995934a
single-home arvo with %whom
2018-12-05 16:02:43 -05:00
Joe Bryan
511ff89f80
add entropy to arvo with %wack
2018-12-05 15:52:16 -05:00
Joe Bryan
384a2a1555
moves ethereum-integrated pre-boot validation to vere/dawn
2018-12-05 03:06:18 -08:00
Joe Bryan
bf4e7910dc
loads initial filesystem from pill, -A optional for all ships
2018-12-04 02:54:12 -05:00
Joe Bryan
bc30fb282b
automatically process events on restart
2018-11-26 16:34:49 -05:00
Joe Bryan
a77f6401a7
updates %behn to use effects instead of u3v_keep polling
2018-11-26 03:08:14 -05:00
Joe Bryan
0148b101e7
removes -X ("skip last event")
2018-11-16 17:52:47 -05:00
Joe Bryan
c072605792
restores -H for overriding contract/snapshot ames domains
2018-11-08 23:13:19 -05:00
Joe Bryan
db46b2d798
make implicit -S persist across fake-keyed restarts
2018-11-06 11:16:58 -05: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
Philip Monk
345459e931
allow booting from ethereum snapshot
2018-10-31 15:43:55 -07: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
b9668c77f9
corrects boot comments
2018-10-28 21:29:50 -04:00
Joe Bryan
b7fbd4108e
fixes memory leak (temporarily) by disabling +xeb jet
2018-10-28 21:10:25 -04:00
Philip Monk
999e82a44a
actually send headers
2018-10-24 10:38:09 -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
cc8c01ea70
adds comet mining (temporarily hardcoded under ~marzod)
2018-10-17 22:53:01 -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
Joe Bryan
178c2212cf
adds -e to specify ethereum node url
2018-10-16 22:56:27 -04:00
Joe Bryan
f76f8b5363
refactors u3_sist_boot and pre-boot validation
2018-10-16 22:54:21 -04:00
Joe Bryan
6e77aa110a
starts ames on %turf card, removes -H
...
uses ames domain for tcp proxy, and
moves czar arvo sync after ames initialization
2018-10-16 20:51:51 -04:00
Joe Bryan
5b33f63f6a
restores %dawn galaxy table
2018-10-16 17:38:27 -04:00
Joe Bryan
25bb368243
accepts all (identical) %init cards
2018-10-16 17:26:41 -04:00
Joe Bryan
204cf9be09
restores u3A->fak on full event replay
2018-10-09 15:42:40 -04:00
Joe Bryan
0b13837bfa
single-home's arvo, refines fake keys
2018-10-05 20:29:53 -04:00
Joe Bryan
8fc65462b8
minimal fake-key boot - galaxies only for now
2018-10-05 20:29:53 -04:00
Joseph Lukasik
91f2d9ed68
Disable terminal echo on passcode entry
2018-10-05 14:23:47 -07:00