Skip to content

Commit

Permalink
reviewed all FAQs and How-To's. Made MathJax local
Browse files Browse the repository at this point in the history
  • Loading branch information
Oink70 committed Feb 26, 2020
1 parent c8bff28 commit cdb3604
Show file tree
Hide file tree
Showing 337 changed files with 22,987 additions and 171 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"title": "Verus Coin Wiki",
"additionalFooterText": "© 2020 The Verus Foundation"
"additionalFooterText": "© 2020 The Verus Foundation "
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,21 @@

# Question: I'm mining since XYZ with XYZ, why I haven't found a block yet?

average_time_to_find_one_block = ( NetworkHashrate / LocalHashrate ) * BlockTime
$$ Average Time To Find One Block = ( \frac{NetworkHashrate}{LocalHashrate} ) * BlockTime $$

One block = 24 coins (as now)
NetworkHashrate = retrieved by `getmininginfo` command from </>CLI
LocalHashrate = retrieved by `getmininginfo` command
BlockTime = 60 seconds (average)

$$ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} $$

$$ average_time_to_find_one_block = ( \frac{NetworkHashrate}{LocalHashrate} ) * 60 $$

Real example with - 24 threads Intel Skylake 2.0Ghz -

$$ average_time_to_find_one_block = ( 12527490696 / 9983712 ) * 60 $$
$$ average_time_to_find_one_block = 75.287 seconds (20,91 hours) $$
$$ Average Time To Find One Block = ( \frac{12527490696}{9983712} ) * 60 $$
$$ Average Time To Find One Block = 75.287 seconds (20,91 hours) $$

bear in mind that these are average times to find a block. In real life you may hit a block much sooner or later after finding the last. In the long run it averages out to the values predicted.

(submitted by @TexWiller, edited by Oink.vrsc@)

note: last revision date 2020-02-25.
note: last revision date 2020-02-26
Original file line number Diff line number Diff line change
@@ -1,33 +1,49 @@

# Question: How do I direct all my mined rewards to a single Verus wallet?
# Question: How do I direct all my solo mined rewards to a single Verus wallet?

Attention: Read it completely before using.

IN AGAMA GUI
## Verus `Wallet.dat`, Chaindata & `VRSC.conf` standard locations
Linux: `~/.Komodo/VRSC`
Mac OS: `~/Library/Application Support/Komodo/VRSC`
Windows 10: `%AppData%\Roaming\Komodo\VRSC\`

## Prerequisites
* Have a __native__ VRSC wallet running

## In Verus Desktop
In Verus Desktop, there is at this moment no way to enter an address to mine to. However, editing the `VRSC.conf` can be done to achive our goal:
* In the receive window of your wallet, click the hamburger (three vertical dots) next to the address you want to receive your rewards in and click `Copy Public Key`.
* Close down Verus Desktop.
* Edit `VRSC.conf`(see standard locations at the top) and add the line `pubkey=THELONGSTRINGCOPIED`.
* Save and exit.
* Start Verus Desktop as you normally do.

## In Agama Wallet
Step 1 - First get your wallet address you want to mine to:
- If you don't have an address, click "Receive", click "Get New Address" and choose "Transparent Address" from the drop down.
-
* If you don't have an address, click "Receive", click "Get New Address" and choose "Transparent Address" from the drop down.

Step 2 - Next we need to retrieve our pubkey,
- go to "settings" and click on "<CLI>".
- In the <CLI> section, click on "Select Native Coin" for a dropdown list and select "VRSC native".
- Below "Type CLI compatible command", enter "validateaddress " and paste the address you copied.
- Click on "Execute"
- From the output find the long string after "pubkey", copy without the quotation marks.
* click on the hamburg next to the address that you want to receive the rewards in and click `copy pubkey`

Step 3 - Set your PubKey
- Go to 'Settings', 'App Config (config.json)' and enter your pubkey(THELONGSTRINGCOPIED) into the 'Pubkey VRSC mining key' field.
- Click 'Save app config' to save these settings.
* Go to 'Settings', 'App Config (config.json)' and enter your pubkey(THELONGSTRINGCOPIED) into the 'Pubkey VRSC mining key' field.
* Click 'Save app config' to save these settings.
* Restart Agama

IN VERUS-CLI
## In Verus CLI
Step 1 - First get your wallet address you want to mine to:
You can find an address if you already have previous transactions, or you can create a new one. To find an address from a previous transaction, use the command line verus listtransactions and copy the address found after "address".
To generate a new wallet address, use the command line verus "getnewaddress" and a new address will be created.
To generate a new wallet address, use the command line `verus getnewaddress` and a new address will be created.

Step 2 - Next, using your new address, enter the command with verus-cli verus validateaddress. From the output find the long string after "pubkey", copy without the quotation marks.
Step 2 - Next, using your new address, enter the command with verus-cli `verus validateaddress`. From the output find the long string after "pubkey", copy without the quotation marks.

Step 3 - Set your PubKey
Last, use this pubkey when starting your daemon by adding the following line to the end of your command, just before the "&" sign: -pubkey=THELONGSTRINGCOPIED
* Option 1: use this pubkey when starting your daemon by adding the following line to the end of your command, just before the "&" sign: -pubkey=THELONGSTRINGCOPIED
* Option 2: edit your `VRSC.conf` and add the line `pubkey=THELONGSTRINGCOPIED`. Then start your whallet as you are used to.

Your rewards will now be mined to that address. It would be a good idea to keep notes and associate the wallet address with the pubkey...also to double check that you did validate the correct pubkey for the wallet address, making sure you made no errors.

(submitted by @Oliver Westbrook, edited by Oink.vrsc@)

note: last revision date 2020-02-24.
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
# Question: How to consolidate multiple `wallet.dat` files in one?

Attention: Read it completely before using.

### Verus `Wallet.dat`, Chaindata & `VRSC.conf` standard locations
Linux: `~/.Komodo/VRSC`
Mac OS: `~/Library/Application Support/Komodo/VRSC`
Windows 10: `%AppData%\Roaming\Komodo\VRSC\`

## Procedure

1) Edit the VRSC.conf file on each instance you have, adding the following line: exportdir=/LOCAL_PATH/ (ie /home/user/)
2) Restart your wallet
3) Issue the following command: `z_exportwallet FILENAME` (ie z_exportwallet export_instance01, the filename cannot have a `.` in it.)
4) Copy the generated file to the machine who host your main wallet
5) Issue the following command (on the "main" verus-cli): `z_importwallet /LOCAL_PATH/FILENAME` (ie /home/user/export_instance01)
1. Edit the `VRSC.conf` file on each instance you have, adding the following line: `exportdir=/LOCAL_PATH/` (ie /home/user/)
2. Restart your wallet
3. Issue the following command: `z_exportwallet FILENAME` (ie z_exportwallet export_instance01, the filename cannot have a `.` in it.)
4. Copy the generated file to the machine who host your main wallet
5. Issue the following command (on the "main" verus-cli): `z_importwallet /LOCAL_PATH/FILENAME` (ie /home/user/export_instance01)

Note: for the location of VRSC.conf in different OS's, please check [Verus Wallet & VRSC.conf standard locations](#24_wallet.dat_and_vrsc.conf_location.md)
note: These commands can be given in
* CLI wallet: `./verus z_exportwallet FILENAME`& `./verus z_importwallet /LOCAL_PATH/FILENAME`
* Verus Desktop in `settings`, `coin settings`: `run z_exportwallet FILENAME`& `run z_importwallet /LOCAL_PATH/FILENAME`
* Verus Agama in `settings`, `<CLI>`: `z_exportwallet FILENAME`& `z_importwallet /LOCAL_PATH/FILENAME`

(submitted by @TexWiller)

note: last revision date 2020-02-24.
2 changes: 2 additions & 0 deletions faq-allos/faq-allos05_reward_received_per_blocknummer.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ Years 5+6: Block 2328480 - 3379679 ==> 6 VRSC reward ==> 6,307,200 VRSC total th
All rewards equal or over 192 VRSC are time locked to mature at a random block between 129,600 and 1,181,520

(submitted by @keda666, edited by Oink.vrsc@)

note: last review date 2020-02-25.
6 changes: 5 additions & 1 deletion faq-allos/faq-allos06_pos,_halving,_block_reward.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ See your own percentage of total coins possible to stake, and pay attention to t
The spreadsheet will also show how many days until the next halvings.
The calculation of timelocked coins being unlocked is based on an average for the entire period, but should be fairly accurate, and is included in the total of staking coins.

(submitted by @Cragorn, edited by Oink.vrsc@)
note: Verus Desktop uses the live info from the blockchain with regards to locked coins, coins in z-addresses, current coinsupply, minimum stake age of UTXOs and staking difficulty to display real-time predictions of your profitability on your staking balance.

(submitted by Cragorn.vrsc@, additions by Oink.vrsc@)

note: last revision date 2020-02-24.
4 changes: 3 additions & 1 deletion faq-allos/faq-allos13_how_does_staking_work.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Example: I have 300 coins in a public/transparent address / 300.000 in public wa
Regarding the Verus debug.log: “<DATE> No eligible staking transaction found“. It means that you are staking but have not received a reward yet. @miketout will change the message soon.

Regarding time locked coins:
The Zcash protocol requires you to send all coins received by mining (on wallet, not pool mining) or staking (reward transactions, also on wallet, not pool staking) once unlocked to a private address and then to a public/transparent address before you can use them either for staking or for making transactions (that’s how you make use of your rewarded coins = coinbase coins). So, once your coins loose their time lock, you can unlock those coins as described in "HOW-TO Shield Verus Coin via the CLI.md". Once you've transferred the coins from your private address back to (one of) your public / transparent address(es) and you’ll automatically start staking.
The Zcash protocol requires you to send all coins received by mining (on wallet, not pool mining) or staking (reward transactions, also on wallet, not pool staking) once unlocked to a private address and then to a public/transparent address before you can use them either for staking or for making transactions (that’s how you make use of your rewarded coins = coinbase coins). So, once your coins loose their time lock, you can unlock those coins as described in ["Shield Verus Coins via Command Line Interface]"(#!how-to/how-to_shield_via_cli.md). Once you've transferred the coins from your private address back to (one of) your public / transparent address(es) and you’ll automatically start staking.

(submitted by @karero, edited by Oink.vrsc@)

note: last revision date 2020-02-25.
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
# Question: How can I tell the difference between staked and mined coins?

## CLI:

You can check this in the VerusExplorer https://explorer.veruscoin.io/
CLI:
1) Check last 10 transactions in the </>CLI. Use `listtransactions`.
2) Copy the blockhash of the received award
3) Add it at the end of https://explorer.veruscoin.io/api/getblock?
(like this: links2 https://explorer.veruscoin.io/api/getblock?hash=9e6fa91356211a554c580c90ec9c2067dd420ff74c7d33481775793f7b0e7f03 – so this one is minted....)
1. Check last 10 transactions in the </>CLI. Use `listtransactions`.
2. Copy the blockhash of the received award
3. Add it at the end of https://explorer.veruscoin.io/api/getblock?

Hint: An example: https://explorer.veruscoin.io/api/getblock?hash=9e6fa91356211a554c580c90ec9c2067dd420ff74c7d33481775793f7b0e7f03 – so this one is minted....

## Verus Desktop:

In Verus Desktop, simply go to your Mining Dashboard and enter into Verus details.
Scroll down to the bottom of the page. It will list the rewards as `mined` or `minted` in green.
The TXIDs that staked the minted rewards are shown in blue.

## Verus Agama:

GUI:
In the GUI you can also click yourself thru to that information.
1) Click on the magnifying glass all the way on the right of the transaction.
2) On the pop-up click on "Open in the VRSC Explorer" bottom left.
3) In the VRSC explorer click on the block hash value (in light blue) – now the block hash is displayed as the title of the box.
4) Click on the info "i" on the right and click on "search": in the result displayed for blocktype 'mined' or 'minted'.(edited)
1. Click on the magnifying glass all the way on the right of the transaction.
2. On the pop-up click on "Open in the VRSC Explorer" bottom left.
3. In the VRSC explorer click on the block hash value (in light blue) – now the block hash is displayed as the title of the box.
4. Click on the info "i" on the right and click on "search": in the result displayed for blocktype 'mined' or 'minted'.(edited)

(submitted by karero, edited by Oink.vrsc@)

Note: last revision date 2020-02-25.
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
# Question: How can I check my immature balance in the Graphic User Interface?

1) In the Agama wallet click on the hamburger menu (the three stripes) on the top right
2) click on Settings
3) click on the last item </> CLI
4) Select VRSC as coin
6) Type the following command: "getwalletinfo"
7) click "Execute"
8) scroll down and find "immature_balance": which will give you the amount of time-locked coins in your wallet.
## Verus Desktop

Verus Desktop shows your immature balance in your wallet dashboard, between the `Transparant Balance` and `Private Balance`
.

## Agama
1. In the Agama wallet click on the hamburger menu (the three stripes) on the top right
2. click on `Settings`
3. click on the item `</> CLI`
4. Select `VRSC` as coin
6. Type the following command: `getwalletinfo`
7. click `Execute`
8. scroll down and find "immature_balance": which will give you the amount of time-locked coins in your wallet.

(submitted by @karero)

Note: last revision date 2020-02-25.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The CLI help shows the command format for Linux and MacOS. On the native windows
* In windows command prompt, substitute the shown `"`-character with the `\"`-characters.
* In windows command prompt, omit the preceding `./`.

Example: In Linux the command:
Note: As an example, in Linux the command:
`./verus z_sendmany my_private_address_without_quotationmarks '[{"address":"my_transparent_address","amount":95.9998}]'`
should be entered on the Windows command prompt as:
`verus z_sendmany my_private_address_without_quotationmarks "[{\"address\":\"my_transparent_address\",\"amount\":95.9998}]"`
Expand All @@ -26,3 +26,5 @@ after a few minutes (operations from private addresses are a bit time consuming)
Note: I am always using the same private address.

(submitted by @karero, based on @dukeleto)

Note: last revision date 2020-02-25.
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Question: ERROR: Your wallet.dat is not matching the blockchain. Please restart the wallet with -reindex param.

It seems you probably trying to move coinbase coins that you must move them through a private address (zaddress) first by shielding your coinbases, which is required by Verus blockchain rules.

To do this, you must:
## Peocedure

1. go to the "Receive" screen and make sure you have a private address (starting with `zs`), if you don't have that create one.
2. Copy the new private address to your clipboard
3. Go to the "Mining" screen, enet Verus and select "Shield Rewards"
3. Go to the "Mining" screen, select Verus and select "Shield Rewards"
4. Leave "All unshielded funds" as the source and paste the new zaddress into the destination
5. Click on "Continue"
6. Wait a while until you have a private balance showing on the Wallet screen
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Question: What should I do if I end up on my own fork because of a network issue or having an old version of the wallet?

Answer:
## Procedure
For Windows GUI or CLI users.
1.) Stop the wallet/mining process by cleanly shutting down the program.
2.) Check [#!../how-to/](HOW-TO Backup, Install or Update and Bootstrap your wallet.md) on how to efficiently rectify the problem.
3.) Do not be dismayed if it seems that your mining rewards suddenly seem to come to a halt. Remember, when you mine to the wrong chain rewards can come in very quickly, but they are worth nothing.
1. Stop the wallet/mining process by cleanly shutting down the program.
2. Follow the procedure in [HOW-TO Backup, Install or Update and Bootstrap your wallet.md](#!how-to/how-to_bootstrap.md) to efficiently rectify the problem.
3. Do not be dismayed if it seems that your mining rewards suddenly seem to come to a halt. Remember, when you mine to the wrong chain rewards can come in very quickly, but they are worth nothing.

(submitted by @jimboscott, Edited by Oink.vrsc@)

Note: last revision date 2020-02-25.
Loading

0 comments on commit cdb3604

Please sign in to comment.