Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I setup a Trollcoin Pool?
#1
If I wanted to setup my own Trollcoin mining pool...
What software do I need?
Can I run it on my PC or is a dedicated server required?
A short how to guide would be awesome!
Reply
#2
I just install https://github.com/TrollCoin2/TrollCoin-2.0 on 

root@crypto1:~/TrollCoin-2.0-master/src# uname -a
Linux crypto1 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
root@crypto1:~/TrollCoin-2.0-master/src# cat /etc/issue
Ubuntu 16.04.3 LTS \n \l


root@crypto1:~/TrollCoin-2.0-master/src# ./trollcoind getinfo
{
   "version" : "v2.1.0.0",
   "protocolversion" : 60030,
   "walletversion" : 60020,
   "balance" : 0.00000000,
   "newmint" : 0.00000000,
   "stake" : 0.00000000,
   "blocks" : 967155,
   "timeoffset" : 0,
   "moneysupply" : 549274519.00000000,
   "connections" : 19,
   "proxy" : "",
   "ip" : "176.123.9.248",
   "difficulty" : {
       "proof-of-work" : 4.33937360,
       "proof-of-stake" : 2348876.18845787
   },
   "testnet" : false,
   "keypoololdest" : 1519051398,
   "keypoolsize" : 101,
   "paytxfee" : 0.00010000,
   "mininput" : 0.00000000,
   "errors" : ""
}
root@crypto1:~/TrollCoin-2.0-master/src# ./trollcoind getmininginfo
{
   "blocks" : 967655,
   "currentblocksize" : 0,
   "currentblocktx" : 0,
   "difficulty" : {
       "proof-of-work" : 4.33937360,
       "proof-of-stake" : 2077862.76887141,
       "search-interval" : 0
   },
   "blockvalue" : 6000000000,
   "netmhashps" : 130.33194208,
   "netstakeweight" : 3222778783383883.00000000,
   "errors" : "",
   "pooledtx" : 0,
   "stakeweight" : {
       "minimum" : 0,
       "maximum" : 0,
       "combined" : 0
   },
   "testnet" : false
}


root@crypto1:~/TrollCoin-2.0-master/src# ./trollcoind getnewaddresss
error: {"code":-32601,"message":"Method not found"}

root@crypto1:~/.trollcoin# tail debug.log
FutureDrift(GetBlockTime()): 1489013768, <?pindexPrev->GetBlockTime(): 1489013152
SetBestChain: new best=d94412e514e4b897fc1c2ec4b77a75b8a75368f1467ecc182582a30cb10f2f4a  height=983167  trust=8617465378158974647389  blocktrust=11602324419424265  date=03/08/17 22:46:08
ProcessBlock: ACCEPTED
ProcessBlock: ORPHAN BLOCK 14468, prev=be76a2ebdc9265f2e4b5c73dac443e959f98282ccd5c4fd021485f14a7d8f22d
ProcessBlock: ORPHAN BLOCK 14469, prev=b9c4e24f3103154ca447c42f6344de9b4f9b04f048c51feca320b0adab95be13
GetBlockTime(): 1489013184, <=? pindexPrev->GetPastTimeLimit(): 1489013168
FutureDrift(GetBlockTime()): 1489013784, <?pindexPrev->GetBlockTime(): 1489013168
SetBestChain: new best=e692a1df67a12efd96f98216cbd6141ddb62a2abee49d85838a255681b21dcb9  height=983168  trust=8617478812444989706860  blocktrust=13434286015059471  date=03/08/17 22:46:24
ProcessBlock: ACCEPTED
ProcessBlock: ORPHAN BLOCK 14470, prev=a7656107332a8f071bde117dc618143afdd686602ba013c67dec1fe23622f11b

root@crypto1:~/.trollcoin# ls -al
total 782880
drwxr-xr-x  4 root root      4096 Feb 19 21:49 .
drwx------ 27 root root      4096 Feb 19 21:06 ..
-rw-------  1 root root 418444958 Feb 19 21:50 blk0001.dat
drwx------  2 root root      4096 Feb 19 16:43 database
-rw-------  1 root root         0 Feb 19 16:43 db.log
-rw-------  1 root root 383084990 Feb 19 21:50 debug.log
-rw-------  1 root root         0 Feb 19 16:43 .lock
-rw-------  1 root root      9744 Feb 19 21:49 peers.dat
-rw-r--r--  1 root root        77 Feb 19 16:46 trollcoin.conf
drwx------  2 root root     12288 Feb 19 21:50 txleveldb
-rw-------  1 root root     81920 Feb 19 21:42 wallet.dat

Where i can find my purse ? How can i start a pool ?
What to do next?
Reply
#3
I am sorry, but if you cannot get your account address from the command line, building a pool is not the proper thing for you!

PS, its: getaccountaddress "" (to get your wallet address)
Reply
#4
Can you tell me where I can find the troll pool script with installing instruction, please?

(02-19-2018, 09:18 PM)trolladmin Wrote: I am sorry, but if you cannot get  your account address from the command line, building a pool is not the proper thing for you!

PS, its: getaccountaddress ""   (to get your wallet address)

No one was born learned. Appreciates that people are interested in this currency. The more the communion grows, the more the currency becomes more credible and the value increases.

Thanks for helping us!
Reply
#5
This is a good (and long) howto on how to get started:

https://github.com/MPOS/php-mpos/wiki/Quick-Start-Guide

Note, I use the MPOS stratum only option. Follow the link to https://github.com/zone117x/node-open-mi...MPOS-usage when it is mentioned.

good luck!
Reply
#6
Hi,

Here is my conf file:

cat trollcoin.conf


Code:
rpcuser=myuser
rpcpassword=mypass
rpcallowip=127.0.0.1
listen=1
daemon=1
server=1
gen=0
port=9562
rpcport=9563



cat trollcoin.json

Code:
{
   "enabled": true,
   "coin": "trollcoin.json",

   "address": "Twk3vDTv7rqphBqrWTDwiYiwHzANBimeeF",

   "rewardRecipients": {
       "TdggWNTqGucpmkLYz8r174Suu7saP2B3tu": 0.1,
       "TdggWNTqGucpmkLYz8r174Suu7saP2B3tu": 0.1
   },

   "paymentProcessing": {
       "enabled": true,
       "paymentInterval": 20,
       "minimumPayment": 70,
       "daemon": {
           "host": "127.0.0.1",
           "port": 9563,
           "user": "myuser",
           "password": "mypass"
       }
   },

   "ports": {
       "4008": {
           "diff": 8
       },
       "4032": {
           "diff": 32,
           "varDiff": {
               "minDiff": 8,
               "maxDiff": 512,
               "targetTime": 15,
               "retargetTime": 90,
               "variancePercent": 30
           }
       },
       "4256": {
           "diff": 256
       }
   },

   "daemons": [
       {
           "host": "127.0.0.1",
           "port": 9563,
           "user": "myuser",
           "password": "mypass"
       }
   ],

   "p2p": {
       "enabled": true,
       "host": "127.0.0.1",
       "port": 9562,
       "disableTransactions": true
   },


   "mposMode": {
       "enabled": false,
       "host": "127.0.0.1",
       "port": 3306,
       "user": "root",
       "password": "pass",
       "database": "mpos",
       "checkPassword": true,
       "autoCreateWorker": true
   }




}

1. Do we need to add nodes in trollcoin.conf?
2. What dif/vardiff should be set in trollcoin.json for each port ?
3. Why with current config we have 1343 blocks out of which 225 orphaned? Why so many orphaned?
4. Why we have 24023319 valid shares and  107444 invalid shares ? Why so many invalid ?
5. Can a pool / miner reach no. 1 before the proof of stake? https://chainz.cryptoid.info/troll/#!extraction


You can find here our pool stats: nomp.asicpool.org:8090
Reply
#7
Quote:1. Do we need to add nodes in trollcoin.conf?
2. What dif/vardiff should be set in trollcoin.json for each port ?
3. Why with current config we have 1343 blocks out of which 225 orphaned? Why so many orphaned?
4. Why we have 24023319 valid shares and  107444 invalid shares ? Why so many invalid ?
5. Can a pool / miner reach no. 1 before the proof of stake? https://chainz.cryptoid.info/troll/#!extraction

1: only if you have no connections
2. whatever you like, this depends on the intended user case, e.g. nicehash miners need a very high diff, whereas gpu miners need a lower diff. make sure it will be possible that miners can submit every 10-20 seconds a share. (roughly)
3. orphaned blocks are from staking, or is this in your pool?
4. percentage shoul be around 98-99 valid shares. I your diff is too high, you can submit a share after a block is found, and share is invalid then.
5. I don't know what you mean here exactly?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)