Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

node: RPC / FFI interface #441

Open
oleganza opened this issue May 14, 2020 · 0 comments
Open

node: RPC / FFI interface #441

oleganza opened this issue May 14, 2020 · 0 comments

Comments

@oleganza
Copy link
Contributor

oleganza commented May 14, 2020

As the node implements the utxo index protocol (#426) and raw p2p protocol, we need a programmatic API to use it from other processes. You can also embed the whole node as a library, but for any other language, it will require an FFI, which would be effectively the same as this RPC API.

Core blockchain functions:

  1. List blocks and transactions
  2. List mempool
  3. List peers
  4. Connect/disconnect peers
  5. Submit transaction

Tx builder:

  1. Add predicate to watch (Index protocol #426)
  2. Add utxo to watch and update utreexo proof
  3. List utxos (can be done with decryption on client-side)
  4. Reserve utxos (requires client to store them w/ decrypted flavor/quantity data)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant