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

json-rpc help command returns console formatted rather than json formatted results #45

Open
dasher opened this issue Oct 25, 2012 · 1 comment

Comments

@dasher
Copy link

dasher commented Oct 25, 2012

Calling help via json-rpc returns a result with the output formatted for the command line rather than json formatted.

{ result: 'addmultisigaddress <nrequired> <\'["key","key"]\'> [account]\nbackupwallet <destination>\ndumpprivkey <litecoinaddress>\nencryptwallet <passphrase>\ngetaccount <litecoinaddress>\ngetaccountaddress <account>\ngetaddressesbyaccount <account>\ngetbalance [account] [minconf=1]\ngetblock <hash> [decompositions]\ngetblockcount\ngetblockhash <index>\ngetconnectioncount\ngetdifficulty\ngetgenerate\ngethashespersec\ngetinfo\ngetmemorypool [data]\ngetmininginfo\ngetnetworkhashps [blocks]\ngetnewaddress [account]\ngetpeerinfo\ngetrawmempool\ngetreceivedbyaccount <account> [minconf=1]\ngetreceivedbyaddress <litecoinaddress> [minconf=1]\ngettransaction <txid> [decompositions]\ngetwork [data]\ngetworkex [data, coinbase]\nhelp [command]\nimportprivkey <litecoinprivkey> [label]\nkeypoolrefill\nlistaccounts [minconf=1]\nlistreceivedbyaccount [minconf=1] [includeempty=false]\nlistreceivedbyaddress [minconf=1] [includeempty=false]\nlistsinceblock [blockhash] [target-confirmations]\nlisttransactions [account] [count=10] [from=0]\nmove <fromaccount> <toaccount> <amount> [minconf=1] [comment]\nsendfrom <fromaccount> <tolitecoinaddress> <amount> [minconf=1] [comment] [comment-to]\nsendmany <fromaccount> {address:amount,...} [minconf=1] [comment]\nsendrawtx <hex string>\nsendtoaddress <litecoinaddress> <amount> [comment] [comment-to]\nsetaccount <litecoinaddress> <account>\nsetgenerate <generate> [genproclimit]\nsetmininput <amount>\nsettxfee <amount>\nsignmessage <litecoinaddress> <message>\nstop\nvalidateaddress <litecoinaddress>\nverifymessage <litecoinaddress> <signature> <message>', error: null, id: 1351164023093 }

@dasher
Copy link
Author

dasher commented Oct 25, 2012

Posted the issue on the official repo also :)

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

1 participant