Simplify our API setup, and condenses what was completely separate API's into individual RPCs to reuse code as much as possible within TxPB, and in implementing libraries. Any low-level RPCs that interact with aspects of our custom node directly should be implemented within the NodeAPI. Anything that interacts with external services (file uploads, pubsub) are separate APIs.
Simplify our API setup, and condenses what was completely separate API's into individual RPCs to reuse code as much as possible within TxPB, and in implementing libraries. Any low-level RPCs that interact with aspects of our custom node directly should be implemented within the
NodeAPI
. Anything that interacts with external services (file uploads, pubsub) are separate APIs.Closes https://github.com/RTradeLtd/TxPB/issues/35
Changes
ipfs pin add
equivalent RPC calledPersist
TODO:
~ Comments~ ~ DagAPI (done)~ ~ KeystoreAPI (done)~ ~ NodeAPI (done)~ ~* PubSubAPI (done)~