Difference between revisions of "TestNet"

From Veriblock Wiki
Jump to: navigation, search
 
(6 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
As of NodeCore 0.4.3 or greater, the same nodecore package can be configured to MainNet or TestNet simply by switching the network in the nodecore.properties file.
 
As of NodeCore 0.4.3 or greater, the same nodecore package can be configured to MainNet or TestNet simply by switching the network in the nodecore.properties file.
  
For development purposes, TestNet was reset on 10/09/2019 and requires at least version 0.4.7-rc.1 to communicate with the current TestNet network.
+
For development purposes, TestNet was reset on 10/09/2019 and requires at least NodeCore version 0.4.7 or higher to run:
  
https://mirror2.veriblock.org/veriblock-nodecore-all-0.4.7-rc.1.zip<br>
+
https://github.com/VeriBlock/nodecore-releases
https://mirror2.veriblock.org/veriblock-nodecore-all-0.4.7-rc.1.tar.gz
 
  
 
By default the network=mainnet.
 
By default the network=mainnet.
Line 20: Line 19:
 
== Explorer ==
 
== Explorer ==
  
https://testnet.explore.veriblock.org/
+
https://explore.btcsq.veriblock.org/
  
 
==Connecting to TestNet==
 
==Connecting to TestNet==
Line 29: Line 28:
  
 
#OPTIONAL: select specific nodes:
 
#OPTIONAL: select specific nodes:
peer.external.hosts.testnet=95.216.123.86\:7501,94.130.147.194\:7501,94.130.147.195\:7501
+
peer.external.hosts.testnet=95.216.53.166\:7501,94.130.147.194\:7501,94.130.147.195\:7501
 
</pre>
 
</pre>
  
 
This will create a separate bin\testnet folder, alongside bin\mainnet.
 
This will create a separate bin\testnet folder, alongside bin\mainnet.
 +
 +
== Bootstrap ==
 +
 +
See: [[Bootstrap_Downloader]]
 +
 +
<pre>
 +
bootstrap-downloader -n testnet -d path/to/datadir
 +
</pre>
  
 
== List of Nodes ==
 
== List of Nodes ==
 +
 +
<pre>
 +
nslookup seedtestnet.veriblock.org
 +
</pre>
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 41: Line 52:
 
|-
 
|-
 
| Bootstrap 1
 
| Bootstrap 1
| 95.216.123.86
+
| 65.21.113.5
 
|-
 
|-
 
| Bootstrap 2
 
| Bootstrap 2
 +
| 95.217.67.116
 +
|-
 +
| Bootstrap 3
 
| 94.130.147.194
 
| 94.130.147.194
 
|-
 
|-
| Bootstrap 3
+
| Bootstrap 4
| 94.130.147.195
+
| 65.21.113.6
 +
|-
 +
| Bootstrap 5
 +
| 5.216.123.86
 
|-
 
|-
 
|}
 
|}
Line 81: Line 98:
  
 
* https://vbk.bitspill.net/
 
* https://vbk.bitspill.net/
 +
* https://testnet-faucet.veriblock.org/

Latest revision as of 13:00, 22 July 2022

See: Main_Page, MainNet, AlphaNet, tVBK

Overview

MainNet and TestNet are separate environments with separate blockchain data. With the MainNet launch on 3/25/2019, coins mined in TestNet do NOT transfer to MainNet.

As of NodeCore 0.4.3 or greater, the same nodecore package can be configured to MainNet or TestNet simply by switching the network in the nodecore.properties file.

For development purposes, TestNet was reset on 10/09/2019 and requires at least NodeCore version 0.4.7 or higher to run:

https://github.com/VeriBlock/nodecore-releases

By default the network=mainnet.

TestNet has a significantly lower difficulty, such that minimal hash can push through transactions.

Explorer

https://explore.btcsq.veriblock.org/

Connecting to TestNet

In nodecore.properties file, specify:

network=testnet

#OPTIONAL: select specific nodes:
peer.external.hosts.testnet=95.216.53.166\:7501,94.130.147.194\:7501,94.130.147.195\:7501

This will create a separate bin\testnet folder, alongside bin\mainnet.

Bootstrap

See: Bootstrap_Downloader

bootstrap-downloader -n testnet -d path/to/datadir

List of Nodes

nslookup seedtestnet.veriblock.org
Location IP
Bootstrap 1 65.21.113.5
Bootstrap 2 95.217.67.116
Bootstrap 3 94.130.147.194
Bootstrap 4 65.21.113.6
Bootstrap 5 5.216.123.86

PoW Mine to TestNet

There is a TestNet pool with minimum hash to push through transactions:

PoP Mine to TestNet

VBK TestNet PoP Mines to BTC TestNet

Sample ncpop.properties (fees will vary!)

auto.mine.round4=true
bitcoin.fee.max=10000
bitcoin.fee.perkb=1000
bitcoin.network=testnet
nodecore.rpc.host=127.0.0.1
nodecore.rpc.port=10501

Faucet

Community created Faucets: