utahjohn
|
|
August 06, 2014, 08:30:14 PM Last edit: August 06, 2014, 11:41:36 PM by utahjohn |
|
My next task is to get a MPOS pool running locally on linux box for private use Any tips for configs appreciated When Diamond switched to Groestl, we had hard time, because of several factors: - the traditionally used stratum-mining (in python, recent versions by ahmedbodi) was in hopeless state and required gross hacks to make it work with groestl. I hear it is in better shape now... totally forgot about it myself The rest of this ignores this stratum server, but you could use it if you prefer. It should work fine! - it was unknown how to make stratum work. Now this is well known. You need to understand that 'groestl' and 'groestlcoin' are two different things and that GroestlCoin has in fact diverged from the protocol. It uses single sha256, while almost everyone else uses double sha256 for the transaction hashes. Some of the pool software is already aware of this, and has specific settings, like 'normal-hashing' to indicate you are not using that weirdness. - MPOS is only the front-end. It expects that the stratum or pushpool server will insert the shares submitted by miners in the database. Then it would assign shares of the mined block to miners and generate (internal) transactions. In fact, MPOS handles everything but the actual work distribution to the miners. - There is another project, NOMP, which is an MPOS like (but different philosophy) front-end and very good stratum server. It already has support for Groestl ( https://github.com/zone117x/node-open-mining-portal). It is extremely lightweight -- none of the processes consumes even 1% of an CPU core. As it should -- what the stratum server does is indeed trivial. Here is my definition for Diamond: { "name": "Diamond", "symbol": "DMD", "algorithm": "groestl", "txMessages": false, "normalHashing": true, "peerMagic": "e4e8dbfd", "peerMagicTestnet": "cdf2c0ef" } - Since Diamond requires that you include foundation contribution in every block, you need to set that up in NOMP. The easiest way is to have "rewardRecipients": { "dZi9hpA5nBC6tSAbPSsiMjb6HeQTprcWHz": 4.762 }, in the pool config file. This produces slightly over 0.05 DMD but is bearable.. I hope to revisit this code one day, and do it properly. - You need to enable MPOS mode. There is a nice guide how to configure NOMP otherwise. Hope this helps. OK another problem when I try diamondd getinfo I get an error about authoritative hostname error: resolve: Host not found (authoritative) Not sure what problem is I have /etc/hostname and /etc/hosts configured cloning NOMP git now, I'll forget MPOS and use NOMP in MPOS mode since you seem to be more familiar with it. NOMP up and running Heres my reward recipients for Foundation and Donation 1% to pool upkeep (These figures are not adjusted for transmission fee I'll fine tune later) rewardRecipients": { "dZi9hpA5nBC6tSAbPSsiMjb6HeQTprcWHz" : 4.76190477, "dEdj7aH7Pgt3oVAeEFmA46sXCDcZYeiQjP" : 0.95238095 }, Now I gotta find a block or two on it and see if payouts working ... 3 wallets with diff address now (Pool, Donation, Private for minting)
|
|
|
|
cryptonit
Legendary
Offline
Activity: 3052
Merit: 1053
bit.diamonds | uNiq.diamonds
|
|
August 07, 2014, 12:05:56 AM |
|
NOMP up and running Heres my reward recipients for Foundation and Donation 1% to pool upkeep (These figures are not adjusted for transmission fee I'll fine tune later) rewardRecipients": { "dZi9hpA5nBC6tSAbPSsiMjb6HeQTprcWHz" : 4.76190477, "dEdj7aH7Pgt3oVAeEFmA46sXCDcZYeiQjP" : 0.95238095 }, im pretty sure pool fee works not this way......
|
|
|
|
utahjohn
|
|
August 07, 2014, 12:32:00 AM Last edit: August 07, 2014, 12:54:11 AM by utahjohn |
|
NOMP up and running Heres my reward recipients for Foundation and Donation 1% to pool upkeep (These figures are not adjusted for transmission fee I'll fine tune later) rewardRecipients": { "dZi9hpA5nBC6tSAbPSsiMjb6HeQTprcWHz" : 4.76190477, "dEdj7aH7Pgt3oVAeEFmA46sXCDcZYeiQjP" : 0.95238095 }, im pretty sure pool fee works not this way...... I don't know either that's why it's a private pool for my own use and testing I'm sure Danbi will chime in if I have this wrong. I see no settings in the NOMP configs files for Pool Fee (my ISP charges another $14.95 a month for static IP) so I assume this is how it's done with NOMP. I have not enabled MPOS in NOMP config ... 0.95238095 / 100 * 1.05 = 0.009999999975 to Donation 4.76190477 /100 * 1.05 = 0.050000000085 to Foundation (100 - 0.95238095 - 4.76190477) /100 * 1.05 = 0.98999999994 to Miner
|
|
|
|
pokeytex
Legendary
Offline
Activity: 1504
Merit: 1002
|
|
August 07, 2014, 01:18:15 AM |
|
Danbi,
I just noticed there are more than the usual number of orphans showing up on your pool. Is that a precursor to a problem or just something happening that is normal?
Pokeytex
|
|
|
|
polanskiman
|
|
August 07, 2014, 01:21:16 AM |
|
NOMP up and running Heres my reward recipients for Foundation and Donation 1% to pool upkeep (These figures are not adjusted for transmission fee I'll fine tune later) rewardRecipients": { "dZi9hpA5nBC6tSAbPSsiMjb6HeQTprcWHz" : 4.76190477, "dEdj7aH7Pgt3oVAeEFmA46sXCDcZYeiQjP" : 0.95238095 }, im pretty sure pool fee works not this way...... I don't know either that's why it's a private pool for my own use and testing I'm sure Danbi will chime in if I have this wrong. I see no settings in the NOMP configs files for Pool Fee (my ISP charges another $14.95 a month for static IP) so I assume this is how it's done with NOMP. I have not enabled MPOS in NOMP config ... 0.95238095 / 100 * 1.05 = 0.009999999975 to Donation 4.76190477 /100 * 1.05 = 0.050000000085 to Foundation (100 - 0.95238095 - 4.76190477) /100 * 1.05 = 0.98999999994 to Miner My ISP wants to charge me 62 Euros for a single fixe IP
|
|
|
|
utahjohn
|
|
August 07, 2014, 01:26:47 AM |
|
NOMP up and running Heres my reward recipients for Foundation and Donation 1% to pool upkeep (These figures are not adjusted for transmission fee I'll fine tune later) rewardRecipients": { "dZi9hpA5nBC6tSAbPSsiMjb6HeQTprcWHz" : 4.76190477, "dEdj7aH7Pgt3oVAeEFmA46sXCDcZYeiQjP" : 0.95238095 }, im pretty sure pool fee works not this way...... I don't know either that's why it's a private pool for my own use and testing I'm sure Danbi will chime in if I have this wrong. I see no settings in the NOMP configs files for Pool Fee (my ISP charges another $14.95 a month for static IP) so I assume this is how it's done with NOMP. I have not enabled MPOS in NOMP config ... 0.95238095 / 100 * 1.05 = 0.009999999975 to Donation 4.76190477 /100 * 1.05 = 0.050000000085 to Foundation (100 - 0.95238095 - 4.76190477) /100 * 1.05 = 0.98999999994 to Miner My ISP wants to charge me 62 Euros for a single fixe IP My ISP $38.41 basic DSL + $14.95 static IP = $53.36 per month SUCK! LOL If I didn't love the internet ... so right now mining I am only barely breaking even with power and ISP costs. Add to this registration costs for a domain name (not yet LOL).
|
|
|
|
polanskiman
|
|
August 07, 2014, 01:35:33 AM |
|
NOMP up and running Heres my reward recipients for Foundation and Donation 1% to pool upkeep (These figures are not adjusted for transmission fee I'll fine tune later) rewardRecipients": { "dZi9hpA5nBC6tSAbPSsiMjb6HeQTprcWHz" : 4.76190477, "dEdj7aH7Pgt3oVAeEFmA46sXCDcZYeiQjP" : 0.95238095 }, im pretty sure pool fee works not this way...... I don't know either that's why it's a private pool for my own use and testing I'm sure Danbi will chime in if I have this wrong. I see no settings in the NOMP configs files for Pool Fee (my ISP charges another $14.95 a month for static IP) so I assume this is how it's done with NOMP. I have not enabled MPOS in NOMP config ... 0.95238095 / 100 * 1.05 = 0.009999999975 to Donation 4.76190477 /100 * 1.05 = 0.050000000085 to Foundation (100 - 0.95238095 - 4.76190477) /100 * 1.05 = 0.98999999994 to Miner My ISP wants to charge me 62 Euros for a single fixe IP My ISP $38.41 basic DSL + $14.95 static IP = $53.36 per month SUCK! LOL If I didn't love the internet ... so right now mining I am only barely breaking even with power and ISP costs. Add to this registration costs for a domain name (not yet LOL). You are in the US right? Surprised it's so expensive.
|
|
|
|
utahjohn
|
|
August 07, 2014, 02:13:27 AM Last edit: August 07, 2014, 02:32:29 AM by utahjohn |
|
Be a week or so of testing NOMP pool before I make it public (making sure payouts working properly) ... gotta cover my costs of mining If I get enough interest in pool in western USA then I will get a domain name also. I like the simplicity of NOMP, no registration just use your DMD address as user Got vardiff too Do me a favor and see if u can connect to http://utahjohn.ddns.net
|
|
|
|
polanskiman
|
|
August 07, 2014, 03:08:55 AM |
|
Be a week or so of testing NOMP pool before I make it public (making sure payouts working properly) ... gotta cover my costs of mining If I get enough interest in pool in western USA then I will get a domain name also. I like the simplicity of NOMP, no registration just use your DMD address as user Got vardiff too Do me a favor and see if u can connect to http://utahjohn.ddns.netFavor done: "Diamondcoin NOMP pool is in alpha testing right now
To use my Diamondcoin 2.0.3.1 node for syncing use addnode=utahjohn.ddns.net
Nothing else of interest here right now, try port 8080"
|
|
|
|
utahjohn
|
|
August 07, 2014, 03:21:27 AM Last edit: August 07, 2014, 03:32:56 AM by utahjohn |
|
Thanks I have not opened port 8080 on server yet ... What port(s) do I need to open on router and fwd to server to respond to ping?
|
|
|
|
polanskiman
|
|
August 07, 2014, 04:32:10 AM Last edit: August 07, 2014, 04:44:29 AM by polanskiman |
|
Thanks I have not opened port 8080 on server yet ... What port(s) do I need to open on router and fwd to server to respond to ping? There is normally no port to be opened (or closed) in order for your router to respond (or not) to ICMP packets. There should however be an option in your router to enable/disable those responses. Usually under the firewall settings. Could also be elsewhere, it really depends on your router brand/model. In mine for example (a TP-Link) it is located in System Tools>>Manage Control>>Service configuration
|
|
|
|
utahjohn
|
|
August 07, 2014, 04:45:57 AM |
|
Thanks I have not opened port 8080 on server yet ... What port(s) do I need to open on router and fwd to server to respond to ping? There is normally no port to be opened (or closed) in order for your router to respond (or not) to ICMP packets. There should however be an option in your router to enable/disable those responses. Usually under the firewall settings. Could also be elsewhere, it really depends on your router brand/model. In mine for example (a TP-Link) it is located in System Tools>>Manage Control>>Service configuration OK fixed, I have medium level security and ICMP was not allowed ...
|
|
|
|
utahjohn
|
|
August 07, 2014, 07:06:10 AM Last edit: August 07, 2014, 07:22:51 AM by utahjohn |
|
Of considerable interest: Payout switching ("I want to hold coin X, convert the rest to Y") is still pretty high on the list. I've actually got a proof-of-concept working here, with what is essentially a local embedded exchange (trading coins behind the scenes with other WP users automatically) to avoid exchanges completely. But its far from release ready... Definitely could be something to set us apart though...
Of course this would require groestl algo pool to be added to wafflepool so DMD could be mined and payed out this way ... I am currently alpha testing a private Diamondcoin NOMP pool that I have been working on ... perhaps WP could proxy to my pool once I open it to public use (1% fee) ... Once all is good and working properly I can add other groestl algo coins to my pool on different ports.
|
|
|
|
utahjohn
|
|
August 07, 2014, 08:03:41 AM |
|
@Danbi I'm still getting "pool 0 not providing work fast enough" using the 2.0.3.1 daemon occasionally. I have 40+ 2.0.3 nodes connected including the "permanent" nodes ...
|
|
|
|
danbi
|
|
August 07, 2014, 08:07:10 AM |
|
I'm sure Danbi will chime in if I have this wrong. I see no settings in the NOMP configs files for Pool Fee (my ISP charges another $14.95 a month for static IP) so I assume this is how it's done with NOMP.
My ISP wants to charge me 62 Euros for a single fixe IP Oh, move here -- you get the IPs essentially for free and connectivity is cheap 62 EURO, who are these guys? Well, there is a price to pay -- roads are not that pretty and local authorities neither, but anything that depends on private initiative is just fine. Anyway, IPs have nothing to do with NOMP You could have tested it within your local LAN.
|
BTC: 15cJkRupKAkGr6sTxj1Uzb6uHbvuRyK1GL DMD: dJZEqNcjiUiMMd8DKBFS9oMWtArAD2GCHr
|
|
|
utahjohn
|
|
August 07, 2014, 08:09:22 AM |
|
I'm sure Danbi will chime in if I have this wrong. I see no settings in the NOMP configs files for Pool Fee (my ISP charges another $14.95 a month for static IP) so I assume this is how it's done with NOMP.
My ISP wants to charge me 62 Euros for a single fixe IP Oh, move here -- you get the IPs essentially for free and connectivity is cheap 62 EURO, who are these guys? Well, there is a price to pay -- roads are not that pretty and local authorities neither, but anything that depends on private initiative is just fine. Anyway, IPs have nothing to do with NOMP You could have tested it within your local LAN. Which I am doing right now ... I'll need static IP if I want to open to public ...
|
|
|
|
danbi
|
|
August 07, 2014, 08:13:37 AM |
|
@Danbi I'm still getting "pool 0 not providing work fast enough" using the 2.0.3.1 daemon occasionally. I have 40+ 2.0.3 nodes connected including the "permanent" nodes ...
I don't really understand what you are asking here The pool providing enough work, and the wallet having certain number of connections are not related in any way. For example, dmdpool.digsys.bg's wallet right now has just one connection (with connect=). It is very unlikely that NOMP is overloaded, but you could check with 'top' how much of the CPU it consumes.
|
BTC: 15cJkRupKAkGr6sTxj1Uzb6uHbvuRyK1GL DMD: dJZEqNcjiUiMMd8DKBFS9oMWtArAD2GCHr
|
|
|
utahjohn
|
|
August 07, 2014, 08:15:58 AM |
|
@Danbi I'm still getting "pool 0 not providing work fast enough" using the 2.0.3.1 daemon occasionally. I have 40+ 2.0.3 nodes connected including the "permanent" nodes ...
I don't really understand what you are asking here The pool providing enough work, and the wallet having certain number of connections are not related in any way. For example, dmdpool.digsys.bg's wallet right now has just one connection (with connect=). It is very unlikely that NOMP is overloaded, but you could check with 'top' how much of the CPU it consumes. I'm solo mining to 2.0.3.1 wallet with 1 card, pool mining to NOMP with another and a third to your pool right now. The solo mining is where I'm seeing not providing work fast enough. The NOMP wallet is set up with connect= to my solo wallet on another box on LAN and I haven't been monitoring it much ...
|
|
|
|
polanskiman
|
|
August 07, 2014, 08:17:43 AM |
|
I'm sure Danbi will chime in if I have this wrong. I see no settings in the NOMP configs files for Pool Fee (my ISP charges another $14.95 a month for static IP) so I assume this is how it's done with NOMP.
My ISP wants to charge me 62 Euros for a single fixe IP Oh, move here -- you get the IPs essentially for free and connectivity is cheap 62 EURO, who are these guys? Well, there is a price to pay -- roads are not that pretty and local authorities neither, but anything that depends on private initiative is just fine. Anyway, IPs have nothing to do with NOMP You could have tested it within your local LAN. Yes, 62 Euros for a fixed IP and a 13 Mb connection (including VAT, PLEASE) ;-) -- And yes, it's a private company, not state owned. -- Roads are also pretty bad here and don't talk about authorities, you are talking about Thailand here, ranked 102 out of 175 of the most corrupted countries in the world (Bulgaria ranks 77 - Nice)
|
|
|
|
utahjohn
|
|
August 07, 2014, 08:25:52 AM |
|
Another exchange to consider: We're also listed for voting on useCryptos! They have a Euro market and would be very important for the coin if we could get listed here! https://usecryptos.com/coinvotingThey also have USD markets
|
|
|
|
|