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
Joe Bryan
71c57c14f2
removes %jael %init, adds tests for %dawn
2018-10-05 20:56:49 -04:00
Joe Bryan
ffaf83895c
implements %dawn boot in %jael, removes %ames boot
2018-10-05 20:56:41 -04:00
Joe Bryan
afed20286c
cleans up %clay %init
2018-10-05 20:09:46 -04:00
Joe Bryan
62f49dc9e3
minor %ames style cleanup
2018-10-05 20:09:37 -04:00
Joe Bryan
19721d82e1
removes unused +kist/+kest from %jael types
2018-10-05 19:54:06 -04:00
Joe Bryan
536bf47095
adds pre-boot ethereum validation (|dawn) and tests
2018-10-05 19:54:06 -04:00
Ted Blackman
3e721e2817
fix clay cache for non-%mime entries; also add equality check as optimization
2018-10-04 14:43:13 -07:00
Ted Blackman
b349890fb8
use the clay mime cache for sync; also sort some of clay's ford builds for more determinism
2018-10-04 11:37:42 -07:00
Joe Bryan
ea8c964ebd
fixes spacing issues in secp ~/ hints
2018-10-03 21:39:27 -04:00
BernardoDeLaPlaz
6cf8506bc7
hint secp
2018-10-03 21:33:43 -04:00
Joe Bryan
bc9936fbec
Merge pull request #833 from urbit/hashboard-jet-cleanup
...
hashboard CI staging and minor jet cleanup
2018-10-03 18:02:16 -04:00
Joe Bryan
2a78815ede
adds fast hints to +need and +shas
2018-10-02 21:45:26 -04:00
Paul Driver
3911d9a8bf
differentiate +pfix and +sfix
2018-10-02 21:45:26 -04:00
Fang
b7164a5d70
Make ~| slightly more clear
2018-10-02 17:58:50 -07:00
Fang
f90fb7d16e
Update Ethereum stdlib core for latest contracts
...
To match up to urbit/constitution/b5b8556.
2018-10-02 17:56:00 -07:00
Fang
9f6c73a82d
Update some comments and TODOs
2018-10-02 17:20:11 -07:00
Fang
4b908d66f2
Fix issue with Ethereum byte padding logic
2018-10-02 17:20:11 -07:00
Isaac Visintainer
ef3fed4de8
removed zapcol from ford
2018-10-01 14:49:25 -07:00
Fang
020a8fd96a
Add @q, phonetic data representation
...
It's @p, except never scrambles, and doesn't use -- in large values.
2018-09-27 19:56:36 -07:00
Ted Blackman
c31bcb95e6
fix bug in +move-root-to-cache
2018-09-24 13:44:52 -07:00
Elliot Glaysher
49f87e6067
Over the shoulder code review.
2018-09-13 15:54:59 -07:00
Elliot Glaysher
db34424de2
Fix +grad case in +make-join, add assertions.
2018-09-13 14:51:12 -07:00
Elliot Glaysher
d08108fb90
Fix path to oauth atoms.
2018-09-12 13:25:48 -07:00
Curtis Yarvin
72a6beaf4a
Various analysis work.
2018-09-10 10:52:14 -07:00
Curtis Yarvin
0990f7daaa
Just a couple stubs
2018-09-06 19:01:44 -07:00
Fang
b4631e9438
Merge pull request #803 from urbit/ethereum-signing
...
Ethereum transaction signing
2018-09-06 11:17:52 +02:00
Curtis Yarvin
6cf2303f2d
Various fixes and improvements.
2018-09-05 17:38:36 -07:00
Ted Blackman
0ac5038b7b
Enqueue second Clay write during an Arvo event ( #807 )
...
* clay queue passes test
* docs on :cue and :tip in clay
* minor typo
2018-09-05 16:05:23 -07:00
Elliot Glaysher
148f62569c
Be explicit in having hoon file suffixes in security driver paths.
2018-09-04 13:28:24 -07:00
Fang
b7681cf73c
Make ++ecdsa-raw-recover accept unmodified signature
...
Continuation of b2365dbd4
2018-09-04 18:08:23 +02:00
Fang
96e5dd4600
Add comments to clarify transaction signing logic
2018-09-04 17:41:30 +02:00
Fang
27e35e392d
Minor corrections
2018-09-04 16:49:49 +02:00
Fang
cc98052347
Support sending raw transactions to RPC nodes
2018-09-04 16:42:27 +02:00
Fang
0f4069e6dc
Implement Ethereum transaction signing
...
Includes RLP encoding logic.
2018-09-04 15:11:50 +02:00
Fang
b2365dbd4b
Remove nonstandard 27 minimum value from ecdsa signature v
...
Ethereum uses 27/28 (superseded) or 35/36 for the v value. Other use
cases may want the recovery value directly. This makes it produce 0/1.
2018-09-04 14:59:35 +02:00
Ted Blackman
c0c00de7e9
Fix %reef handling more. Now uses the right part of the arvo core
2018-09-02 03:48:40 -07:00
Ted Blackman
60fcfc467e
fix ford %reef dependency tracking
2018-08-30 16:06:27 -07:00
Fang
15ee6ba31d
Merge pull request #795 from urbit/jael-continuity
...
Constitution + jael updates
2018-08-30 02:44:05 +02:00
Fang
37e0933c7f
Misc. jael notes and improvements
2018-08-30 02:06:20 +02:00
Fang
e752a706b2
Add %meet task to jael for indicating era connectivity
2018-08-30 02:05:34 +02:00
Fang
c5c4d0f65f
Include continuity flag in relative public key state
2018-08-30 02:02:17 +02:00
Fang
2d04795fd9
Update constitution and jael logic to work with latest contracts
2018-08-30 01:58:47 +02:00
Fang
737b1d8ba1
Merge pull request #787 from urbit/crypto-additions
...
Includes in zuse:
* little-endian wrappers for the SHA and HMAC families,
* secp256k implementation,
* Blake2b implementation,
* Argon2 implementation,
And adds libraries for:
* BIP32 HD wallets,
* keygen, to match [keygen-js](/urbit/keygen-js).
2018-08-29 18:27:51 +02:00
Joe Bryan
f9ed9bf02f
Merge pull request #789 from urbit/ames-eth-boot
...
cleans up %ames and %jael in anticipation of greater ethereum integration
2018-08-28 15:16:54 -07:00
Joe Bryan
ad4e7dd7d1
Merge pull request #755 from urbit/rmariani-patch-1
...
removes dead +mz:nl, updates +bif syntax
2018-08-28 14:01:24 -07:00
rmariani
f5de7a8bd8
Fixed commentary in +ff ( #781 )
...
A comment incorrectly indicated that `w` was a face for two different terms in the same arm.
2018-08-28 13:48:11 -07:00
rmariani
ea84114a0b
removes dead +mz:nl, updates +bif syntax
...
`+mz:nl` was determined by ~sorreg to be dead code, and there doesn't seem to be any possible `a` that will nest in the current code.
Also, `+bif:in` and `+bif:by` had the weird syntactical construct of `=< [+< +>]`. I simplified it to the more straightforward `=< +`.
2018-08-28 13:44:42 -07:00
Joshua Reagan
01ac311fac
crash ++ rad
when arg of 0
is used ( #766 )
...
* crash `++ rad` when arg of `0` is used
2018-08-28 13:37:16 -07:00
Elliot Glaysher
097b64b751
Remove turbo, which seems to have resurrected itself in a merge.
2018-08-28 11:44:37 -07:00
Elliot Glaysher
e3e5ae6d30
Merge pull request #783 from urbit/ford-turbo-clock
...
Improvements to +clock / +capped-queue
2018-08-28 10:11:03 -07:00
Fang
67be11499b
Merge branch 'release-candidate' into crypto-additions
2018-08-28 16:35:53 +02:00
Fang
81c36e3a86
Restore trailing whitespace for merge
2018-08-28 16:31:43 +02:00
Fang
6d01b1d0c4
Merge branch 'keygen' into crypto-additions
2018-08-28 12:29:47 +02:00
Joe Bryan
4d22f348e3
XX REMOVE sets contract address to match truffle/ganache testnet
2018-08-27 16:36:27 -07:00
Joe Bryan
f35202a9fa
updates %jael to encode aut/net keys and use +pass everywhere
2018-08-27 16:36:16 -07:00
Joe Bryan
aaa56092e3
disables (obsolete?) %jael assertion that the first hull-dill be %full
2018-08-27 16:36:04 -07:00
Joe Bryan
f67d48970f
simplifies +acru interface, updates +crub and call-sites
2018-08-27 16:35:43 -07:00
Joe Bryan
4567fddb5f
removes deprecated +crua, updates %eyre and lib/hood/write to use +crub
2018-08-27 16:35:37 -07:00
Joe Bryan
c7268d20b9
slog %mack tanks in %gall on bad ack
2018-08-27 16:35:23 -07:00
Joe Bryan
26109c4a72
slog %crud tanks in %dill when we don't have a duct
2018-08-27 16:35:06 -07:00
Joe Bryan
bf966691fa
restores white-listed moves lost in the merge
2018-08-27 16:23:41 -07:00
Joe Bryan
50782bd1c9
Merge branch 'research-constitution' into release-candidate
...
* research-constitution: (120 commits)
removes obsolete doccords-style comments
Revert "fixy uno~by, other vor-based code duplication"
Implement argon2.
Use face over lark when available.
Implement blake2b.
Use ++rep over ++can when we can
Use ++rev over ++swp, for safety.
Clean up base58 en/decoding
Rename secp point serialization arms
Add HMAC-SHA1
Put +=byts to use
Restructure and complete BIP32 core
Fix bug in RIPEMD-160 implementation.
BIP32 key derivation logic. Messy, in dire need of restructuring.
Fix bug in HMAC implementation.
SHA-1 re-implementation, can account for leading zeroes.
Converting points on curve to un/compressed numbers.
RIPEMD-160 implementation.
Start work on BIP32 support. Library file includes wrappers for the SHA family to make it take and produce sane byte order data, and a new HMAC implementation that depends on it. Also includes @belisarius222's secp256k1 implementation, plus experimental (and broken) support for other secp variants.
Add ++rev to bit arithmetic, for reversing block order while accounting for leading zeroes.
...
2018-08-27 15:48:13 -07:00