Bitcoin Forum
November 08, 2024, 05:19:45 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: [XMG] Coin Magi - CPU mining guide  (Read 28171 times)
joelao95 (OP)
Legendary
*
Offline Offline

Activity: 1190
Merit: 1009


Coin of the Magi!


View Profile
November 06, 2014, 05:59:37 AM
Last edit: December 06, 2014, 05:45:04 AM by joelao95
 #1



     
Freenode IRC: #magi  |   Skype: coin.magi  |   Email: support@coinmagi.org

MagiPub | MagiMining | MagiDev | MagiCampaign | Website | Downloads | Source code



The official thread of Magi (XMG) is here: https://bitcointalk.org/index.php?topic=735170.0

Coin Magi (XMG) utilizes a unique M7M algorithm that allows only CPU Mining. XMG also has at the first time implemented a particularly designed block rewarding system to enable FAIRNESS in the distribution of coins among miners. By removing the competitive nature of mining, XMG offers an even playing field for anyone looking to mine cryptocurrencies without expensive equipment.

A revised version of XMG's PoW mining algorithm (https://bitcointalk.org/index.php?topic=735170.msg9230961#msg9230961) has been done recently. This algorithm utilizes iterative sequential algorithm and numerical computation operating through GMP floating points to disable parallel implement, such as using GPU.

The following covers CPU mining through VPS and miners compiled by Spexx and MarcusDe. The guides were initially posted in the OP.  Guides here are still under updating...

# Minerd (source code)
   A simplified miner enclosed a few compilations: download link
   Spexx's guide and miner dowloads
   MarcusDe's guide and miner dowloads (generic miner)
   VPS mining, cygwin compilation (windows)
   Compile and run CPU miner on Mac OS
   How to run a minerd

[XMG] M7M CPU mining discussion thread: https://bitcointalk.org/index.php?topic=859820.0 (please report your hash rate too)


  Coin MAGI  . XMG   
Coin Source : Trust Verified    [ ★ ★ ★ ★ ★ ★ ★ ]
  ♓.NΣTWORK-DΣPΣNDΣNT  RΣWARDING SYSTΣM  ※ 
  ANN THREAD MAGIPAY FAQ FORUM
.CPU Mining   PoS-II   PoM   Unique Block Reward 
joelao95 (OP)
Legendary
*
Offline Offline

Activity: 1190
Merit: 1009


Coin of the Magi!


View Profile
November 06, 2014, 05:59:57 AM
 #2

[VPS mining guide]

Register your VPS through the following referral link to support this project:
Digitalocean: https://www.digitalocean.com/?refcode=0881d086fee6
VULTR: http://www.vultr.com/?ref=6812659
Through the referral link, Digitalocean gives free credit which allows free VPS service.

This guild covers VPS setting up, compiling cpuminer and running pool or solo mining.

1) Set up a VPS server.

2) Get the login information from the email received (IP and password), typically
Code:
ssh root@IP
This is a command to ssh login the VPS. You'lll need to figure out ssh, for example, http://www.putty.org/ for windows.

3) Once login, copy and paste the following commands (you can choose different username than magi)
Code:
adduser magi
follow instructions to set up a user (only need to create password)

Code:
/usr/sbin/visudo
edit this section (add line"magi ..."):
Quote
## User privilege specification
root    ALL=(ALL:ALL) ALL
magi   ALL=(ALL:ALL) ALL

4) Exit and ssh again with (i.e., regular user login rather prior root user)
Code:
ssh magi@IP

5) Upgrade and install packages:
Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git screen automake build-essential libboost-all-dev libdb5.1-dev libdb5.1++-dev libminiupnpc-dev libcurl4-openssl-dev libgmp-dev
(input your password if asking)

6) This is a need if you choose 512 M memory during VPS creation
Code:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile

Turn on swap permanently by adding it to the fstab file:
Code:
sudo nano /etc/fstab
 /swapfile       none    swap    sw      0       0

DON'T do the following steps unless you know what they mean:
Code:
sudo swapon -s
sudo swapoff /swapfile
sudo rm /swapfile

7) Compile cpuminer (copy and past following command)
Code:
cd
git clone https://github.com/noncepool/m7magi-cpuminer-v2
cd m7magi-cpuminer-v2
./autogen.sh
CFLAGS="-O3" ./configure
make
sudo cp minerd /usr/local/bin
(notice any errors, let me know if you stuck somewhere)

8-) Pool mining
We need put the miner a screen session so it will run even when we logout VPS:
Code:
screen -S magi
To use Nonce-pool:
Code:
minerd -o stratum+tcp://mine2.magi.nonce-pool.com:4090 -u <username> -p <password>
To use Suprnova pool:
Code:
minerd -o stratum+tcp://xmg.suprnova.cc:7128 -u <username> -p <password>
<username> and <password> are the worker and password you setup in the pool (check the pool website for info; ask me if you don't know how to set it up)
Press “CTRL+a” and then press “D” to detach from the screen session (get back to prior command line). Under regular command line you can check if the screen section is alive:
Code:
screen -ls
If you remember (i.e., magi), simply issue
Code:
screen -r magi
to back to the mining screen. You logout/login to check if the mining is still going on.
Quote
Press “CTRL+A+D”;
Code:
exit
ssh magi@IP
screen -r magi

Basically you're done pool mining!

If you interested to solo mining, please continue reading.

9) Compile and run Magi wallet
Code:
cd
git clone https://github.com/magi-project/magi
cd magi/src
make -f makefile.unix
Create a conf file which should be in the folder: ~/.magi (magi is the user we created)
(magi.conf is not necessary, unless you will sole mine; use more complicated pass as you like)
Code:
cd ~/.magi
emacs magi.conf
emacs is text edit tool, use any you like. save the following content:
Quote
daemon=1
server=1
rpcport=8232
rpcallowip=127.0.0.1
rpcuser=rpcuser
rpcpassword=rpcpass

Code:
cd ~/magi/src
./magid &
The last command runs the daemon.

10) Solo mining
Code:
./minerd --url http://127.0.0.1:8232 --user rpcuser --pass rpcpass --threads <number of threads>
8232 is rpcport, rpcuser and rpcpass are user and password you set in magi.conf
set <number of threads> to a number, matching with the threads of your needs.


  Coin MAGI  . XMG   
Coin Source : Trust Verified    [ ★ ★ ★ ★ ★ ★ ★ ]
  ♓.NΣTWORK-DΣPΣNDΣNT  RΣWARDING SYSTΣM  ※ 
  ANN THREAD MAGIPAY FAQ FORUM
.CPU Mining   PoS-II   PoM   Unique Block Reward 
joelao95 (OP)
Legendary
*
Offline Offline

Activity: 1190
Merit: 1009


Coin of the Magi!


View Profile
November 06, 2014, 06:00:08 AM
Last edit: November 18, 2014, 02:17:49 AM by joelao95
 #3

The following package is purely for simplicity. I didn't yet compare the hash rate, so it may not give you the best result, but the interface is pretty straightforward. It's not a re-compilation of the source code, but rather a collection of a few minerds, to allow one to choose from a menu. The basic running is the same as using command line parameters; I will do some optimizations later on.

http://coinmagi.org/files/magi-minerd/Magi-miner.zip



Let me know if you run into any problems.


  Coin MAGI  . XMG   
Coin Source : Trust Verified    [ ★ ★ ★ ★ ★ ★ ★ ]
  ♓.NΣTWORK-DΣPΣNDΣNT  RΣWARDING SYSTΣM  ※ 
  ANN THREAD MAGIPAY FAQ FORUM
.CPU Mining   PoS-II   PoM   Unique Block Reward 
joelao95 (OP)
Legendary
*
Offline Offline

Activity: 1190
Merit: 1009


Coin of the Magi!


View Profile
November 06, 2014, 06:00:27 AM
Last edit: November 18, 2014, 04:14:19 AM by joelao95
 #4

[Compile and run CPU miner on Mac OS]

1. Ensure Xcode and the command line tools are installed.

2. Download and Install MacPorts: http://www.macports.org/install.php

3. Install libraries
Open up app "Terminal"
Code:
sudo port selfupdate
sudo port install git openssl gmp

4. Compile minerd
Code:
git clone https://github.com/noncepool/m7magi-cpuminer-v2
cd m7magi-cpuminer-v2
./autogen.sh
./nomacro.pl
./configure CFLAGS="-O3" CXXFLAGS="-O3"
make

5. start minerd
For example, nonce-pool:
Code:
minerd -o stratum+tcp://mine2.magi.nonce-pool.com:4090 -u <username.worker> -p <password>
Suprnova pool:
Code:
minerd -o stratum+tcp://xmg.suprnova.cc:7128 -u <username.worker> -p <password>
<username.worker> and <password> should be set up in a pool.


  Coin MAGI  . XMG   
Coin Source : Trust Verified    [ ★ ★ ★ ★ ★ ★ ★ ]
  ♓.NΣTWORK-DΣPΣNDΣNT  RΣWARDING SYSTΣM  ※ 
  ANN THREAD MAGIPAY FAQ FORUM
.CPU Mining   PoS-II   PoM   Unique Block Reward 
joelao95 (OP)
Legendary
*
Offline Offline

Activity: 1190
Merit: 1009


Coin of the Magi!


View Profile
November 06, 2014, 06:00:41 AM
Last edit: December 06, 2014, 05:44:20 AM by joelao95
 #5

This is Spexx's windows CPU miner and guide posted on December 03, 2014:
https://bitcointalk.org/index.php?topic=735170.msg9732786#msg9732786

New Windows XMG Magi Mining Software Release

I wanted the fastest possible Windows miner. I thought I could do even better than before but got bogged down in details. So I contacted the Vulcans for their purely logical take on things, but they just kept on muttering about the High Council having decreed that time travel was impossible so no joy there. I tried using The Force, but was tempted by the Dark Side and had to turn back. Finally I had a word with a young bespectacled boy who taught me how to use a birch twig. I waved it about in front of my compiler, shouted "Gofasteramus" and there was this bright flash of blue light with smoke everywhere. When the smoke had cleared, I had a newer, faster generic minerd.exe which needed no dll files at all plus two even faster minerd.exes to support CPUs with the AVX and AVX2 instruction sets. Whoa that's a result Cheesy

So, armed with these and the 32 bit miner, plus the fact we now have 6 mining pools to choose from, it was time to re-write the entire support suite. I have now included all the 32 bit and 64 bit stuff in one package. The new autominer will support up to 8 mining pools and spread your hashing power among them if you want. It will auto-detect your CPU and version of Windows and select the appropriate minerd.exe for you. It has never been easier.

The new software is available now on the usual links. Please note that the 32 bit and 64 bit versions are now one and the same thing, but I have maintained all the old links for compatibility, only changing the names to protect the innocent.

Full package:-

.rar https://www.dropbox.com/s/hiadf8o5u7bsit7/XMGpoolminerWin64.rar?dl=0
.rar https://www.dropbox.com/s/dii8cvz7lp8xuey/XMGpoolminerWin32.rar?dl=0

.zip https://www.dropbox.com/s/6hmlajdp0qgmcfi/XMGpoolminerWin64.zip?dl=0
.zip https://www.dropbox.com/s/rwb4xvkv15kpol1/XMGpoolminerWin32.zip?dl=0

self-extracting .exe (extracts to C:\XMGminer by default) https://www.dropbox.com/s/dw7yjssjrrqp0m1/XMGpoolminerWin64.exe?dl=0
self-extracting .exe (extracts to C:\XMGminer by default) https://www.dropbox.com/s/qlak24sxn6ookaz/XMGpoolminerWin32.exe?dl=0

Minerd binaries only:-

.rar https://www.dropbox.com/s/q8puq9w6uc240mx/Spexx-Win64-generic-XMGminerd.rar?dl=0
.rar https://www.dropbox.com/s/5nikel2wglhpsrk/Spexx-Win32-generic-XMGminerd.rar?dl=0

.zip https://www.dropbox.com/s/o8i726sxnwe2wxa/Spexx-Win64-generic-XMGminerd.zip?dl=0
.zip https://www.dropbox.com/s/ti8rnetlqmin4t1/Spexx-Win32-generic-XMGminerd.zip?dl=0

self-extracting .exe (extracts to C:\XMGminer by default) https://www.dropbox.com/s/uudj2npeyixesjb/Spexx-Win64-generic-XMGminerd.exe?dl=0
self-extracting .exe (extracts to C:\XMGminer by default) https://www.dropbox.com/s/z8mjcrxavgnfalu/Spexx-Win32-generic-XMGminerd.exe?dl=0

New link - Setup only - it downloads the rest for you - disable your anti-virus first.

self-extracting .exe (extracts to C:\XMGminer by default) https://www.dropbox.com/s/re3bp3oem4uh31w/XMGminer-Win-Setup.exe?dl=0

This last link contains only two files, Setup.bat and wget.exe. Download, extract and run Setup.bat. Simples. This new package does not over-write your Myminer.bat file, nor any minerd.exe or dlls in the installation folder. It is fully compatible with your existing Myminer.bat file and will run up just the way it did before, only better. To gain the full benefits from this release, you will need to run the Setup.bat which creates a new Myminer.bat file for you.

Now because some anti-virus software dislikes stuff like wget.exe and minerd.exe, you will probably need to disable your anti-virus temporarily to allow the installation to proceed unhindered, then add an exception in the anti-virus to ignore the mining software in future. Other than that, it ought to work like a dream.

Any problems, then please report here and I will try to advise. Don't just tell me you "get an error" - be specific or I might just ignore you Cheesy

There is a whole lot more that I should be telling you, but you don't want to read this - you want to get on and have a play with the new software don't you? Go ahead - make my day Cheesy


  Coin MAGI  . XMG   
Coin Source : Trust Verified    [ ★ ★ ★ ★ ★ ★ ★ ]
  ♓.NΣTWORK-DΣPΣNDΣNT  RΣWARDING SYSTΣM  ※ 
  ANN THREAD MAGIPAY FAQ FORUM
.CPU Mining   PoS-II   PoM   Unique Block Reward 
JimmyTaylor
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile WWW
November 30, 2014, 11:33:16 AM
 #6

We need spexx to post his guide here or maybe you can do this joelao95 and any other miners necessary.

I'm following magi on twitter now @coinmagi

Coin Magi the First M7M coin defeating botnets and benefiting community at large. join irc for rain of xmg https://kiwiirc.com/client/irc.freenode.net/#magi
willpv2
Full Member
***
Offline Offline

Activity: 130
Merit: 100

Always trying to learn more.


View Profile WWW
December 07, 2014, 04:02:37 PM
 #7

How do you solo mine?

Currently Holding: SWIFT(BitSwift) & XMG(Magi)

InvestFeed coming soon: https://www.investfeed.com/?rec=661f1bb
JimmyTaylor
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile WWW
December 09, 2014, 08:03:04 PM
 #8

How do you solo mine?

Setup magi.conf with IP port and password for local solo mining. Then mine with the miner using local ip and RPC port / username

Coin Magi the First M7M coin defeating botnets and benefiting community at large. join irc for rain of xmg https://kiwiirc.com/client/irc.freenode.net/#magi
AviationAtom
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
January 25, 2015, 02:59:26 PM
 #9

I have a one time use $100 DigitalOcean code, if anyone wants it. Existing users should be able to use it too.
Mergesort
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
January 30, 2015, 03:28:04 PM
Last edit: January 30, 2015, 05:55:12 PM by Mergesort
 #10

Is there any other Service like Google cloud computing where you get a free trial?

You can use Microsoft Azure with over 16 cores(up to 32)! 150$ free trial.
Use this tutorial up to the point where you have to install the miner.
http://www.reddit.com/r/dogecoin/comments/1tm0ku/a_noobs_guide_to_mining_dogecoin_on_the_windows/
Then use joelao95 tut from step 5 skiping step 6(azure got enough ram) and go though step 7 and the rest works the same.

955bWqfWfNUuhgPXVQDGLwhhFXgpq9abip for tip Wink
th3.r00t
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile WWW
January 31, 2015, 11:10:21 PM
 #11

I have a one time use $100 DigitalOcean code, if anyone wants it. Existing users should be able to use it too.

I surely would appreciate it!  Smiley

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
bitsum
Sr. Member
****
Offline Offline

Activity: 279
Merit: 250


View Profile
February 02, 2015, 05:13:13 PM
 #12

can i exchange this coin for btc anywhere?

jawitech
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
February 02, 2015, 08:04:18 PM
 #13

can i exchange this coin for btc anywhere?

It's listed on several exchanges (XMG/BTC). Bittrex, Poloniex, C-Cex, Bleutrade, Cryptoine, Comkort and others. Check the ANN thread for more details.
https://bitcointalk.org/index.php?topic=735170.0
jawitech
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
February 09, 2015, 08:26:55 PM
 #14

can i exchange this coin for btc anywhere?

It's listed on several exchanges (XMG/BTC). Bittrex, Poloniex, C-Cex, Bleutrade, Cryptoine, Comkort and others. Check the ANN thread for more details.
https://bitcointalk.org/index.php?topic=735170.0

A nice overview of the exchanges where you can trade Magi

http://exchangewar.info/coinprice?XMG_BTC
Erkallys
Legendary
*
Offline Offline

Activity: 1120
Merit: 1004



View Profile
March 06, 2015, 06:25:01 PM
 #15

Why does the multiplex don't work with my i5-3570k on Suprnova ? I'm on Spexx's.
Spexx
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


Mining Co-operative


View Profile
March 06, 2015, 09:36:24 PM
 #16

Why does the multiplex don't work with my i5-3570k on Suprnova ? I'm on Spexx's.

The most likely reason for having problems only in Multiplex mode is the Worker configuration. If you choose Single Worker then it should function much the same as Simplex mode. If you choose Multiple Workers then it requires prior setup on the mining pool. Multiple Workers needs multiple workers! These should be numbered sequentially e.g Worker0, Worker1, Worker2, Worker4 etc and the starting number (zero in this case) has to be specified to the Setup.bat configuration.

Hope this helps Smiley

Erkallys
Legendary
*
Offline Offline

Activity: 1120
Merit: 1004



View Profile
March 06, 2015, 09:37:35 PM
Last edit: March 06, 2015, 09:49:55 PM by Erkallys
 #17

Why does the multiplex don't work with my i5-3570k on Suprnova ? I'm on Spexx's.

The most likely reason for having problems only in Multiplex mode is the Worker configuration. If you choose Single Worker then it should function much the same as Simplex mode. If you choose Multiple Workers then it requires prior setup on the mining pool. Multiple Workers needs multiple workers! These should be numbered sequentially e.g Worker0, Worker1, Worker2, Worker4 etc and the starting number (zero in this case) has to be specified to the Setup.bat configuration.

Hope this helps Smiley

I will test that now !

Edit : It worked Wink ! Thank you ! You're the best !

A small question : can I except something from a Raspberry Pi 2 ?
josef2000
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


Bro, you need to try http://dadice.com


View Profile WWW
March 06, 2015, 10:07:56 PM
 #18

I somehow cant get any profit from it...
I tried to mine with 4 computers, only with 0.003 magi per round... THATS TOO LITTLE!
If you mine Cryptonight with my cpus, like Bytecoin, Quarzcoin etc you get much more profit...

███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
█   ⚂⚄⚀⚃⚅⚁    ██  d a d i c e  ██    Next Generation Dice Game
• Low 1% house edge. • Provably Fair.  
███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
digibob00
Member
**
Offline Offline

Activity: 176
Merit: 10


View Profile WWW
March 06, 2015, 10:42:36 PM
 #19

Why does the multiplex don't work with my i5-3570k on Suprnova ? I'm on Spexx's.

The most likely reason for having problems only in Multiplex mode is the Worker configuration. If you choose Single Worker then it should function much the same as Simplex mode. If you choose Multiple Workers then it requires prior setup on the mining pool. Multiple Workers needs multiple workers! These should be numbered sequentially e.g Worker0, Worker1, Worker2, Worker4 etc and the starting number (zero in this case) has to be specified to the Setup.bat configuration.

Hope this helps Smiley

I will test that now !

Edit : It worked Wink ! Thank you ! You're the best !

A small question : can I except something from a Raspberry Pi 2 ?

Hi erkallys,

maybe, but for the moment i'm rebuilding the code with pure arm neon asm, but it take time.

Regards
Erkallys
Legendary
*
Offline Offline

Activity: 1120
Merit: 1004



View Profile
March 07, 2015, 06:44:40 AM
 #20

I somehow cant get any profit from it...
I tried to mine with 4 computers, only with 0.003 magi per round... THATS TOO LITTLE!
If you mine Cryptonight with my cpus, like Bytecoin, Quarzcoin etc you get much more profit...

Yesterday I mined 8 hours and got 1.4 XMG with 1 computer. Cryptonight is CPU algo ?
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!