Merge pull request #13 from lbryio/faq-typos

Fix typos/copy-paste issues
This commit is contained in:
Alex Grin 2016-07-06 22:58:14 -04:00 committed by GitHub
commit eed478d87f
3 changed files with 4 additions and 4 deletions

View file

@ -4,11 +4,11 @@ title: How do I see the list of API functions I can call, and how do I call them
Here is an example script to get the documentation for the various API calls. To use any of the functions displayed, just provide any specified arguments in a dictionary. Many (though not all) of the calls are the same as those for bitcoin core, which are documented [here](https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list).
If for some reason you can't get lbrycrd-cli working to make these calls, make sure you passed -server when starting lbrycrd. If it still doesn't work, you can use this command if running lbrycrd with -server:
If for some reason you can't get lbrycrd-cli working to make these calls, make sure you passed -server when starting lbrycrd. If it still doesn't work, you can use this command:
curl --user USER:PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "COMMAND", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9245/
USER and PASSWORD come from the above instructions and can be found in your lbrycrd.conf file, COMMAND can be any of the supported methods like getbalance or getnewaddress. 9245 is the default port used, but if you chose a custom port for the server, you'll need to use that instead. If the command accepts parameters, they can be passed inside the params array [].
USER and PASSWORD can be found in your lbrycrd.conf file, COMMAND can be any of the supported methods like getbalance or getnewaddress. 9245 is the default port used, but if you chose a custom port for the server, you'll need to use that instead. If the command accepts parameters, they can be passed inside the params array [].
See Also: [important directories](https://lbry.io/faq/lbry-directories).

View file

@ -1,5 +1,5 @@
---
title: How do I mine backup my wallet?
title: How do I backup my wallet?
---
You can use `lbrycrd-cli backupwallet <pathtobackup>` to back up your wallet, or alternatively you can copy the wallet.dat file manually to anywhere you choose.

View file

@ -2,4 +2,4 @@
title: Where are all the behind the scenes files?
---
On linux, the relevant directories are `~/.lbrynet`, `~/.lbrycrd`, and `~/.lbryum`, depending on which wallets you've used. On OS X, the folders of interest are `~/Library/Application Support/LBRY`, `~/Library/Application Support/lbrycrd` `~/.lbrycrd` and `~/.lbryum`, also depending on which wallets you've used.
On linux, the relevant directories are `~/.lbrynet`, `~/.lbrycrd`, and `~/.lbryum`, depending on which wallets you've used. On OS X, the folders of interest are `~/Library/Application Support/LBRY`, `~/Library/Application Support/lbrycrd`, `~/.lbrycrd` and `~/.lbryum`, also depending on which wallets you've used.