From 863c8bbf5fe87fbe456094b9eb0b8b5b15c60847 Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 13 Feb 2014 14:02:58 -0700 Subject: [PATCH] Added POS and transaction comment support --- README.md | 3 ++- lib/blockTemplate.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 479d290..ae45500 100644 --- a/README.md +++ b/README.md @@ -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, diff --git a/lib/blockTemplate.js b/lib/blockTemplate.js index f2236f2..04dbbe0 100644 --- a/lib/blockTemplate.js +++ b/lib/blockTemplate.js @@ -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