Comments (10)
I plan to work on this over the weekend. In the meantime you can add another port with a hardcoded difficulty. Thanks for reporting!
from z-nomp.
@joshuayabut any fix yet??
from z-nomp.
Yes this is finally fixed!! Please do a "git pull; npm update; npm install;".
z-classic/node-stratum-pool@0705fbb
661695b
Be sure to update your zclassic.json file... I found these parameters worked well:
"ports": {
"3032": {
"diff": 0.05,
"varDiff": {
"minDiff": 0.04,
"maxDiff": 16,
"targetTime": 15,
"retargetTime": 60,
"variancePercent": 30
}
}
},
from z-nomp.
getting lots of rejected shares, tried different values
[zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.3662605196394412"}
2016-12-19 08:29:46 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.6209022073858"}
2016-12-19 08:29:47 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.43415619172949443"}
2016-12-19 08:29:52 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.3595268009369413"}
2016-12-19 08:29:53 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.5291931392742555"}
2016-12-19 08:29:53 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.33706363310604137"}
2016-12-19 08:29:54 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.408080305509165"}
2016-12-19 08:29:57 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.30143427166782155"}
2016-12-19 08:29:57 [Pool] [zclassic] (Thread 1) No new blocks for 55 seconds - updating transactions & rebroadcasting work
2016-12-19 08:29:57 [Pool] [zcash] (Thread 1) No new blocks for 55 seconds - updating transactions & rebroadcasting work
2016-12-19 08:29:57 [Pool] [zcash] (Thread 1) Difficulty update to diff 16 workerName="t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B"
after that it drops back to lower diff then 16 and you get rejected shares again..
from z-nomp.
Where the error code is found, I think its an error with vardiff, we should revert z-classic/node-stratum-pool@0705fbb
//if (1 === 1) {
if (headerBigNum.le(job.target) && hashDigest(headerBuffer, new Buffer(soln.slice(6), 'hex'))) {
blockHex = job.serializeBlock(headerBuffer, new Buffer(soln, 'hex')).toString('hex');
blockHash = util.reverseBuffer(headerHash).toString('hex');
}
else {
if (options.emitInvalidBlockHashes)
blockHashInvalid = util.reverseBuffer(util.sha256d(headerSolnBuffer)).toString('hex');
//Check if share didn't reached the miner's difficulty)
if (shareDiff / difficulty < 0.99) {
//Check if share matched a previous difficulty from before a vardiff retarget
if (previousDifficulty && shareDiff >= previousDifficulty) {
difficulty = previousDifficulty;
}
else {
return shareError([23, 'low difficulty share of ' + shareDiff]);
}
}
}
from z-nomp.
even if i disable vardiff for a certain port, i still get the same problems:
miner is connected to a port with static diff of 4, and get these errors:
even if i lower static diff i still get these rejects
(equihash) Setting proxy difficulties after pool start
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Authorized t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B:x [::ffff:188.226.209.186]
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0011201318682570582"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0001566495527407017"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0004531584107070112"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00016943854118353803"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00014934042281050162"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00025022447464474425"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0005817819665888247"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0001376985742946139"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00013201686831643497"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.000145682437661638"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0008832226061642338"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00015676204400473387"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00016582211614972285"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0003681665597252326"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.018251509253130023"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00015682536889569115"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00020224465056677962"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0017779076067349537"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00016951372864358388"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00044435426627277054"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00013602873473931603"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0008423359754731009"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00029299167216733957"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00014939746382420973"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00016958619815043283"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00013446226760115818"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.000290961841524371"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0001438367301430803"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00016537037585476514"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00017971950817805316"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0026295907223701535"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.00025102722990785384"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0001826767915452888"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.05544601169813831"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0031905666900431547"}
2016-12-19 10:46:43 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.0005096432821447251"}
2016-12-19 10:46:44 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.3009894155474121"}
2016-12-19 10:46:44 [Pool] [zcash] (Thread 1) Share accepted at diff 4/18.58826772 by t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B [::ffff:188.226.209.186]
2016-12-19 10:46:44 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.2760013826352662"}
2016-12-19 10:46:45 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 2.1900651117944756"}
2016-12-19 10:46:48 [Pool] [zcash] (Thread 1) Share rejected: {"job":"cccd","ip":"::ffff:188.226.209.186","worker":"t1Sgh8futcJNLNjAUeMK9FzAbTqhWgdWT3B","difficulty":4,"error":"low difficulty share of 0.7472561955235109"
edit: fixed with static diff 0.25, but getting shares each second or so
from z-nomp.
I'm able to confirm this... It appears to be an issue with the zeroPadding for the target calculation.
from z-nomp.
Please do a "npm update; npm install" and try again. Thanks!
z-classic/node-stratum-pool@0f47f0e
from z-nomp.
can be closed, can confirm problem is resolved
from z-nomp.
Good to hear :)
from z-nomp.
Related Issues (20)
- Question about how to convert H/s to Sol/s HOT 1
- Invalid solution: invalid collision length between StepRows HOT 1
- Daemon does not own pool address
- I get 502 Bad Gateway with nginx example config file HOT 5
- Zen mining No new blocks found. HOT 1
- website not working except home page
- Noob question: Is the Daemon the Coin Wallet Blockchain? HOT 2
- Why not support bitshares ? HOT 1
- Z-Nomp Stuck Downloading in regtest at height 0 HOT 2
- A9 asic submits lots of "duplicate shares"
- Error with payment processing daemon
- z-nomp with multi coins question .....
- What does diff means? HOT 5
- Z-Nomp is running but can't connect
- Zcash sapling support?
- ..
- Incorrect size of solution
- Show mined blocks in users timezone HOT 1
- .
- Error: Cannot find module 'bignum' - not solved my problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from z-nomp.