twats
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 12:05:23 PM |
|
|
|
|
|
ZaZ59
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 85
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 01:35:40 PM |
|
Hm, what do you need? Let me know specs so that I can make a custom API call if you want?
A custom API (json?) that returns the current difficulty and the reward ? My goal is to add XMG on my site ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
|
joelao95 (OP)
Legendary
Offline
Activity: 1190
Merit: 1009
Coin of the Magi!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 03:06:29 PM |
|
Hm, what do you need? Let me know specs so that I can make a custom API call if you want?
A custom API (json?) that returns the current difficulty and the reward ? My goal is to add XMG on my site ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Will this work for you?  getnewblockvaluebynumber 174196 { "flags" : "proof-of-work", "difficulty" : 2.40458289, "difficulty-V2" : 1.66967352, "blockvalue" : 12.39547783 } difficulty is the actual value; difficulty-V2 is the value calculated by https://github.com/magi-project/magi/blob/master/src/main.cpp#L968, i.e., rDiff as in the formula I posted.
|
|
|
|
ZaZ59
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 85
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 03:15:49 PM |
|
Hm, what do you need? Let me know specs so that I can make a custom API call if you want?
A custom API (json?) that returns the current difficulty and the reward ? My goal is to add XMG on my site ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Will this work for you?  getnewblockvaluebynumber 174196 { "flags" : "proof-of-work", "difficulty" : 2.40458289, "difficulty-V2" : 1.66967352, "blockvalue" : 12.39547783 } difficulty is the actual value; difficulty-V2 is the value calculated by https://github.com/magi-project/magi/blob/master/src/main.cpp#L968, i.e., rDiff as in the formula I posted. it's perfect but i am looking for a way witout wallet...
|
|
|
|
joelao95 (OP)
Legendary
Offline
Activity: 1190
Merit: 1009
Coin of the Magi!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 03:38:49 PM |
|
Will this work for you?  getnewblockvaluebynumber 174196 { "flags" : "proof-of-work", "difficulty" : 2.40458289, "difficulty-V2" : 1.66967352, "blockvalue" : 12.39547783 } difficulty is the actual value; difficulty-V2 is the value calculated by https://github.com/magi-project/magi/blob/master/src/main.cpp#L968, i.e., rDiff as in the formula I posted. it's perfect but i am looking for a way witout wallet... We must have the difficulty data to feed into the formula, what's alternative you'd use to access difficulty? Once we can get that, it would be easy by using https://github.com/magi-project/magi/blob/master/src/main.cpp#L968
|
|
|
|
ZaZ59
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 85
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 03:47:21 PM |
|
|
|
|
|
joelao95 (OP)
Legendary
Offline
Activity: 1190
Merit: 1009
Coin of the Magi!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 04:59:26 PM |
|
Alright, we need a little figure on this. What needed are recent 2000 blocks' difficulty and also noticed the block time used in calculation too. So most straightforward is to access the wallet's api then; either, let me look into hosting a JSON API in my server to access block value. Are you trying to add a mining calculator? http://www.altcoinprofitability.com  { "hashrate (kh/s)" : 100.00000000, "difficulty" : 1.26654813, "difficulty(aver)" : 2.29402066, "blockvalue" : 2.52426217, "mining (XMG)" : { "1 hour" : 0.09223161, "1 day" : 2.21355856, "1 week" : 15.49490990 } just another option.
|
|
|
|
joelao95 (OP)
Legendary
Offline
Activity: 1190
Merit: 1009
Coin of the Magi!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 05:17:02 PM |
|
I just thought of a simple way to calculate average diff. You can simply sum up diff of past 100 blocks and then divide it by 100, which is a simple average. This way won't differ much than the actual value; this method should be better than using the diff-V2 since for mining calculator, the more stable value, the better.
|
|
|
|
ZaZ59
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 85
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 05:24:52 PM |
|
Alright, we need a little figure on this. What needed are recent 2000 blocks' difficulty and also noticed the block time used in calculation too. So most straightforward is to access the wallet's api then; either, let me look into hosting a JSON API in my server to access block value. Are you trying to add a mining calculator? http://www.altcoinprofitability.com The second option is better for me, if u can host a JSON API with a private key for example.. then i will add your coin on my website ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
djm34
Legendary
Offline
Activity: 1400
Merit: 1050
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 06:05:07 PM |
|
Is it possible to increase the transfer limit (back to what it was), it is a bit ennoying how it is (especially as I don't know what is the limit but I know that I had to split some deposit and even while transfering to one address in my wallet)
|
djm34 facebook pageBTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
|
|
|
111magic
Legendary
Offline
Activity: 1750
Merit: 1005
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 06:50:08 PM |
|
Hm, what do you need? Let me know specs so that I can make a custom API call if you want?
A custom API (json?) that returns the current difficulty and the reward ? My goal is to add XMG on my site ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) What kind of website do you mean amigo?
|
bitcoin: bc1qyadvvyv29z08ln2ta7g3uqwzkscr7wq4p09wuz
|
|
|
|
111magic
Legendary
Offline
Activity: 1750
Merit: 1005
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 07:33:27 PM |
|
Looks nice! Keep us informed! ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
bitcoin: bc1qyadvvyv29z08ln2ta7g3uqwzkscr7wq4p09wuz
|
|
|
ZaZ59
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 85
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 07:43:39 PM |
|
Looks nice! Keep us informed! ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Ty, for sure but it does not depend on me alone ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
|
djm34
Legendary
Offline
Activity: 1400
Merit: 1050
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 07:55:26 PM |
|
Looks nice! Keep us informed! ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Ty, for sure but it does not depend on me alone ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) the number are a little off for nvidia
|
djm34 facebook pageBTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
|
|
|
ZaZ59
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 85
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 08:27:58 PM |
|
the number are a little off for nvidia
tell me which cards / algo, ty
|
|
|
|
joelao95 (OP)
Legendary
Offline
Activity: 1190
Merit: 1009
Coin of the Magi!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 08:56:26 PM |
|
Is it possible to increase the transfer limit (back to what it was), it is a bit ennoying how it is (especially as I don't know what is the limit but I know that I had to split some deposit and even while transfering to one address in my wallet)
Is that something "Transaction creation failed" error? if so that could be due to a large number of inputs used to create transaction especially when sending a big amount of coins.
|
|
|
|
djm34
Legendary
Offline
Activity: 1400
Merit: 1050
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2015, 09:46:00 PM |
|
the number are a little off for nvidia
tell me which cards / algo, ty x11/keccak and neoscrypt for the gtx980 (need to check for keccak though)
|
djm34 facebook pageBTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
|
|
|
|
|