<commit_before># siapool

[![Join the chat at https://gitter.im/robvanmieghem/siapool](https://badges.gitter.im/robvanmieghem/siapool.svg)](https://gitter.im/robvanmieghem/siapool?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Status

Early development phase, completely useless at the moment.

The intention is to make a p2pool for SIA. In a first phase the pool interface and blockgeneration will be created. This will result in a fully functional but centralized pplns pool. The sharechain and p2peer protocal will be added in phase 2.



## Support development

If you really want to, you can support the siapool development:

SIA: 1e80b18e7cdd92c3a03f307c5f453bb5a26784dfce054063b4976c8784b3a98f55ecf5f59627<commit_msg>Explain the concept and how to mine using the pool.<commit_after># siapool

[![Join the chat at https://gitter.im/robvanmieghem/siapool](https://badges.gitter.im/robvanmieghem/siapool.svg)](https://gitter.im/robvanmieghem/siapool?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Status

Early development phase, completely useless at the moment.

The intention is to make a p2pool for SIA. In a first phase the pool interface and blockgeneration will be created. This will result in a fully functional but centralized pplns pool. The sharechain and p2peer protocol will be added in phase 2.

## Connect your miner

Direct your miner to the pool using the following host: `<yourpayoutaddress>@<poolhost>:<poolport>`

Example using gominer:
```
gominer -H "1e80b18e7cdd92c3a03<EMAIL>:9985"
```

Passing this host will work on most other miners as well but siapool rejects requests for the same payout address if the previous request happened less then 5 seconds before, unless the miner submitted a share off course.

## Share difficulty

The pool adjusts the difficulty to have an accepted share every 30 seconds by average. The length of the sharechain is 8640, representing 3 days of work.

## Payout logic

Each share contains a generation transaction that pays to the previous n shares, where n is the number 8640 (= 3 days of shares).

The block reward and the transaction fees are combined and apportioned according to these rules:

A subsidy of 0.5% is sent to the miner that solved the block in order to discourage not sharing solutions that qualify as a block. (A miner with the aim to harm others could withhold the block, thereby preventing anybody from getting paid. He can NOT redirect the payout to himself.) The remaining 99.5% is distributed evenly to miners based on work done recently.

A node can choose to keep a fee for operating the node.

In the event that a share qualifies as a block, this generation transaction is exposed to the Sia network and takes effect, transferring each miner its payout.

## Support development

If you really want to, you can support the siapool development:

SIA: <KEY>
{'fraction_non_alphanumeric': 0.058135534915720675, 'fraction_numerical': 0.03027175782593739, 'mean_word_length': 5.008264462809917, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6211554', 'n_tokens_mistral': 898, 'n_tokens_neox': 837, 'n_words': 386}