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
|
||||
* Process share submissions
|
||||
* Supports algos: scrypt, scrypt-jane, quark
|
||||
* Proof-of-stake support
|
||||
* Vardiff
|
||||
|
||||
#### To do
|
||||
* Proof-of-stake support
|
||||
* Statistics module
|
||||
* Auto-banning flooders
|
||||
|
||||
@ -74,6 +74,7 @@ var pool = stratum.createPool({
|
||||
symbol: "doge",
|
||||
algorithm: "scrypt", //or "sha256", "scrypt-jane", "quark"
|
||||
reward: "POW", //or "POS"
|
||||
txMessages: false //or true
|
||||
address: "nhfNedMmQ1Rjb62znwaiJgFhL3f4NQztSp",
|
||||
stratumPort: 3334,
|
||||
difficulty: 32,
|
||||
|
||||
@ -11,7 +11,7 @@ var util = require('./util.js');
|
||||
* The BlockTemplate class holds a single job.
|
||||
* 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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user