Added POS and transaction comment support
This commit is contained in:
parent
4691df0dc5
commit
863c8bbf5f
@ -22,10 +22,10 @@ Features (need additional testing)
|
|||||||
* Optimized generation transaction building
|
* Optimized generation transaction building
|
||||||
* Process share submissions
|
* Process share submissions
|
||||||
* Supports algos: scrypt, scrypt-jane, quark
|
* Supports algos: scrypt, scrypt-jane, quark
|
||||||
|
* Proof-of-stake support
|
||||||
* Vardiff
|
* Vardiff
|
||||||
|
|
||||||
#### To do
|
#### To do
|
||||||
* Proof-of-stake support
|
|
||||||
* Statistics module
|
* Statistics module
|
||||||
* Auto-banning flooders
|
* Auto-banning flooders
|
||||||
|
|
||||||
@ -74,6 +74,7 @@ var pool = stratum.createPool({
|
|||||||
symbol: "doge",
|
symbol: "doge",
|
||||||
algorithm: "scrypt", //or "sha256", "scrypt-jane", "quark"
|
algorithm: "scrypt", //or "sha256", "scrypt-jane", "quark"
|
||||||
reward: "POW", //or "POS"
|
reward: "POW", //or "POS"
|
||||||
|
txMessages: false //or true
|
||||||
address: "nhfNedMmQ1Rjb62znwaiJgFhL3f4NQztSp",
|
address: "nhfNedMmQ1Rjb62znwaiJgFhL3f4NQztSp",
|
||||||
stratumPort: 3334,
|
stratumPort: 3334,
|
||||||
difficulty: 32,
|
difficulty: 32,
|
||||||
|
|||||||
@ -11,7 +11,7 @@ var util = require('./util.js');
|
|||||||
* The BlockTemplate class holds a single job.
|
* The BlockTemplate class holds a single job.
|
||||||
* and provides several methods to validate and submit it to the daemon coin
|
* and provides several methods to validate and submit it to the daemon coin
|
||||||
**/
|
**/
|
||||||
var BlockTemplate = module.exports = function BlockTemplate(jobId, rpcData, publicKey, extraNoncePlaceholder, reward){
|
var BlockTemplate = module.exports = function BlockTemplate(jobId, rpcData, publicKey, extraNoncePlaceholder, reward, txMessages){
|
||||||
|
|
||||||
//private members
|
//private members
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user