Bitcoin Forum
November 14, 2024, 11:34:49 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 [1059] 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 ... 1310 »
  Print  
Author Topic: [ANN] [XMG] MAGI | CPU mining | mPoW | mPoS | [MagiPay]  (Read 2375713 times)
deztroyr1
Full Member
***
Offline Offline

Activity: 284
Merit: 100



View Profile
December 27, 2017, 02:46:00 PM
 #21161

when is the hardfork expected to take place? would it be hours? days? weeks? moths?
considering temporarily mining something else as well. hoping to find out whether or not it is worth the trouble

▐▐   ▬▬▬▬▬   DeepOnion   ▬▬▬▬▬   ▌▌
████    40 PUBLIC AIRDROPS COMPLETED    TOR INTEGRATED    ████
▬▬▬▬   (✔) DeepVault Blockchain File Signatures  •  VoteCentral Your Vote Counts  •  deeponion.org   ▬▬▬▬
111magic
Legendary
*
Offline Offline

Activity: 1750
Merit: 1005



View Profile
December 27, 2017, 03:07:43 PM
 #21162

when is the hardfork expected to take place? would it be hours? days? weeks? moths?
considering temporarily mining something else as well. hoping to find out whether or not it is worth the trouble
We dont like to rush our dev's but personal i think max 48 hours! In the end dev's will give the info!

bitcoin: bc1qyadvvyv29z08ln2ta7g3uqwzkscr7wq4p09wuz
Nehemoth
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
December 27, 2017, 03:21:28 PM
 #21163

After the Hardfork would Magi be divided in 2 coins? (Like those forks which occurred with Bitcoin & Ethereum?)
No, there will be no services that will keep the old chain going - all that will happen is that magi clients will be updated and running on the updated wallet. It happened a few times in the past,

If people still run the old version of the wallet - they will effectively keep the old chain running - but there will be nothing to do with it as no exchanges etc will be working with that version - coins will not be lost - people will just need to update their magi client.

Thank you
seeksilence1
Newbie
*
Offline Offline

Activity: 86
Merit: 0


View Profile
December 27, 2017, 04:14:40 PM
 #21164


We dont like to rush our dev's but personal i think max 48 hours! In the end dev's will give the info!


Good to know. Only five days left to the end of 2017.
The Frisian
Legendary
*
Offline Offline

Activity: 1019
Merit: 1003


Senior Developer and founder of ViMeAv ICT


View Profile WWW
December 27, 2017, 06:47:06 PM
 #21165

when is the hardfork expected to take place? would it be hours? days? weeks? moths?
considering temporarily mining something else as well. hoping to find out whether or not it is worth the trouble
We dont like to rush our dev's but personal i think max 48 hours! In the end dev's will give the info!
Please wait a little longer.... Magi at bittrex is alive and kicking now.
When the mining starts again I expect a real MOAD. (Mother Of All Dumps)
111magic
Legendary
*
Offline Offline

Activity: 1750
Merit: 1005



View Profile
December 27, 2017, 06:49:12 PM
 #21166

Public test will be released with coming post from Joe.
If the results are good hardfork will be released!

bitcoin: bc1qyadvvyv29z08ln2ta7g3uqwzkscr7wq4p09wuz
s0litaire
Member
**
Offline Offline

Activity: 133
Merit: 15


View Profile
December 27, 2017, 06:56:45 PM
 #21167


Please wait a little longer.... Magi at bittrex is alive and kicking now.
When the mining starts again I expect a real MOAD. (Mother Of All Dumps)

Their is a joke about how much I've eaten the past few days there...

But I'm gonna keep it classy and not tell it Wink lol!
111magic
Legendary
*
Offline Offline

Activity: 1750
Merit: 1005



View Profile
December 27, 2017, 06:58:18 PM
 #21168


Please wait a little longer.... Magi at bittrex is alive and kicking now.
When the mining starts again I expect a real MOAD. (Mother Of All Dumps)

Their is a joke about how much I've eaten the past few days there...

But I'm gonna keep it classy and not tell it Wink lol!
You mean during your Christmas dinner?🙈

bitcoin: bc1qyadvvyv29z08ln2ta7g3uqwzkscr7wq4p09wuz
AetherPirate
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
December 27, 2017, 07:16:00 PM
 #21169

Why would the resumption of mining cause the price to dump?
The Frisian
Legendary
*
Offline Offline

Activity: 1019
Merit: 1003


Senior Developer and founder of ViMeAv ICT


View Profile WWW
December 27, 2017, 07:25:05 PM
Last edit: December 27, 2017, 07:38:21 PM by The Frisian
 #21170

Why would the resumption of mining cause the price to dump?
It doesn't, but when the mining stopped the price of XMG started to raise.
This was just a coincidence, I assume.
I guess it had more to do with the price lowering of BTC and people started investing in cryptos again.
There can be a max. of around 8000 XMG mined per day, this will have no influence on the price.
AetherPirate
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
December 27, 2017, 07:46:27 PM
 #21171

I was wondering if there was a perceived lack of supply, which caused the price to go up. People are weird.  

One thing I have noticed, is that XMG holds up quite well when BTC goes up, most other coins seem quite sensitive to that and crash.
abraxsis
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
December 27, 2017, 07:47:42 PM
 #21172

Why would the resumption of mining cause the price to dump?
It doesn't, but when the mining stopped the price of XMG started to raise.
This was just a coincidence, I assume.
I guess it had more to do with the price lowering of BTC and people started investing in cryptos again.
There can be a max. of around 8000 XMG mined per day, this will have no influence on the price.

I kind of felt the same, but from the idea that when people started discussing the hardfork the price started increasing. I assume people are buying it up in anticipation of the hardfork causing a short lived pump, which of course will be followed by a dump. The price increase is mainly the side effect of a possible
2-3x windfall. Just my opinion though.
alojz
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 27, 2017, 07:52:32 PM
Last edit: December 27, 2017, 08:19:08 PM by alojz
 #21173

Greetings all, especially dudes and dudettes from Telegram XMG chat Cheesy

while waiting for public tests etc i had some free time to make really simple dashboard where you can monitor your workers and see some coin prices.
Sorry if the code is not looking tidy etc, this was just for fun, but since there is the interest in this, i am posting it here

You just need to change XXX and YYYY from these API endpoints to work for your account
https://xmg.minerclaim.net/index.php?page=api&action=getuserbalance&api_key=XXX&id=YYYY

Top prices table can be changed too, just modify arrays for symbols you want to see Wink

Cheers!

https://i.imgur.com/3LbXgsw.jpg

Code:
<?php

function api_get($url,$request=array(),$content='text/xml') {
    
$curlopt_useragent 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)';
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL$url);
    
//curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: $content"));
    //curl_setopt($ch, CURLOPT_POST, TRUE);
    
curl_setopt($chCURLOPT_RETURNTRANSFERTRUE);
    
//curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_SSL_VERIFYHOSTfalse);
    
//curl_setopt($ch, CURLOPT_POSTFIELDS, $request);
    
$response curl_exec($ch);
    if (
curl_errno($ch)) {
      echo 
'<hr/>Curl error: ' curl_error($ch) . '<hr/>';
    }
    
curl_close($ch);
    return 
json_decode($response,true);
}


$currenciesAPI=array(
    
'BTC'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=BTC&tsyms=BTC,USD,EUR'),
        ),
    
'ETH'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=BTC,USD,EUR'),
        ),
    
'OTN'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=OTN&tsyms=BTC,USD,EUR'),
        ),
    
'XMG'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=XMG&tsyms=BTC,USD,EUR'),
        ),
);



$balanceXMG=api_get('https://xmg.minerclaim.net/index.php?page=api&action=getuserbalance&api_key=XXX&id=YYYY');
$workers=api_get('https://xmg.minerclaim.net/index.php?page=api&action=getuserworkers&api_key=XXX&id=YYYY');
$hashrate=api_get('https://xmg.minerclaim.net/index.php?page=api&action=getuserhashrate&api_key=XXX&id=YYYY');

?>

<!doctype html>
<html lang="en">
<head>
    <title>AJ's Crypto Monitor</title>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link rel="shortcut icon" href="http://jakobdesign.com/grafika/logo.png">
    
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
    
</head>
<body>

<div class="container">
  <div class="row align-items-start justify-content-md-center">
    <div class="col col-lg-4">
        <div class="alert alert-info" role="alert">
            <h4>AJ's Crypto Monitor</h4>
        </div>
    </div>
    <div class="col-lg-8">
        <table class="table table-striped table-dark table-bordered table-hover">
            <thead class="bg-info">
                <tr class="">
                    <th class="text-center">Coin Symbol</th>
                    <th class="text-center">BTC</th>
                    <th class="text-center">USD</th>
                    <th class="text-center">EUR</th>
                </tr>
            </thead>
            <tbody>
                
                <?php
                
foreach($currenciesAPI as $key=>$value){
                    
?>

                    <tr>
                        <td class="text-center"><?php echo $key;?></td>
                        <td class="text-right"><?php echo sprintf('%.8f'$value['prices']['BTC']);?></td>
                        <td class="text-right"><?php echo sprintf('%.4f'$value['prices']['USD']);?></td>
                        <td class="text-right"><?php echo sprintf('%.4f'$value['prices']['EUR']);?></td>
                    </tr>
                    <?php
                
}
                
?>

            </tbody>
        </table>
    </div>
  </div>
  <div class="row align-items-start justify-content-md-center">
    <div class="col col-lg-4">
        <div class="alert alert-primary" role="alert">
            <h5>XMG Mining pool</h5>
            <div>
                xmg.minerclaim.net
            </div>
            <hr/>
            <div class="row">
                <div class="col">
                    <b>Current price</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        <div class="alert alert-info" role="alert">
            My total hashrate: <?php echo $hashrate['getuserhashrate']['data'] ; ?> <b>KH/s</b>
        </div>
        
        <div class="alert alert-success" role="alert">
            <h5>Confirmed balance</h5>
            <hr/>
            <div class="row">
                <div class="col">
                    <?php echo sprintf('%.8f'$balanceXMG['getuserbalance']['data']['confirmed']) ; ?> <b>XMG</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['confirmed']*$currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['confirmed']*$currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        
        <div class="alert alert-warning" role="alert">
            <h5>Unconfirmed balance</h5>
            <hr/>
            <div class="row">
                <div class="col">
                    <?php echo sprintf('%.8f'$balanceXMG['getuserbalance']['data']['unconfirmed']) ; ?> <b>XMG</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['unconfirmed']*$currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['unconfirmed']*$currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        
        <div class="alert alert-secondary" role="alert">
            <h5>Orphaned balance</h5>
            <hr/>
            <div class="row">
                <div class="col">
                    <?php echo sprintf('%.8f'$balanceXMG['getuserbalance']['data']['orphaned']) ; ?> <b>XMG</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['orphaned']*$currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['orphaned']*$currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        
    </div>
    
    <div class="col-lg-8">
        <table class="table table-striped table-dark table-bordered table-hover">
            <thead class="bg-info">
                <tr class="">
                    <th>Worker</th>
                    <th>Status</th>
                    <th>Hashrate</th>
                    <th>Difficulty</th>
                </tr>
            </thead>
            <tbody>
                
                <?php
                
//testing online:
                //$workers['getuserworkers']['data'][2]['hashrate']=12.2;
                
                
foreach($workers['getuserworkers']['data'] as $w){
                
?>

                <tr <?php echo (($w['hashrate']==0)?' class="bg-warning"':'');?>>
                    <td><?php echo $w['username'];?></td>
                    <td <?php echo (($w['hashrate']==0)?' class="bg-danger"':' class="bg-success"');?>><?php echo (($w['hashrate']==0)?'offline':'online');?></td>
                    <td class="text-right"><?php echo $w['hashrate'];?> <b>KH/s</b></td>
                    <td class="text-right"><?php echo sprintf('%.8f',$w['difficulty']);?></td>
                </tr>
                <?php
                
}
                
?>

            </tbody>
        </table>
    </div>
  </div>
</div>





</body>
</html>
Nehemoth
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
December 27, 2017, 07:59:47 PM
 #21174

Greetings all, especially dudes and dudettes from Telegram XMG chat Cheesy

while waiting for public tests etc i had some free time to make really simple dashboard where you can monitor your workers and see some coin prices.
Sorry if the code is not looking tidy etc, this was just for fun, but since there is the interest in this, i am posting it here

Cheers!

http://storage5.static.itmages.com/i/17/1227/h_1514404493_1427295_639d63012a.png

Code:
<?php

function api_get($url,$request=array(),$content='text/xml') {
    
$curlopt_useragent 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)';
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL$url);
    
//curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: $content"));
    //curl_setopt($ch, CURLOPT_POST, TRUE);
    
curl_setopt($chCURLOPT_RETURNTRANSFERTRUE);
    
//curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_SSL_VERIFYHOSTfalse);
    
//curl_setopt($ch, CURLOPT_POSTFIELDS, $request);
    
$response curl_exec($ch);
    if (
curl_errno($ch)) {
      echo 
'<hr/>Curl error: ' curl_error($ch) . '<hr/>';
    }
    
curl_close($ch);
    return 
json_decode($response,true);
}


$currenciesAPI=array(
    
'BTC'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=BTC&tsyms=BTC,USD,EUR'),
        ),
    
'ETH'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=BTC,USD,EUR'),
        ),
    
'OTN'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=OTN&tsyms=BTC,USD,EUR'),
        ),
    
'XMG'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=XMG&tsyms=BTC,USD,EUR'),
        ),
);



$balanceXMG=api_get('https://xmg.minerclaim.net/index.php?page=api&action=getuserbalance&api_key=XXX&id=YYYY');
$workers=api_get('https://xmg.minerclaim.net/index.php?page=api&action=getuserworkers&api_key=XXX&id=YYYY');
$hashrate=api_get('https://xmg.minerclaim.net/index.php?page=api&action=getuserhashrate&api_key=XXX&id=YYYY');

?>

<!doctype html>
<html lang="en">
<head>
    <title>AJ's Crypto Monitor</title>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link rel="shortcut icon" href="http://jakobdesign.com/grafika/logo.png">
    
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
    
</head>
<body>

<div class="container">
  <div class="row align-items-start justify-content-md-center">
    <div class="col col-lg-4">
        <div class="alert alert-info" role="alert">
            <h4>AJ's Crypto Monitor</h4>
        </div>
    </div>
    <div class="col-lg-8">
        <table class="table table-striped table-dark table-bordered table-hover">
            <thead class="bg-info">
                <tr class="">
                    <th class="text-center">Coin Symbol</th>
                    <th class="text-center">BTC</th>
                    <th class="text-center">USD</th>
                    <th class="text-center">EUR</th>
                </tr>
            </thead>
            <tbody>
                
                <?php
                
foreach($currenciesAPI as $key=>$value){
                    
?>

                    <tr>
                        <td class="text-center"><?php echo $key;?></td>
                        <td class="text-right"><?php echo sprintf('%.8f'$value['prices']['BTC']);?></td>
                        <td class="text-right"><?php echo sprintf('%.4f'$value['prices']['USD']);?></td>
                        <td class="text-right"><?php echo sprintf('%.4f'$value['prices']['EUR']);?></td>
                    </tr>
                    <?php
                
}
                
?>

            </tbody>
        </table>
    </div>
  </div>
  <div class="row align-items-start justify-content-md-center">
    <div class="col col-lg-4">
        <div class="alert alert-primary" role="alert">
            <h5>XMG Mining pool</h5>
            <div>
                xmg.minerclaim.net
            </div>
            <hr/>
            <div class="row">
                <div class="col">
                    <b>Current price</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        <div class="alert alert-info" role="alert">
            My total hashrate: <?php echo $hashrate['getuserhashrate']['data'] ; ?> <b>KH/s</b>
        </div>
        
        <div class="alert alert-success" role="alert">
            <h5>Confirmed balance</h5>
            <hr/>
            <div class="row">
                <div class="col">
                    <?php echo sprintf('%.8f'$balanceXMG['getuserbalance']['data']['confirmed']) ; ?> <b>XMG</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['confirmed']*$currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['confirmed']*$currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        
        <div class="alert alert-warning" role="alert">
            <h5>Unconfirmed balance</h5>
            <hr/>
            <div class="row">
                <div class="col">
                    <?php echo sprintf('%.8f'$balanceXMG['getuserbalance']['data']['unconfirmed']) ; ?> <b>XMG</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['unconfirmed']*$currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['unconfirmed']*$currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        
        <div class="alert alert-secondary" role="alert">
            <h5>Orphaned balance</h5>
            <hr/>
            <div class="row">
                <div class="col">
                    <?php echo sprintf('%.8f'$balanceXMG['getuserbalance']['data']['orphaned']) ; ?> <b>XMG</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['orphaned']*$currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['orphaned']*$currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        
    </div>
    
    <div class="col-lg-8">
        <table class="table table-striped table-dark table-bordered table-hover">
            <thead class="bg-info">
                <tr class="">
                    <th>Worker</th>
                    <th>Status</th>
                    <th>Hashrate</th>
                    <th>Difficulty</th>
                </tr>
            </thead>
            <tbody>
                
                <?php
                
//testing online:
                //$workers['getuserworkers']['data'][2]['hashrate']=12.2;
                
                
foreach($workers['getuserworkers']['data'] as $w){
                
?>

                <tr <?php echo (($w['hashrate']==0)?' class="bg-warning"':'');?>>
                    <td><?php echo $w['username'];?></td>
                    <td <?php echo (($w['hashrate']==0)?' class="bg-danger"':' class="bg-success"');?>><?php echo (($w['hashrate']==0)?'offline':'online');?></td>
                    <td class="text-right"><?php echo $w['hashrate'];?> <b>KH/s</b></td>
                    <td class="text-right"><?php echo sprintf('%.8f',$w['difficulty']);?></td>
                </tr>
                <?php
                
}
                
?>

            </tbody>
        </table>
    </div>
  </div>
</div>





</body>
</html>

Would be nice if a failure notification can be added. For example, send an email if suddenly I left mining.
A great option for unattended devices.
The Frisian
Legendary
*
Offline Offline

Activity: 1019
Merit: 1003


Senior Developer and founder of ViMeAv ICT


View Profile WWW
December 27, 2017, 08:10:42 PM
 #21175

I kind of felt the same, but from the idea that when people started discussing the hardfork the price started increasing. I assume people are buying it up in anticipation of the hardfork causing a short lived pump, which of course will be followed by a dump. The price increase is mainly the side effect of a possible
2-3x windfall. Just my opinion though.

Maybe not such a bad assumption at all, we will see what happens after the hardfork.
111magic
Legendary
*
Offline Offline

Activity: 1750
Merit: 1005



View Profile
December 27, 2017, 08:23:26 PM
 #21176

Greetings all, especially dudes and dudettes from Telegram XMG chat Cheesy

while waiting for public tests etc i had some free time to make really simple dashboard where you can monitor your workers and see some coin prices.
Sorry if the code is not looking tidy etc, this was just for fun, but since there is the interest in this, i am posting it here

You just need to change XXX and YYYY from these API endpoints to work for your account
https://xmg.minerclaim.net/index.php?page=api&action=getuserbalance&api_key=XXX&id=YYYY

Top prices table can be changed too, just modify arrays for symbols you want to see Wink



Code:
<?php

function api_get($url,$request=array(),$content='text/xml') {
    
$curlopt_useragent 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)';
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL$url);
    
//curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: $content"));
    //curl_setopt($ch, CURLOPT_POST, TRUE);
    
curl_setopt($chCURLOPT_RETURNTRANSFERTRUE);
    
//curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_SSL_VERIFYHOSTfalse);
    
//curl_setopt($ch, CURLOPT_POSTFIELDS, $request);
    
$response curl_exec($ch);
    if (
curl_errno($ch)) {
      echo 
'<hr/>Curl error: ' curl_error($ch) . '<hr/>';
    }
    
curl_close($ch);
    return 
json_decode($response,true);
}


$currenciesAPI=array(
    
'BTC'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=BTC&tsyms=BTC,USD,EUR'),
        ),
    
'ETH'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=BTC,USD,EUR'),
        ),
    
'OTN'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=OTN&tsyms=BTC,USD,EUR'),
        ),
    
'XMG'=>array(
            
'prices'=>api_get('https://min-api.cryptocompare.com/data/price?fsym=XMG&tsyms=BTC,USD,EUR'),
        ),
);



$balanceXMG=api_get('https://xmg.minerclaim.net/index.php?page=api&action=getuserbalance&api_key=XXX&id=YYYY');
$workers=api_get('https://xmg.minerclaim.net/index.php?page=api&action=getuserworkers&api_key=XXX&id=YYYY');
$hashrate=api_get('https://xmg.minerclaim.net/index.php?page=api&action=getuserhashrate&api_key=XXX&id=YYYY');

?>

<!doctype html>
<html lang="en">
<head>
    <title>AJ's Crypto Monitor</title>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link rel="shortcut icon" href="http://jakobdesign.com/grafika/logo.png">
    
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
    
</head>
<body>

<div class="container">
  <div class="row align-items-start justify-content-md-center">
    <div class="col col-lg-4">
        <div class="alert alert-info" role="alert">
            <h4>AJ's Crypto Monitor</h4>
        </div>
    </div>
    <div class="col-lg-8">
        <table class="table table-striped table-dark table-bordered table-hover">
            <thead class="bg-info">
                <tr class="">
                    <th class="text-center">Coin Symbol</th>
                    <th class="text-center">BTC</th>
                    <th class="text-center">USD</th>
                    <th class="text-center">EUR</th>
                </tr>
            </thead>
            <tbody>
                
                <?php
                
foreach($currenciesAPI as $key=>$value){
                    
?>

                    <tr>
                        <td class="text-center"><?php echo $key;?></td>
                        <td class="text-right"><?php echo sprintf('%.8f'$value['prices']['BTC']);?></td>
                        <td class="text-right"><?php echo sprintf('%.4f'$value['prices']['USD']);?></td>
                        <td class="text-right"><?php echo sprintf('%.4f'$value['prices']['EUR']);?></td>
                    </tr>
                    <?php
                
}
                
?>

            </tbody>
        </table>
    </div>
  </div>
  <div class="row align-items-start justify-content-md-center">
    <div class="col col-lg-4">
        <div class="alert alert-primary" role="alert">
            <h5>XMG Mining pool</h5>
            <div>
                xmg.minerclaim.net
            </div>
            <hr/>
            <div class="row">
                <div class="col">
                    <b>Current price</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        <div class="alert alert-info" role="alert">
            My total hashrate: <?php echo $hashrate['getuserhashrate']['data'] ; ?> <b>KH/s</b>
        </div>
        
        <div class="alert alert-success" role="alert">
            <h5>Confirmed balance</h5>
            <hr/>
            <div class="row">
                <div class="col">
                    <?php echo sprintf('%.8f'$balanceXMG['getuserbalance']['data']['confirmed']) ; ?> <b>XMG</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['confirmed']*$currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['confirmed']*$currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        
        <div class="alert alert-warning" role="alert">
            <h5>Unconfirmed balance</h5>
            <hr/>
            <div class="row">
                <div class="col">
                    <?php echo sprintf('%.8f'$balanceXMG['getuserbalance']['data']['unconfirmed']) ; ?> <b>XMG</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['unconfirmed']*$currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['unconfirmed']*$currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        
        <div class="alert alert-secondary" role="alert">
            <h5>Orphaned balance</h5>
            <hr/>
            <div class="row">
                <div class="col">
                    <?php echo sprintf('%.8f'$balanceXMG['getuserbalance']['data']['orphaned']) ; ?> <b>XMG</b>
                </div>
                <div class="col">
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['orphaned']*$currenciesAPI['XMG']['prices']['USD'],4); ?> <b>$</b>
                    </div>
                    <div class="clearfix"></div>
                    <div class="float-right">
                        <?php echo round($balanceXMG['getuserbalance']['data']['orphaned']*$currenciesAPI['XMG']['prices']['EUR'],4); ?> <b>€</b>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        
    </div>
    
    <div class="col-lg-8">
        <table class="table table-striped table-dark table-bordered table-hover">
            <thead class="bg-info">
                <tr class="">
                    <th>Worker</th>
                    <th>Status</th>
                    <th>Hashrate</th>
                    <th>Difficulty</th>
                </tr>
            </thead>
            <tbody>
                
                <?php
                
//testing online:
                //$workers['getuserworkers']['data'][2]['hashrate']=12.2;
                
                
foreach($workers['getuserworkers']['data'] as $w){
                
?>

                <tr <?php echo (($w['hashrate']==0)?' class="bg-warning"':'');?>>
                    <td><?php echo $w['username'];?></td>
                    <td <?php echo (($w['hashrate']==0)?' class="bg-danger"':' class="bg-success"');?>><?php echo (($w['hashrate']==0)?'offline':'online');?></td>
                    <td class="text-right"><?php echo $w['hashrate'];?> <b>KH/s</b></td>
                    <td class="text-right"><?php echo sprintf('%.8f',$w['difficulty']);?></td>
                </tr>
                <?php
                
}
                
?>

            </tbody>
        </table>
    </div>
  </div>
</div>





</body>
</html>

bitcoin: bc1qyadvvyv29z08ln2ta7g3uqwzkscr7wq4p09wuz
jbkel3496
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
December 27, 2017, 08:55:48 PM
 #21177

Trying to compile on windows, not having any luck.
Sc0urg3r
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 27, 2017, 09:39:30 PM
 #21178

Hello,

I'm new here and trying to get the m-wallet to run on my MacBook Pro. However, its not currently "Synchronizing with the network". I also dont know where to locate the magi.conf file after copying the m-wallet to my Applications folder. Can anyone here help point me in the right direction or link to older posts that may answer my questions?
jbkel3496
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
December 27, 2017, 09:42:19 PM
 #21179

Hello,

I'm new here and trying to get the m-wallet to run on my MacBook Pro. However, its not currently "Synchronizing with the network". I also dont know where to locate the magi.conf file after copying the m-wallet to my Applications folder. Can anyone here help point me in the right direction or link to older posts that may answer my questions?

There should be an option in the wallet itself to go directly to the conf file, If I remember right it is a button. Hope this helps.
abraxsis
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
December 27, 2017, 11:51:57 PM
 #21180

Hello,

I'm new here and trying to get the m-wallet to run on my MacBook Pro. However, its not currently "Synchronizing with the network". I also dont know where to locate the magi.conf file after copying the m-wallet to my Applications folder. Can anyone here help point me in the right direction or link to older posts that may answer my questions?

Here is a write up I did on reddit's magicoin subreddit. It should explain everything.

https: //www.reddit.com/r/coinmagi/comments/7gqbhf/tutorial_and_info_mac_os_x_and_mwallet_aka_where/
Pages: « 1 ... 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 [1059] 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 ... 1310 »
  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!