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