From 603c6d150b745d1e3f8ff48a8eada54ac8a47c43 Mon Sep 17 00:00:00 2001 From: Matt Culpepper Date: Wed, 16 Apr 2014 21:17:55 -0500 Subject: [PATCH 1/2] lots of new coin configs --- coins/defcoin.json | 5 +++++ coins/jennycoin.json | 5 +++++ coins/klondikecoin.json | 5 +++++ coins/muniti.json | 6 ++++++ coins/potcoin.json | 5 +++++ coins/procoin.json | 5 +++++ coins/ronpaulcoin.json | 5 +++++ coins/rubycoin.json | 5 +++++ coins/spartancoin.json | 5 +++++ coins/stoopidcoin.json | 5 +++++ coins/suncoin.json | 5 +++++ coins/whitecoin.json | 5 +++++ 12 files changed, 61 insertions(+) create mode 100644 coins/defcoin.json create mode 100644 coins/jennycoin.json create mode 100644 coins/klondikecoin.json create mode 100644 coins/muniti.json create mode 100644 coins/potcoin.json create mode 100644 coins/procoin.json create mode 100644 coins/ronpaulcoin.json create mode 100644 coins/rubycoin.json create mode 100644 coins/spartancoin.json create mode 100644 coins/stoopidcoin.json create mode 100644 coins/suncoin.json create mode 100644 coins/whitecoin.json diff --git a/coins/defcoin.json b/coins/defcoin.json new file mode 100644 index 0000000..fecc90a --- /dev/null +++ b/coins/defcoin.json @@ -0,0 +1,5 @@ +{ + "name": "Defcoin", + "symbol": "DEF", + "algorithm": "scrypt" +} diff --git a/coins/jennycoin.json b/coins/jennycoin.json new file mode 100644 index 0000000..41aae54 --- /dev/null +++ b/coins/jennycoin.json @@ -0,0 +1,5 @@ +{ + "name": "Jennycoin", + "symbol": "JNY", + "algorithm": "scrypt" +} diff --git a/coins/klondikecoin.json b/coins/klondikecoin.json new file mode 100644 index 0000000..0d0aa3a --- /dev/null +++ b/coins/klondikecoin.json @@ -0,0 +1,5 @@ +{ + "name": "Klondikecoin", + "symbol": "KDC", + "algorithm": "scrypt" +} diff --git a/coins/muniti.json b/coins/muniti.json new file mode 100644 index 0000000..ba5e430 --- /dev/null +++ b/coins/muniti.json @@ -0,0 +1,6 @@ +{ + "name": "Muniti", + "symbol": "MUN", + "algorithm": "x11", + "mposDiffMultiplier": 256 +} diff --git a/coins/potcoin.json b/coins/potcoin.json new file mode 100644 index 0000000..785e511 --- /dev/null +++ b/coins/potcoin.json @@ -0,0 +1,5 @@ +{ + "name": "Potcoin", + "symbol": "POT", + "algorithm": "scrypt" +} diff --git a/coins/procoin.json b/coins/procoin.json new file mode 100644 index 0000000..54cbfee --- /dev/null +++ b/coins/procoin.json @@ -0,0 +1,5 @@ +{ + "name": "Procoin", + "symbol": "PCN", + "algorithm": "scrypt" +} diff --git a/coins/ronpaulcoin.json b/coins/ronpaulcoin.json new file mode 100644 index 0000000..3122c5e --- /dev/null +++ b/coins/ronpaulcoin.json @@ -0,0 +1,5 @@ +{ + "name": "RonPaulCoin", + "symbol": "RPC", + "algorithm": "scrypt" +} diff --git a/coins/rubycoin.json b/coins/rubycoin.json new file mode 100644 index 0000000..d8de44b --- /dev/null +++ b/coins/rubycoin.json @@ -0,0 +1,5 @@ +{ + "name": "Rubycoin", + "symbol": "RUBY", + "algorithm": "scrypt" +} diff --git a/coins/spartancoin.json b/coins/spartancoin.json new file mode 100644 index 0000000..65c21ca --- /dev/null +++ b/coins/spartancoin.json @@ -0,0 +1,5 @@ +{ + "name": "Spartancoin", + "symbol": "SPN", + "algorithm": "scrypt" +} diff --git a/coins/stoopidcoin.json b/coins/stoopidcoin.json new file mode 100644 index 0000000..ce8d420 --- /dev/null +++ b/coins/stoopidcoin.json @@ -0,0 +1,5 @@ +{ + "name": "Stoopidcoin", + "symbol": "STP", + "algorithm": "scrypt" +} diff --git a/coins/suncoin.json b/coins/suncoin.json new file mode 100644 index 0000000..fea2aed --- /dev/null +++ b/coins/suncoin.json @@ -0,0 +1,5 @@ +{ + "name": "Suncoin", + "symbol": "SUN", + "algorithm": "scrypt" +} diff --git a/coins/whitecoin.json b/coins/whitecoin.json new file mode 100644 index 0000000..fe4326d --- /dev/null +++ b/coins/whitecoin.json @@ -0,0 +1,5 @@ +{ + "name": "Whitecoin", + "symbol": "WC", + "algorithm": "scrypt" +} From 57be035ff29519b4d21336bc111c8645a41f8618 Mon Sep 17 00:00:00 2001 From: Matthew Little Date: Thu, 17 Apr 2014 12:51:44 -0600 Subject: [PATCH 2/2] Include actual share diff in log ouput --- libs/poolWorker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/poolWorker.js b/libs/poolWorker.js index 69d130f..cb77079 100644 --- a/libs/poolWorker.js +++ b/libs/poolWorker.js @@ -180,7 +180,7 @@ module.exports = function(logger){ logger.debug(logSystem, logComponent, logSubCat, 'Block found: ' + data.blockHash); if (isValidShare) - logger.debug(logSystem, logComponent, logSubCat, 'Share accepted at diff ' + data.difficulty + ' by ' + data.worker + ' [' + data.ip + ']' ); + logger.debug(logSystem, logComponent, logSubCat, 'Share accepted at diff ' + data.difficulty + '/' + data.shareDiff + ' by ' + data.worker + ' [' + data.ip + ']' ); else if (!isValidShare) logger.debug(logSystem, logComponent, logSubCat, 'Share rejected: ' + shareData);