Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added cachecoin new staging tree (experimental)
- Loading branch information
Showing
3 changed files
with
72 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7c41158
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was MIN_TARGET changed for all of the coins? What effect will that have? On a scrypt coin like VTC does that mean minimum diff is 4 / 2^16 or 4 * 2^16?
7c41158
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's 4 / 2^16 = 0.00006103515625. It's to avoid accepting any share submitted by the miners (0 = any share diff is ok). This should improve overall mining experience, even for low hash rates.
7c41158
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok cool thanks. One of the miners noticed he sometimes get served 0 diff work and gets error in his miner when that happens but it quickly goes away. I'm guessing maybe that is on a private node with no other traffic, and the pseudo share diff is serving 0 diff work? Does cgminer/etc not support 0 diff pseudo share target difficulties? I wonder if 1/2^16 should be a minimum pseudo share target for scrypt (1 for sha256).
7c41158
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p2pool/bitcoin/networks.py
chachecoin SUBSIDY_FUNC=lambda target: get_subsidy(6, 100, target),
where is get_subsidy ?
7c41158
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah get_subsidy is missing. Trying to merge the cachecoin tree into this one but it turns out to be a major puzzle 👎