Commit Graph

1083 Commits

Author SHA1 Message Date
Philip Monk
94c2223bf8
naive: style 2021-09-13 14:23:21 -05:00
Philip Monk
4a266d4b9a
naive: resolve todos 2021-08-20 18:02:27 -07:00
Philip Monk
bb3d961ced
naive: fully no-op on logs
+process-spawn uses presence or absence in the ordered map to determine
whether a ship has already been spawned.  Thus, we don't want to add
items to it except during spawn.
2021-08-20 16:49:00 -07:00
Philip Monk
7f7e033004
Revert "Revert "Merge naive/aggregator into poprox/naive-tests""
This reverts commit 2f49dab586.
2021-08-19 16:09:28 -07:00
drbeefsupreme
f0f1f4db9f
Merge branch 'poprox/naive-tests' into philip/naive 2021-08-13 11:15:35 -04:00
drbeefsupreme
cd6ab7a83d
naive: l2 batch maker for tests 2021-08-06 18:18:01 -04:00
Philip Monk
6c278a9b34
naive: cleanup todos 2021-08-05 13:29:16 -04:00
Philip Monk
d89ab8b549
naive: comment 2021-08-03 18:45:52 -04:00
Philip Monk
ede732a58f
naive: allow l2 spawn proxy to reset itself 2021-07-15 21:11:40 -04:00
Philip Monk
dd57a72a4d
naive: sponsorship fixes 2021-07-15 20:02:05 -04:00
Philip Monk
99955ce8d3
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-06-22 09:51:33 -10:00
Philip Monk
72b6e11e43
naive: update for L1 changes 2021-06-22 09:50:22 -10:00
drbeefsupreme
3c2daa06b4
naive: match %configure-keys to skim:tx format 2021-06-10 15:34:42 -04:00
Philip Monk
e14ed392e6
naive: don't crash if we receive extra L1 logs 2021-06-10 09:22:51 -10:00
drbeefsupreme
e7e49bc50c
naive: errant comment 2021-06-04 14:50:51 -04:00
drbeefsupreme
816f5ac38f
Merge branch 'philip/naive' into poprox/naive-tests 2021-05-25 15:06:30 -04:00
drbeefsupreme
1716383beb
naive: split signing from gen-tx-octs 2021-05-25 15:05:39 -04:00
Philip Monk
90b7a77cdf
naive: fix rift handling during reset transfers 2021-05-20 13:46:25 -10:00
Philip Monk
c5b17bdb7a
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-05-20 13:09:53 -10:00
Philip Monk
fef85b1829
naive: make correct sponsor for L2-spawned ships 2021-05-20 13:09:03 -10:00
Philip Monk
000f7ca717
naive: better style 2021-05-20 13:07:52 -10:00
Philip Monk
eb68a42b0d
Merge branch 'philip/naive' of ssh://github.com/urbit/urbit into philip/naive 2021-05-20 12:46:19 -10:00
drbeefsupreme
2b6a795c8b
naive: |^ify gen-tx-octs 2021-05-20 15:55:24 -04:00
drbeefsupreme
189edd2e48
naive: rename gen-tx to gen-tx-octs 2021-05-19 15:57:24 -04:00
drbeefsupreme
6f89b2ddd6
naive: use lib/naive tx form 2021-05-19 15:48:27 -04:00
yosoyubik
9e7cb91398 Merge branch 'yu/azimuth-rpc' into naive/aggregator 2021-05-17 17:50:45 +02:00
yosoyubik
152cf894ff naive: hook rpc-api with aggregator 2021-05-17 17:49:41 +02:00
yosoyubik
154baceb8b Merge branch 'yu/azimuth-rpc' into naive/aggregator 2021-05-14 09:46:36 +02:00
yosoyubik
c5d61b7076 json-rpc: fix result key in rpc response 2021-05-14 07:25:13 +02:00
yosoyubik
8ebb5e2d6c naive: add pending and tx status RPCs 2021-05-14 07:25:09 +02:00
yosoyubik
7ede24c3cc naive: first pass at tx history RPC 2021-05-14 07:25:04 +02:00
yosoyubik
ae8d98c467 naive: add jsonrpc parsing for sending pending rolls 2021-05-14 07:24:59 +02:00
yosoyubik
66d0c7d47b naive: handle malformed data in transfer-point 2021-05-14 07:24:56 +02:00
yosoyubik
c150da0372 naive: validate proxy in from is one of proxy:naive 2021-05-14 07:24:53 +02:00
yosoyubik
00334d582e naive: use +pairs:enjs for point-to-json reponse 2021-05-14 07:24:48 +02:00
yosoyubik
0380d18735 naive: add rpc response error codes 2021-05-14 07:24:43 +02:00
yosoyubik
36cdb9493d naive: add jsonrpc parsing for naive txs 2021-05-14 07:24:35 +02:00
yosoyubik
fe6f189e33 json-rpc: add support for params as map object 2021-05-14 07:24:35 +02:00
yosoyubik
843fe4ce38 json-rpc: add validation for json-rpc request 2021-05-14 07:24:27 +02:00
yosoyubik
d8a24d7d6b naive: add json library for rpc responses 2021-05-14 07:24:16 +02:00
yosoyubik
0c704bb145 json-rpc: add response-to-json 2021-05-14 07:24:16 +02:00
Philip Monk
958b68f63b
naive: comments 2021-05-13 06:58:37 -10:00
fang
9b62454bca
naive: wip aggregator
Includes logic for the core flow, but isn't fully hooked up to outside
sources/events yet. Probably doesn't compile. Plenty of TODOs remaining.
2021-05-13 17:21:35 +02:00
drbeefsupreme
49fdf0a496
naive: fix key changing tests 2021-05-11 17:33:57 -04:00
drbeefsupreme
de5a907300
naive: factor out l2 transaction firing into lib
Moved everything related to generating layer 2 transactions, including
verification, into their own library. This ought to be shared between
the aggregator and tests
2021-05-11 16:47:33 -04:00
fang
1678d45876
naive: emit effects for processed txs
As a transaction receipt of sort, to inform of transaction success or
failure.
2021-05-06 00:16:49 +02:00
Philip Monk
27949c5d8a
naive: fix +tx 2021-04-28 22:04:11 -07:00
Philip Monk
75eeef544e
naive: store crypto suite number in state
We now store the raw crypto suite number, authentication key, and
encryption key.  App/azimuth converts this to a `pass` for jael's
benefit.
2021-04-28 20:51:43 -07:00
Philip Monk
b1091d0e98
Merge remote-tracking branch 'origin/master' into philip/naive 2021-04-28 20:30:07 -07:00
Philip Monk
3869e01556
naive: infer ships from 'from'
For all except spawn, we can infer one of the ship arguments to be the
"from" ship.  This reduces repetition in the batches, which shortens txs
by 4 bytes each (except spawn), and eliminates the need to assert the
same ship is used in both places.
2021-04-28 19:55:57 -07:00