bigearth / spec.consortium.cash

Bitcoin Cash v1.0 RPC Spec draft
MIT License
1 stars 1 forks source link

rpc spec 1.0 missing some commands #11

Open jcramer opened 6 years ago

jcramer commented 6 years ago

Is there a reason why there are RPC commands missing from the Bitcoin Cash 1.0 RPC specification? Like under "Wallet" category the commands "getbalance" and "listunspent" are not shown, and probably more.

I happen to notice this while I was using this website as a handy reference for bitcoin-cli.

kenman345 commented 6 years ago

I do not see those RPCs listed inside https://github.com/bitcoincashorg/bitcoincash.org/blob/master/spec/JSON-RPC.md

The spec I believe is growing and being updated frequently. I am sure @cgcardona may be able to help get it added to the spec and to the site.

cgcardona commented 6 years ago

When I fired up nodes for all of the multiple clients I had the following in my ~/.bitcoin/bitcoin.conf

# [wallet]
# Do not load the wallet and disable wallet RPC calls.
disablewallet=1

It didn't build the wallet so I didn't have the RPC calls when I put together the spec doc and the bitcoincash.org JSON-RPC.md doc.

I'm intending to rebuild these clients w/ the wallet when I have a moment.

If you are able to create a PR I can merge that as well.

jcramer commented 6 years ago

Here is the list of RPC commands for BitcoinUnlimited: client.cpp

See vRPCConvertParams[] variable with long list.

dgenr8 commented 6 years ago

fundrawtransaction is a useful non-wallet API that is missing.