Commit Graph

9603 Commits

Author SHA1 Message Date
Jared Tobin
e1fe53ae54
Fix =/ indentation. 2019-03-20 10:10:07 +13:00
Jared Tobin
c65f882408
Minor cosmetic changes.
Indent lengthy subexpressions after using =/.
2019-03-20 09:44:44 +13:00
Jared Tobin
fdb9d0f58d
Replace =+ with =/.
I believe =/ is the superior choice and is worth standardising on.
2019-03-20 09:43:20 +13:00
Jared Tobin
ac313d0f71
Add additional tests for +ob.
Added a few previously-known-to-conflict cases to tests that were
missing them.
2019-03-19 20:00:57 +13:00
Jared Tobin
fbfc520f95
Add additional documentation for +ob. 2019-03-19 19:50:58 +13:00
Jared Tobin
0e97c1b92b
Use hex values for cipher arguments. 2019-03-19 19:49:58 +13:00
Jared Tobin
3beac031e6
Minor doc fix.
(The cipher's domain was documented incorrectly.)
2019-03-19 19:49:05 +13:00
Jared Tobin
dd89670846
Add a small exhaustive test for +ob.
We can test +ob exhaustively over a smaller input space; if it behaves
correctly, that gives us much greater assurance that the implementation
is correct for the full planet space.
2019-03-18 21:52:58 +13:00
Jared Tobin
89748fa179
Allow general PRFs in +ob functions.
This allows us to test the +ob functions exhaustively on smaller input
spaces.
2019-03-18 21:52:58 +13:00
Jared Tobin
6f2e067d67
Add +ob and @p aura tests. 2019-03-18 21:52:54 +13:00
Jared Tobin
758e3e2232
Replace +ob with a corrected version.
'ob', a core that implemented a permutation cipher for planet-sized
atoms, contained a critical bug that allowed multiple inputs to encipher
to the same output.  This created collisions between some planet-sized
@p values.

The rewritten version corrects this bug, and also rewrites +ob to more
clearly match both 1) the paper that the algorithm comes from, and 2)
the parallel implementation in urbit-ob that has gone through an
exhaustive test.

This also adjusts two calls to 'ob' elsewhere in hoon.hoon such that
they match the updated core.
2019-03-18 20:35:20 +13:00
ixv
2c73fb9793
Merge pull request #1101 from urbit/next
Merge next into master
2019-03-07 13:27:24 -08:00
Isaac Visintainer
8677a4e779 bumped ames protocol number 2019-03-07 12:42:31 -08:00
Isaac Visintainer
9d73739765 Merge branch 'hotfix' into next 2019-03-07 11:46:00 -08:00
Anthony Arroyo
dbc9be4243 landscape 3f83c798bd61b7e6cef5c4e2f7c7f3ac89d4ec09 2019-03-07 11:40:30 -08:00
Philip Monk
c5e6547894
Merge pull request #1074 from urbit/philip/pin-local
pin to local time because using local desk
2019-03-06 17:41:41 -08:00
Fang
b3e4604255
Merge pull request #1092 from urbit/eth-rpc-blockbynumber
Support eth_getBlockByNumber Ethereum RPC call
2019-03-05 01:10:21 +01:00
ixv
4a66b93773
Merge pull request #1094 from urbit/remove-json-hard
removed hard calls on json blobs
2019-03-04 16:01:21 -08:00
Isaac Visintainer
95a255d032 removed hard calls on json blobs 2019-03-04 14:39:52 -08:00
Fang
bcdd6e60d6 Support eth_getBlockByNumber Ethereum RPC call 2019-03-04 22:32:47 +01:00
Fang
7542084ee7
Merge pull request #1087 from urbit/da-from-unix-time
Implement +from-unix for turning Unix timestamps into @da
2019-03-03 21:37:37 +01:00
jfranklin9000
34c69c300f added initial image support to udon parser (#1085) 2019-03-01 18:41:12 -08:00
Logan Allen
efc1873b77
Tiebout - Apple Push Notification Server App (#1084)
* App for sending Apple Push Notifications

* First pass at Hall subscription logic

* Tiebout app works end to end, can receive actions via Eyre, and can resubscribe to circles

* style changes for tiebout
2019-03-01 10:37:16 -08:00
Fang
436eeeb32b Implement +from-unix for turning timestamps into @da 2019-02-28 21:22:38 +01:00
benjamin-tlon
d06693dc7e
Add support to lens-command for pill output and optimized base64 encoding. (#1068)
Added support to `lens-command` for outputting a pill. We want this so that we can create (solid and brass) pills from `urb.py`.

This also adds an optimized base64 encoding routine. The previous version of base64 stack overflowed on large inputs, and a tail-recursive version took hours to encode 5mb of data. This one uses the `ripn` jet and only takes a second or two.
2019-02-27 16:12:59 -08:00
Fang
00f3c09e5a
Merge pull request #1083 from urbit/eth-rpc-topics-fix
Point to the correct topics when decoding Azimuth events
2019-02-26 22:42:14 +01:00
Fang
9b0fbb3444 Point to the correct topics when decoding Azimuth events 2019-02-26 21:48:24 +01:00
Fang
8afb61786b
Merge pull request #1081 from urbit/eth-watcher
Implement %eth-watcher, an app for tracking Ethereum events
2019-02-26 11:11:14 +01:00
Fang
3ebf874896 Add trailing newlines 2019-02-25 20:33:16 +01:00
Fang
a1d990735d Use unit to disambiguate poll timer state 2019-02-25 20:26:59 +01:00
Fang
717d148ac7 Lightly re-order ++watcher core, add comments 2019-02-25 19:47:39 +01:00
Fang
d876750c58 Implement ++peek so the app can by scried 2019-02-25 19:43:48 +01:00
Fang
d0801660dc Remove debug pokes 2019-02-22 21:24:49 +01:00
Fang
a7ecb972e8 Implement %eth-watcher, an app for tracking Ethereum events
Poke with [%watch %sometag config:eth-watcher] to initialize,
then subscribe at /sometag to receive updates in the shape of
[%snap snapshot:eth-watcher] for initial and on-reorg logs,
[%logs loglist] for logs as they happen.
2019-02-22 17:43:37 +01:00
Fang
04d2117dcd
Merge pull request #1079 from urbit/eth-rpc-topics
More accurately represent Ethereum RPC filter topics
2019-02-22 14:07:56 +01:00
Philip Monk
838c9f5a1e
Merge pull request #1080 from urbit/philip/control-flow-verb
add control flow to |verb
2019-02-21 21:24:46 -08:00
Philip Monk
83c394ac49
add control flow to |verb 2019-02-21 15:58:21 -08:00
Fang
16c5bf8b25 Be accurate in incoming/hoon-side structures also 2019-02-21 22:28:57 +01:00
Fang
2ea2245f97 More accurately represent Ethereum RPC filter topics
Rather than a flat list of topics to watch for, it is an indexed list
of topics to watch for in those specific positions. As such, items in
that list may also be zero (null, matches any topic), or a list of
topics (matches any one of those topics).

Additionally, topics are always specified using 32 bytes, so there is
no need to specify length explicitly.
2019-02-21 13:26:23 +01:00
Philip Monk
ffedb36721
also pin validate-x to now 2019-02-16 22:10:45 -08:00
Philip Monk
f873bcdf91
pin to local time because using local desk 2019-02-16 21:33:48 -08:00
Joe Bryan
095a45fba3
Merge pull request #1073 from urbit/hotfix
release ames timer hotfix
2019-02-16 21:49:16 -05:00
Philip Monk
09995cd924
Merge pull request #1072 from urbit/philip/flop-ames-timers
add |bonk and flop ames timer order
2019-02-16 11:49:41 -08:00
Philip Monk
3e29612bf6
add |bonk and flop ames timer order 2019-02-16 10:42:09 -08:00
ixv
b50928abf1
Merge pull request #1069 from urbit/next
Merge next into master
2019-02-14 13:42:20 -08:00
Isaac Visintainer
043b965828 [CI] bump pinned vere commit 2019-02-14 13:13:22 -08:00
Isaac Visintainer
664a819f15 bump ames protocol number to 1 2019-02-14 13:08:57 -08:00
Ted Blackman
ee79b23add
behn even dumber (#1066) 2019-02-11 15:34:08 -08:00
Philip Monk
a74f750dd9
Merge pull request #1064 from urbit/philip/behn
Don't fire timer in the middle of another event and take one timer at a time
2019-02-09 13:59:51 -08:00
pilfer-pandex
daa875f330
Merge pull request #1063 from urbit/dojo-first
Make a new ship launch into dojo
2019-02-09 10:58:12 -08:00