Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nakamoto-node RPC interface #149

Open
plebhash opened this issue Oct 26, 2023 · 2 comments
Open

nakamoto-node RPC interface #149

plebhash opened this issue Oct 26, 2023 · 2 comments

Comments

@plebhash
Copy link

plebhash commented Oct 26, 2023

taking the discussion from #148 (comment) to a more appropriate place

if we look at the Core RPC API, which RPCs would nakamoto-node be able to expose (at least from a theoretical perspective)?

@cloudhead
Copy link
Owner

You could expose some of that stuff potentially, eg. block headers or hashes, but nakamoto doesn't keep a full mempool and doesn't validate every tx. The wallet API could be interesting..

I'd be more interested in knowing what the use-case might be; as far as I know, the only use case for running nakamoto standalone on the desktop is for running a desktop wallet, which we have a sketch of in the wallet crate.

@vincenzopalazzo
Copy link
Collaborator

I'd be more interested in knowing what the use-case might be; as far as I know, the only use case for running Nakamoto standalone on the desktop is for running a desktop wallet, which we have a sketch of in the wallet crate.

There is no really use case because you need to use a BIP 157 as an external API, however I have a design on how we can track the status of our transaction, so maybe nakamoto can be the first BIP 157 node with a command line. Also, neutrino is lacking in this ecosystem

Thinking to see if we can use the wallet integration with bdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants