# Consopool

{% hint style="danger" %}
Please note that to run your own pool you have to own a GVT + A vote must happen for your pool to get listed. Refer (here) to purchase your GVT.
{% endhint %}

### Running consopool

To host a Noso PoPW pool, you need a wallet and consopool software. A multicore system and at least 4GB of ram are also recommended. When running a public pool, make sure your pool port is accessible from the Internet. Information on how to port forward through your router or VPS provider is publicly available via a web search.

Step 1 - Install Wallet&#x20;

<figure><img src="https://lh4.googleusercontent.com/6sqNSb_RE5UQNkJ1LM4-dws69Qba6lMGmQwirMp09t4xJbs-Zwmhwp-v3ym_nWXO5eWqpeHehvS21Ot4wfdxv3fJ_pp-xWxXD7HPaacd9SXjDhfuEXXq-SdJ5Pe_FYI7rUz1ZOWfIBWRJaXgkzdZ2snGRZDpk5eOj6EZvQ9sigLN2LKTSVpq23eyib6jtQ" alt=""><figcaption></figcaption></figure>

To setup Consopool you will need a Noso Wallet to obtain your public and private keys. If you don’t already have NosoLite wallet, download the latest version from Github.com ([here](https://github.com/Noso-Project/NosoLite/releases)). Open your wallet to generate your “wallet.pkw” to obtain public and private keys.

<br>

Step 2 - Install and consopool

<figure><img src="https://lh6.googleusercontent.com/x-NC3UiUcDJRHoMk2MSJFvDwGsOL1wUY8If5JNSqLfm5Nqhg1uuoWsd1z0hSRHndBRoitNcec1C9fECCV8OF2xCDjoCK9CP3LJ5g0zQmYhF40ND_L4-9uHvjcnQOKJ1s1Eheg67Ws4ziWlsS_HP-oW_U_BjF3ESs0f79mwfkTn4X7jS_h7aCO7qVoG7_Hg" alt=""><figcaption></figcaption></figure>

<br>

Download the latest version of consopool from Github.com ([here](https://github.com/Noso-Project/consopool/releases))

* Unzip the downloaded consopool zip file contents into a “consopool” directory.
* Launch “consopool.exe.” This creates the directory structure and configuration files needed for the pool.&#x20;
* Close consopool application
* Locate the “consopool.cfg” file (\consopool\consopool.cfg) and open it in your text editor

<br>

Step 3 - configure consopool

Open NosoLite “wallet.pkw” in your text editor also to obtain your public and private keys. (\nosolite\wallet\wallet.pkw).  The Noso address you are using for pool must not be password protected to complete the following steps.

<figure><img src="https://lh3.googleusercontent.com/kfYTVmRvR5-eYf7UAa4aYQKl-Ycuh1zVw94NYlQmNb_7NVTZiyT7e-9k600LADtux7gQ5xi3OEMeiMdvdxoE9oyJXvg9iinAZSVw3b1ubVWLkCS0SE8WX3o0OwvQLM4eoaoHc0j6Z4Dfjeiqh_fzFgiliJ8aDBK3125hiOLd_F7UgkZw0maokImNFCTEeg" alt=""><figcaption></figcaption></figure>

<mark style="color:yellow;">Copy and paste the “the Publickey” and “Privatekey” from your wallet.pkw into your consopool.cfg file, into their respective fields, {publickey privatekey}.</mark>

<br>

## <mark style="color:red;">**Example configuration using wallet.pkw:**</mark>

<figure><img src="https://lh6.googleusercontent.com/wTZOpcOpqKLwclJYNWDwwhU9KR4U2lSwf2H-Fivz6RbJEGG1sF9dBU7pRGdS7N6TQdsuEtYpQqAOVHA652gywNa0ewszAQXt71pPMSpa579U3Bl06MgRpA0mm-yO8icbAxOfvuM5TE82XbfhWFIG-DYdTlsyw0cNn0BUZYSQkvTkVZvOfmIDhOkVgFtJeA" alt=""><figcaption></figcaption></figure>

**Fill in the additional fields as needed:**

<mark style="color:red;">poolport</mark> – TCP port your pool listens on

<mark style="color:red;">diffbase</mark> – Minimum number of leading zeros the pool will accept from miners

<mark style="color:red;">poolfee</mark> – Percentage this pool will charge as a fee to miners

<mark style="color:red;">poolpay</mark> – Block pay interval

<mark style="color:red;">ipminers</mark> – Maximum number of miners the pool will accept

<mark style="color:red;">autostart</mark> – Automatically start pool when application is launched

<mark style="color:red;">autodiff</mark> – Automatically adjust the diffbase

<mark style="color:red;">autovalue</mark> – If pool restarts, if the count of shares of last block >= {number}, it will keep the <mark style="color:red;">diffbase</mark>, otherwise, it decrease it by one zero

<br>

**Step 4**

Launch consopool.exe. Pool automatically starts once it is launched and shows “Pool server started” below the cursor. Type help for a list of commands.

### Building from source

{% hint style="info" %}
To build from source you'll need a working installation of [Lazarus](https://www.lazarus-ide.org/index.php?page=downloads) and the following packages:

* Indy 10
* CryptoLyb4PascalPackage

These packages are included in a folder called Packages located from the root of the repository. This is provided for convenience of the GitHub builds and may not always contain the latest version of these packages.

The best way to ensure that these packages are the latest version is to install them from the [Online Package Manager](https://wiki.freepascal.org/Online_Package_Manager)(OPM).
{% endhint %}

### Platforms

#### <mark style="color:yellow;">Windows:</mark>

The Windows version has been tested on:

* Windows 8.1
* Windows Server 2019 Datacenter
* Windows 10 pro
* Windows 11

#### <mark style="color:yellow;">Linux:</mark>

The Linux version has been tested on:

* Ubuntu 20.04 64b
* Ubuntu 22.04 64b

<br>

<br>
