Commit Graph

935 Commits

Author SHA1 Message Date
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
Joe Bryan
a6f3c2f5f9 removes obsolete doccords-style comments 2018-08-27 15:33:32 -07:00
Elliot Glaysher
e1ee2b211e +capped-queue is also general. Move to zuse and add tests. 2018-08-27 15:25:33 -07:00
Joe Bryan
aa3f43c00d Revert "fixy uno~by, other vor-based code duplication"
This reverts commit d5d8715b3c.
2018-08-27 14:56:45 -07:00
Elliot Glaysher
7f623772ac The +clock structure is general, put it in zuse and add tess. 2018-08-27 14:51:42 -07:00
Elliot Glaysher
6e127dbea7 Don't cache live builds until canceled. 2018-08-24 15:12:29 -07:00
Elliot Glaysher
0286254b69 Merge branch 'ford-turbo' of github.com:urbit/arvo into ford-turbo 2018-08-23 15:15:50 -07:00
Ted Blackman
a4e764a1a1 ford %call actually fail on error 2018-08-23 15:03:36 -07:00
Elliot Glaysher
88abe302d2 Merge remote-tracking branch 'origin/ford-turbo' into ford-turbo 2018-08-23 10:39:40 -07:00
Ted Blackman
f297565260 minor doc improvement 2018-08-22 22:36:27 -07:00
Ted Blackman
df21c0363c Add /* ford rune 2018-08-22 17:53:56 -07:00
Elliot Glaysher
a467bc3870 Add debugging stuff to ford to try to catch non-existent build error. 2018-08-22 16:35:22 -07:00
Elliot Glaysher
32ff2c1847 Marginally better error reporting in %cast. 2018-08-22 13:09:29 -07:00
Ted Blackman
551ab7046c %ct request all filepaths with prefix 2018-08-22 12:57:43 -07:00
Elliot Glaysher
32088aeb01 Merge remote-tracking branch 'origin/ford-turbo' into ford-turbo 2018-08-21 16:34:24 -07:00
Ted Blackman
eca688384c +wipe docs 2018-08-21 15:36:16 -07:00
Elliot Glaysher
86fa41cb54 Add debugging output for when a clay ford build fails. 2018-08-21 15:30:04 -07:00
Joe Bryan
3c4e8d87b6 fixes %ford to support %walk where source and target marks are the same 2018-08-21 15:29:08 -07:00
Ted Blackman
659c64e542 docs for +per-event 2018-08-21 15:08:48 -07:00