mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 19:39:22 +00:00
Merge branch 'master' into merge-mining
This commit is contained in:
commit
6a7bbfabcd
3 changed files with 3 additions and 2 deletions
|
@ -244,7 +244,7 @@ cmake ..
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
```
|
```
|
||||||
|
|
||||||
### [Arch Linux](https://archlinux.org/packages/community/x86_64/p2pool/)
|
### [Arch Linux](https://archlinux.org/packages/extra/x86_64/p2pool/)
|
||||||
|
|
||||||
```
|
```
|
||||||
pacman -S p2pool
|
pacman -S p2pool
|
||||||
|
|
|
@ -93,6 +93,7 @@ void generate_keys(hash& pub, hash& sec)
|
||||||
ge_p3_tobytes(pub.h, &point);
|
ge_p3_tobytes(pub.h, &point);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// cppcheck-suppress constParameterReference
|
||||||
void generate_keys_deterministic(hash& pub, hash& sec, const uint8_t* entropy, size_t len)
|
void generate_keys_deterministic(hash& pub, hash& sec, const uint8_t* entropy, size_t len)
|
||||||
{
|
{
|
||||||
uint32_t counter = 0;
|
uint32_t counter = 0;
|
||||||
|
|
|
@ -379,7 +379,7 @@ bool StratumServer::on_submit(StratumClient* client, uint32_t id, const char* jo
|
||||||
}
|
}
|
||||||
|
|
||||||
if (found) {
|
if (found) {
|
||||||
BlockTemplate& block = m_pool->block_template();
|
const BlockTemplate& block = m_pool->block_template();
|
||||||
uint64_t height, sidechain_height;
|
uint64_t height, sidechain_height;
|
||||||
difficulty_type mainchain_diff, aux_diff, sidechain_diff;
|
difficulty_type mainchain_diff, aux_diff, sidechain_diff;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue