Difference between revisions of "HowTo PoP PHL"

From Veriblock Wiki
Jump to: navigation, search
 
(64 intermediate revisions by 5 users not shown)
Line 1: Line 1:
If you are new to PoP and would like to know more about it please visit this wiki page.
+
See: [[HowTo_PoP_vBTC]], [[Altchain_PoP_Miner]], [[Altchain_List]], [[PoP_PHL_Roadmap]]
  
https://wiki.veriblock.org/index.php/HowTo_run_PoP_Miner
+
'''PHL is currently in the Beta release phase, so bugs are expected.'''
  
The PoP explorer is located here:
+
[[File:PHL-operation-complete.png|320px|thumb|APM Successful Operation]]
  
https://testnet.explore.phl.veriblock.org/
+
[[File:PHL-rewards.png|320px|thumb|PoP Mining Rewards]]
  
The binaries for the files are at the following address:
+
__toc__
  
 +
== Overview ==
 +
 +
See: [[PoP_PHL_Roadmap]]
 +
 +
Placeholders has implemented VeriBlock's Proof-of-Proof technology, which allows users to earn testnet PHL while spending tVBK to secure the Placeholders blockchain.
 +
 +
Note: Currently in the testnet phase, so all coins are for testing purposes only and have no value, prior to mainnet implementation.
 +
 +
== Useful links ==
 +
 +
* Explorer
 +
** PoP tx on VBK explorer: https://testnet.explore.veriblock.org/altchain-details/280297096488703
 +
** Altchain explorer showing PoP Data: http://95.217.65.109:3002/
 +
* Health monitor - https://altchain-health.veriblock.org/PHL
 +
* Altchain vBFI - https://abfi.veriblock.org/280297096488703/ping
 +
* Github - https://github.com/VeriBlock/pop-phl
 +
* Submit issue - https://github.com/VeriBlock/pop-phl/issues
 +
* Discord channel - https://discord.gg/RTrRrRWF2W
 +
 +
== Get_Package ==
 
Windows:
 
Windows:
  
https://mirror.veriblock.org/Placeholders-develop-ab30caf-linux-x64.tar.gz
+
https://mirror.veriblock.org/PLACEH-master-f70cbb2-win64.zip
  
 
Linux:
 
Linux:
  
https://mirror.veriblock.org/Placeholders-develop-ab30caf-win64-qt.zip
+
https://mirror.veriblock.org/PLACEH-master-f70cbb2-linux-x64.zip
 +
 
 +
== Windows Quick Start ==
 +
 
 +
# Download PHL Daemon and APM Package -> [[HowTo_PoP_PHL#Get_Package]]
 +
# You will need to run '''download_testnet_bootstrap. bat''' to download all the blocks.
 +
# Go to /bin folder and run nodecore.bat then wait for sync.
 +
# Start PHL Daemon by double clicking '''start-placeh-qt.bat''' within the Placeholders-develop-<version> folder.
 +
# Wait for Sync.
 +
# Generate a new PHL address clicking on recive and create new address.
 +
# Copy PHL testnet address into the '''application.conf''' file for payout rewards inside the altchain-pop-miner-<version->/bin/ folder..
 +
# Start APM by running '''altchain-pop-miner.bat'''.
 +
# Use VeriBlock testnet faucet at https://testnet-faucet.veriblock.org/ to fund your PoP miner wallet.
 +
 
 +
With the default configuration files provided, PoP mining is auto-enabled on all rounds and rewards should appear after 50 confirmations.
 +
 
 +
=== Run without full node ===
 +
 
 +
To be able to run without full node you must follow the same steps before but on the application.conf file you should disable connectDirectlyTo line , you can do it on linux by adding # at the start of the line.
 +
Will be easier to get started, but may not be as robust as full node. Also if face any issues, use full node instead.
 +
 
 +
<pre>
 +
{ ...
 +
  network: testnet
 +
  feePerByte: 1000
 +
  maxFee: 10000000
 +
  mock: false
 +
  api.port: 8080
 +
# connectDirectlyTo: ["localhost"]
 +
}
 +
securityInheriting {
 +
...
 +
  }
 +
}
 +
</pre>
 +
 
 +
=== Run with full node (more robust) ===
 +
 
 +
To be able to run it with full node you only need to follow the stepps from https://wiki.veriblock.org/index.php/HowTo_PoP_PHL#Windows_Quick_Start .
 +
 
 +
Running it with full node will be more robust and stable but will take some more time to download blocks and sync them.
 +
 
 +
== What it should look like ==
 +
 
 +
You should see PHL rewards from pop mining after about X blocks (about N hours). Your PHL reward address should increase.
 +
 
 +
You should see an end-to-end transaction in APM like so:
 +
 
 +
<pre>
 +
> getoperation phl72701b75
 +
...
 +
Operation workflow:
 +
DONE      1. START                          Created APM operation id: phl72701b75
 +
DONE      2. RETRIEVE_MINING_INSTRUCTION    Endorsed PHL block height: 14010
 +
DONE      3. SUBMIT_ENDORSEMENT_TRANSACTION  tVBK endorsement transaction id: 629BF9393AD7EE4020C5FAD0B6E7F27588AFF2B6EA20BCBE582B78997F4901FA (fee: 0.00252000, fee per byte: 1000)
 +
DONE      4. CONFIRM_ENDORSEMENT_TRANSACTION
 +
DONE      5. DETERMINE_BLOCK_OF_PROOF        tVBK Block of Proof: 0000000AAA198318CEB98030588824875A46A776DE927AB2 @ 2388243
 +
DONE      6. PROVE_ENDORSEMENT_TRANSACTION  Merkle path has been verified
 +
DONE      7. SUBMIT_POP_TRANSACTION          ATV: 5DD7B36A8F3BC0219361EA34AED79207607FD9CAEAB114CF57A24EBC1823E6E1 submitted to PHL!
 +
CURRENT  8. DETECT_PAYOUT                  Waiting for ATV to be mined in a block...
 +
          9. COMPLETED                       
 +
</pre>
 +
 
 +
== Explorer ==
 +
 
 +
=== VeriBlock ===
 +
 
 +
See PHL transactions on VeriBlock network:
 +
 
 +
https://testnet.explore.veriblock.org/altchain-details/280297096488703
 +
 
 +
[[File:Vbk_phl_explorer.png|800px]]
 +
 
 +
=== Altchain ===
 +
 
 +
http://95.217.65.109:3002/
 +
 
 +
[[File:pop_phl_explorer.png|800px]]
 +
 
 +
== GitHub Repository ==
  
As this is a beta, please expect that there will be bugs.
+
https://github.com/VeriBlock/pop-phl
  
 +
== Troubleshooting ==
  
IMPORTANT NOTICE - make sure you are not running this on the same machine as your PHL mainnet since this is only a testnet
+
Please submit issues to:
and could potentially overwrite your wallet and destroy your PHL holdings!!
+
<br>
 +
- GitHub: https://github.com/VeriBlock/pop-phl/issues
 +
<br>
 +
- Discord "#altchain-pop-mining" channel: https://discord.gg/Vsa74dNq48

Latest revision as of 17:10, 24 March 2022

See: HowTo_PoP_vBTC, Altchain_PoP_Miner, Altchain_List, PoP_PHL_Roadmap

PHL is currently in the Beta release phase, so bugs are expected.

APM Successful Operation
PoP Mining Rewards

Overview

See: PoP_PHL_Roadmap

Placeholders has implemented VeriBlock's Proof-of-Proof technology, which allows users to earn testnet PHL while spending tVBK to secure the Placeholders blockchain.

Note: Currently in the testnet phase, so all coins are for testing purposes only and have no value, prior to mainnet implementation.

Useful links

Get_Package

Windows:

https://mirror.veriblock.org/PLACEH-master-f70cbb2-win64.zip

Linux:

https://mirror.veriblock.org/PLACEH-master-f70cbb2-linux-x64.zip

Windows Quick Start

  1. Download PHL Daemon and APM Package -> HowTo_PoP_PHL#Get_Package
  2. You will need to run download_testnet_bootstrap. bat to download all the blocks.
  3. Go to /bin folder and run nodecore.bat then wait for sync.
  4. Start PHL Daemon by double clicking start-placeh-qt.bat within the Placeholders-develop-<version> folder.
  5. Wait for Sync.
  6. Generate a new PHL address clicking on recive and create new address.
  7. Copy PHL testnet address into the application.conf file for payout rewards inside the altchain-pop-miner-<version->/bin/ folder..
  8. Start APM by running altchain-pop-miner.bat.
  9. Use VeriBlock testnet faucet at https://testnet-faucet.veriblock.org/ to fund your PoP miner wallet.

With the default configuration files provided, PoP mining is auto-enabled on all rounds and rewards should appear after 50 confirmations.

Run without full node

To be able to run without full node you must follow the same steps before but on the application.conf file you should disable connectDirectlyTo line , you can do it on linux by adding # at the start of the line. Will be easier to get started, but may not be as robust as full node. Also if face any issues, use full node instead.

{ ...
  network: testnet
  feePerByte: 1000
  maxFee: 10000000
  mock: false
  api.port: 8080
# connectDirectlyTo: ["localhost"]
}
securityInheriting {
...
  }
}

Run with full node (more robust)

To be able to run it with full node you only need to follow the stepps from https://wiki.veriblock.org/index.php/HowTo_PoP_PHL#Windows_Quick_Start .

Running it with full node will be more robust and stable but will take some more time to download blocks and sync them.

What it should look like

You should see PHL rewards from pop mining after about X blocks (about N hours). Your PHL reward address should increase.

You should see an end-to-end transaction in APM like so:

> getoperation phl72701b75
...
Operation workflow:
DONE      1. START                           Created APM operation id: phl72701b75
DONE      2. RETRIEVE_MINING_INSTRUCTION     Endorsed PHL block height: 14010
DONE      3. SUBMIT_ENDORSEMENT_TRANSACTION  tVBK endorsement transaction id: 629BF9393AD7EE4020C5FAD0B6E7F27588AFF2B6EA20BCBE582B78997F4901FA (fee: 0.00252000, fee per byte: 1000)
DONE      4. CONFIRM_ENDORSEMENT_TRANSACTION 
DONE      5. DETERMINE_BLOCK_OF_PROOF        tVBK Block of Proof: 0000000AAA198318CEB98030588824875A46A776DE927AB2 @ 2388243
DONE      6. PROVE_ENDORSEMENT_TRANSACTION   Merkle path has been verified
DONE      7. SUBMIT_POP_TRANSACTION          ATV: 5DD7B36A8F3BC0219361EA34AED79207607FD9CAEAB114CF57A24EBC1823E6E1 submitted to PHL!
CURRENT   8. DETECT_PAYOUT                   Waiting for ATV to be mined in a block...
          9. COMPLETED                        

Explorer

VeriBlock

See PHL transactions on VeriBlock network:

https://testnet.explore.veriblock.org/altchain-details/280297096488703

Vbk phl explorer.png

Altchain

http://95.217.65.109:3002/

Pop phl explorer.png

GitHub Repository

https://github.com/VeriBlock/pop-phl

Troubleshooting

Please submit issues to:
- GitHub: https://github.com/VeriBlock/pop-phl/issues
- Discord "#altchain-pop-mining" channel: https://discord.gg/Vsa74dNq48