Overview
edited 5/30/19
A high priority TODO is migrating the RPCs to HTTP to allow for more flexibility. This should be fairly straight forward to accomplish since most of the code has already been written and just needs to be adapted to using the HTTP resources instead of the RPC resources.
Proposal
Additional Endpoints to be added:
| RPC |
HTTP |
getnameinfo |
GET /name/:name |
getnamebyhash |
GET /name/hash/:hash |
getnameresource |
GET /resource/name/:name |
getnameresourcebyhash |
GET /resource/hash/:hash |
getnameproof |
GET /proof/name/:name |
gtetnameproofbyhash |
GET /proof/hash/:hash |
grindname |
GET /grind?size=int |
sendrawclaim already is implemented as POST /claim
This work has been started here:
Previous Issues mentioning this include #12, #126
Overview
edited 5/30/19
A high priority TODO is migrating the RPCs to HTTP to allow for more flexibility. This should be fairly straight forward to accomplish since most of the code has already been written and just needs to be adapted to using the HTTP resources instead of the RPC resources.
Proposal
Additional Endpoints to be added:
getnameinfoGET /name/:namegetnamebyhashGET /name/hash/:hashgetnameresourceGET /resource/name/:namegetnameresourcebyhashGET /resource/hash/:hashgetnameproofGET /proof/name/:namegtetnameproofbyhashGET /proof/hash/:hashgrindnameGET /grind?size=intsendrawclaimalready is implemented asPOST /claimThis work has been started here:
Previous Issues mentioning this include #12, #126