Search the Community
Showing results for tags 'pool'.
Found 4 results
How to setup a NOMP mining pool for Denarius. This is a basic guide to get someone headed in the right direction to getting a pool to work. I can run 2 coins on a $5 Vultr VPS with small hashrate, so far. Update Ubuntu 16.04 apt-get update apt-get dist-upgrade Create a swap file dd if=/dev/zero of=/mnt/myswap.swap bs=1M count=4000 mkswap /mnt/myswap.swap swapon /mnt/myswap.swap Create swap file to keep this persistent nano /etc/fstab Insert at the bottom of the file /mnt/myswap.swap none swap sw 0 0 Install required packages apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev apt-get install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-server add-apt-repository ppa:bitcoin/bitcoin apt-get update apt-get install libdb4.8-dev libdb4.8++-dev curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh source ~/.profile nvm install 0.10.25 nvm use 0.10.25 Make a new user since you aren't going to use root for this. dduser usernameyourwant Give new user sudo access adduser usernameyousetup sudo Reboot and login as the new user reboot Denarius Wallet Daemon Setup Get dependencies apt-get --assume-yes install git unzip build-essential libssl-dev libdb++-dev libboost-all-dev libcrypto++-dev libqrencode-dev libminiupnpc-dev libgmp-dev libgmp3-dev autoconf libevent-dev autogen automake libtool Compile Denarius Daemon git clone https://github.com/carsenk/denarius cd denarius git checkout master cd src make -f makefile.unix sudo mv ~/denarius/src/denariusd /usr/local/bin/denariusd Get chaindata and extract to .denarius folder apt-get -y install unzip cd ~/.denarius rm -rf database txleveldb smsgDB wget https://denarii.cloud/chaindata.zip unzip chaindata.zip Edit denarius.conf nano ~/.denarius/denarius.conf Insert this into denarius.conf rpcuser=denariusrpc rpcpassword=USERANDOMPASSWORDHERE!!! gen=0 server=1 listen=1 rpcallowip=127.0.0.1 rpcport=32369 daemon=1 Run the wallet so its syncing while you do this sudo denariusd --daemon Get a DNR address so the pool has a wallet. Save this address for a step below. Address goes into pool_configs/denarius.json eventually. denariusd getnewaddress Mining Pool Setup cd git clone https://github.com/buzzkillb/node-open-mining-portal nomp cd nomp #I had to run npm update twice before it worked right npm update You want to create a config.json in the main nomp directory. Replace your IP address and take note of changing port 8080 to some random port. Sample config.json https://pastebin.com/JFp5ZKq6 Create the Coin denarius.json under nomp/coins Sample denarius.json https://pastebin.com/XjiXVLCM Create the pool config for denarius under nomp/pool_configs. Replace DNRPOOLWALLETDAEMONADDRESS with address used from Denarius wallet daemon getnewaddress from above. Change DNRFEEPAYMENTADDRESS to your fee payment address and 1.0 is 1% fee. Use RPC user and pass that you have in your denarius.conf. Change ports and difficulty for your needs. Sample denarius.json https://pastebin.com/23F9Cfwq Starting the pool. cd cd nomp npm install [email protected] node init.js Now go your your IPADDRESS:PORT in your web browser and get to mining on your pool. I also disabled root access, password logins and only allow SSH key login to the new user.
First go to this script's github and read through the readme a few times. https://github.com/xavatar/yiimp_install_scrypt For a single coin pool, a $5 Vultr VPS Appears to work so far. This is 1 cpu, 1GB ram. Also grab a domain name from somewhere like namecheap with whois guard. You then want to create an A record that points the domain name to your VPS IP and let this propogate. This generally takes 1-2 hours. I use https://dnschecker.org/#A to check the DNS switched over. I setup the denarius daemon first to double check I can compile coins. Some cheaper VPS's will not allow swap drives to compile and even fake swap space doesn't work sometimes. A nice feature of Vultr is that you can upgrade and not lose your data. They still also allow free snapshots of your VPS. After you compile denariusd, start daemon. Note the RPC user and pass this randomly generates and copy and paste those somewhere. Edit the denarius.conf and add those and a couple other lines to start the daemon syncing. nano ~/.denarius/denarius.conf Add these lines. RPCUSERNAME=FROMABOVE RPCPASSWORD=FROMABOVE daemon=1 Restart denariusd and let that sync in the background and start the Yiimp script install. adduser pool usermod -aG sudo pool su - pool sudo apt-get -y install git git clone https://github.com/xavatar/yiimp_install_scrypt.git cd yiimp_install_scrypt/ sudo bash install.sh Use this link for the timezone you will input into the beginning of the script http://php.net/manual/en/timezones.php Keep everything as default. Yes you want to use letsencrypt so the domain is automatically setup for https. Also you need to grab your home IP so only that IP can login to the Yiimp control panel. Also need an email for alerts. Also you admin panel can be named anything which you get the option here. Example https://example.com/site/ICOULDNAMEMYADMINPANELTHIS. Inputting through the steps, sit back and watch the script go to work. This will take anywhere from 30min to over an hour depending on the VPS. After the initial setup is done, go to your new domain name and see the website is setup, but no coin is there to mine. At your panel click Wallets at the top of the menu bar and scroll down to see CREATE COIN. Fill in this Data thats underlined in red on the General Tab. Here is a direct link for a D logo. Which Yiimp automatically adds. https://i.imgur.com/jv3U2nF.png On the Settings tab checkmark similar things, and wait to add D addresses for once we are done setting up these tabs. On the Deamon tab fill in the underlined red. Click Save. Go back to that config screen by clicking COIN PROPERTIES. Go back to the Deamon tab and under sample config you want to copy and paste that entire area and paste into your denarius.conf file at ~/.denarius/denarius.conf At the VPS command line nano ~/.denarius/denarius.conf Change the last line blocknotify to this. Full denarius.conf example below. rpcuser=USERNAME rpcpassword=PASSWORD rpcport=32369 rpcthreads=8 rpcallowip=127.0.0.1 maxconnections=12 daemon=1 gen=0 alertnotify=echo %s | mail -s "Denarius alert!" [email protected] blocknotify=/var/stratum/blocknotify 127.0.0.1:8533 1425 %s Open up your firewall for port 8533 for mining and also allow 33369 for denarius daemon port. sudo ufw allow 8533 33369 Now stop denariusd from syncing earlier and rerun. Some sample tutorials are running this with sudo. Not sure if this is required. denariusd Once that gets syncing again we need an address. I did it like this. denariusd getnewaddress denariusd getaccountaddress default And I used that default address in the Settings Tab -> Master Wallet and Daemon Tab -> Account Go back into the Yiimp control panel, click wallets again at the top right and then Select Server and choose 127.0.01 to get your list of coins you have added. Once the daemon is done syncing go back to admin panel to the Settings Tab and click Enable and Auto Ready. Change the stratum script before running which is in that yiimp folder you cloned in. nano screen-stratum.sh And change to #!/bin/bash STRATUM_DIR=/var/stratum screen -dmS tribus $STRATUM_DIR/run.sh tribus I would remove root login access and remove password login for VPS login accounts and only use SSH keys, as a starting point to start locking the VPS down. 2 Things I changed from the default install. Payout Frequency to every hour. /var/web/serverconfig.php define('YAAMP_PAYMENTS_FREQ', 1*60*60); And somewhere I saw this helped with payout issues. /var/web/yaamp/core/backend/payment.php line57 if($coin->symbol == 'BOD' || $coin->symbol == 'D' || $coin->symbol == 'DIME' || $coin->symbol == 'BTCRY' || !empty($coin->payout_max)) If you are looking to edit the website text, go to https://github.com/tpruvot/yiimp And search a small portion of the text you are looking to change, and this will show you the file to edit.
BSOD.PW supports Denarius! Welcome to the world of lucky mining! http://bsod.pw ccminer -a tribus -o stratum+tcp://eu1.bsod.pw:2153 -u YOURWALLETADDRESS.rigname -p x -R 5 More than 15 000 lucky miners knows why it is worthy to mine with bsod.pw Telegram BSOD News https://t.me/bsodnews [EN] BSOD Support https://t.me/BsodPool_EN [RU] BSOD Support https://t.me/bsodpool Telegram bot (recommended miners and commands) - miners and configs http://t.me/bsodpw_bot BSOD Discord https://discord.gg/zwYddjX Twitter https://twitter.com/BsodPool Be wise. Be profitable. Happy mining! Your bsod.pw team.
Hello friends=) One realy interesting moment for me and for beginners I think. What pool is better in your opinion? Profit, speed and secure. Some tips maybe. Thanks for answers and sorry for my english