mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Merge branch 'update-mining-faq'
* update-mining-faq: Use indentation for command Add instructions to get Slack invite. Break out directory links Remove unnecessary ` Conform to existing FAQ structure FAQ update FAQ
This commit is contained in:
commit
c9f68f73f5
10 changed files with 44 additions and 5 deletions
|
@ -2,7 +2,15 @@
|
|||
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.
|
||||
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:
|
||||
|
||||
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 [].
|
||||
|
||||
See Also: [important directories](https://lbry.io/faq/lbry-directories).
|
||||
|
||||
Note: the lbry api can only be used while either the app or lbrynet-daemon command line are running
|
||||
|
||||
|
|
|
@ -10,4 +10,4 @@ Once set with the UI flag, the given UI will be cached by lbry and used as the d
|
|||
|
||||
To reset your ui to pull from lbryio, or to try a UI still in development, run lbry with the `--branch` flag:
|
||||
|
||||
lbrynet=daemon --branch=master
|
||||
lbrynet-daemon --branch=master
|
||||
|
|
7
posts/faq/how-to-backup-wallet.md
Normal file
7
posts/faq/how-to-backup-wallet.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: How do I mine 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.
|
||||
|
||||
See Also: [important directories](https://lbry.io/faq/lbry-directories)
|
5
posts/faq/how-to-check-hashrate.md
Normal file
5
posts/faq/how-to-check-hashrate.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: How do I check my hashrate?
|
||||
---
|
||||
|
||||
You cannot at the present time, but that feature is coming soon (gethashespersec is not implemented for lbrycrd yet).
|
5
posts/faq/how-to-check-mining-balance.md
Normal file
5
posts/faq/how-to-check-mining-balance.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: How do I check my mining balance?
|
||||
---
|
||||
|
||||
You can use `lbrycrd-cli getbalance`, `lbrycrd-cli getinfo`, or `lbrycrd-cli getwalletinfo` for more detailed information. It takes 100 confirmed blocks (roughly a bit over 4 hours) for mined LBC to show up in your confirmed balance, but you can see these credits in your immature balance in getwalletinfo.
|
5
posts/faq/how-to-encrypt-wallet.md
Normal file
5
posts/faq/how-to-encrypt-wallet.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: How do I encrypt my wallet?
|
||||
---
|
||||
|
||||
You can use `lbrycrd-cli encryptwallet <passphrase>` to encrypt your wallet. You can use `lbrycrd-cli walletpassphrase <passphrase> <timeout>` to temporarily unlock the wallet (don't set timeout seconds too low or high).
|
5
posts/faq/how-to-generate-receiving-address.md
Normal file
5
posts/faq/how-to-generate-receiving-address.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: How do I check my LBC address?
|
||||
---
|
||||
|
||||
You can generate a new receiving address by using `lbrycrd-cli getnewaddress`. Sending and receiving functionality will eventually be coming to the LBRY UI.
|
5
posts/faq/how-to-report-bugs.md
Normal file
5
posts/faq/how-to-report-bugs.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: How do I report bugs?
|
||||
---
|
||||
|
||||
Have a technical problem? If you're having an issue with install of the UI/miner, or something involving an invite code, please join the slack at https://lbry.slack.com and in channel #bugs post a SINGLE detailed note with what exactly is going on. If you need an invite to the LBRY slack, you can get one at https://slack.lbry.io. If you can get to the LBRY UI after installing, but can't watch a video or have another problem, please click the three horizontal lines in the top right hand corner of the LBRY UI, click Help, then click the Send Us a Bug Report link.
|
|
@ -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`, `~/.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.
|
||||
|
|
|
@ -19,8 +19,7 @@ LBRY binaries are out for OS X and Ubuntu. Others may try compiling from source.
|
|||
1. `sudo chown -R "$(whoami)" ~/Library/Application\ Support/lbrycrd`
|
||||
1. `echo -e "rpcuser=lbryrpc\nrpcpassword=$(env LC_CTYPE=C LC_ALL=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 16 | xargs)" > ~/Library/Application\ Support/lbrycrd/lbrycrd.conf`
|
||||
1. `./lbrycrdd -server -printtoconsole -gen`
|
||||
1. If you need to start over, run `rm -rf bins.zip lbry* ~/.lbry ~/Library/Application\ Support/lbrycrd`. **Note:** this will delete your
|
||||
wallet and any credits you may have.
|
||||
1. If you need to start over, run `rm -rf bins.zip lbry* ~/.lbry ~/Library/Application\ Support/lbrycrd`. **Note:** this will delete your wallet and any credits you may have.
|
||||
|
||||
## Compiling
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue