yosoyubik
2e9d412c21
azimuth-rpc: remove aggregator-related rpc code
2021-07-13 15:21:24 +02:00
Fang
38e4e06e0b
json-rpc: support batch requests
...
Because this updates +validate-request, we must update azimuth-rpc
to match.
Naming of $batch-requests is admittedly a bit questionable...
2021-07-07 17:29:12 +02:00
yosoyubik
8ada986f78
naive: support camel case rpc method name
2021-07-01 14:34:24 +02:00
yosoyubik
b14b7d131e
naive: add rpc for retrieving roller configuration data
2021-06-29 07:45:44 +02:00
yosoyubik
af295b2f5e
naive: add get-dns to azimuth-rpc
2021-06-28 13:01:04 +02:00
yosoyubik
5eb07edde5
naive: add ownership index to /app/azimuth
2021-06-28 07:26:47 +02:00
yosoyubik
d03d710796
naive: add index of points by ethereum address
2021-06-24 16:54:23 +02:00
yosoyubik
2c2c7db981
naive: get point data from aggregator
2021-06-22 15:00:24 +02:00
yosoyubik
c715ef59fd
naive: add cancel pending transaction
2021-06-21 11:27:36 +02:00
yosoyubik
845a2d1c1b
naive: add l2 tx history by ethereum address
2021-06-16 17:03:21 +02:00
yosoyubik
0573232726
naive: add %noncefrom ship/proxy to rpc-api
2021-06-14 14:18:57 +02:00
yosoyubik
749f8e93f9
naive: add when %next-batch to rpc-api
2021-06-09 15:59:04 +02:00
yosoyubik
bac79bf55d
naive: add get-spawned to rpc-api
2021-06-04 11:41:59 +02:00
yosoyubik
937cc2ce44
naive: add aggregator sur
2021-05-21 15:07:08 +02:00
yosoyubik
30bd648d7f
json-rpc: move error response core to lib
2021-05-21 13:39:06 +02:00
yosoyubik
8532ef4bb0
naive: remove [] around function calls in scry paths
2021-05-21 13:00:45 +02:00
yosoyubik
ce35d07adb
naive: remove redundant brackets
2021-05-21 12:34:29 +02:00
yosoyubik
f6adf083ad
naive: use /v1/azimuth in rcp-api
2021-05-21 12:28:54 +02:00
yosoyubik
152cf894ff
naive: hook rpc-api with aggregator
2021-05-17 17:49:41 +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
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
fe8c36dd3f
naive: use agentio for scry point
2021-05-14 07:24:27 +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
yosoyubik
afd3c9b85e
naive: add azimuth rpc api
...
Currently supports one endpoint 'get-point' that returns Azimuth Point
data (see +point in %/lib/naive.hoon), for a given ship.
To run it:
curl -X POST --data '{
"jsonrpc": "2.0",
"method": "get-point",
"params": {"ship": "~sampel-palnet"},
"id": 1234
}' http://localhost:8080/v1/azimuth
2021-05-14 07:23:59 +02:00