Bitcoin Forum
June 30, 2024, 01:22:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 [27] 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 »
  Print  
Author Topic: [ANN] SMAC - Accounts have been suspended project closed  (Read 65797 times)
UNO_owner
Sr. Member
****
Offline Offline

Activity: 299
Merit: 250



View Profile
March 10, 2015, 03:47:51 PM
 #521

You guys really gave those kids 55 btc?  Huh

Yeap Cheesy

And if they play it smart they can make another 55 BTC by just buying up the cheap coins and then pump to da moon like SWIFT Cheesy

Yes.  Hopefully the kids know what they are doing.

SMAC-Media (OP)
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
March 10, 2015, 04:23:10 PM
 #522

We will be releasing a newsletter later today.
Penn.3D
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


View Profile
March 10, 2015, 04:50:51 PM
 #523

Dev thank you for ignoring this nonsense. It's amazing how quickly a troll or two can make a respectable thread take a nose dive. Thank you and looking forward to the newsletter!
boxxa
Sr. Member
****
Offline Offline

Activity: 310
Merit: 250


View Profile
March 10, 2015, 05:03:03 PM
 #524

I will also confirm that the SMAC staking is working as designed. The only difference why this is less than the 1% is that these coins were not all sent in the same TX so their ages are different. Otherwise, my staking is right about 1% as promised in the original code.

{
    "version" : "v1.0.0.0-g32a928e",
    "protocolversion" : 60013,
    "walletversion" : 60000,
    "balance" : 1264.58924251,
    "newmint" : 0.00000000,
    "stake" : 9.51307390,
    "blocks" : 7749,
    "timeoffset" : 0,
    "moneysupply" : 547947.27193920,
    "connections" : 19,
    "proxy" : "",
    "difficulty" : {
        "proof-of-work" : 10.25114353,
        "proof-of-stake" : 0.00024414
    },
    "testnet" : false,
    "keypoololdest" : 1425171163,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00000000,
    "errors" : ""
}

I dont know how to embed video but this is appropriate.

Bob Marley - Jammin' https://www.youtube.com/watch?v=oFRbZJXjWIA
Soul_eater_123
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
March 10, 2015, 05:16:25 PM
 #525

I will also confirm that the SMAC staking is working as designed. The only difference why this is less than the 1% is that these coins were not all sent in the same TX so their ages are different. Otherwise, my staking is right about 1% as promised in the original code....


I too can confirm that my staking appears to be working correctly.
Stenull
Hero Member
*****
Offline Offline

Activity: 585
Merit: 500


View Profile
March 10, 2015, 05:19:12 PM
 #526

I will also confirm that the SMAC staking is working as designed. The only difference why this is less than the 1% is that these coins were not all sent in the same TX so their ages are different. Otherwise, my staking is right about 1% as promised in the original code....


I too can confirm that my staking appears to be working correctly.

I too!

Change...is in the air.
You know why
boxxa
Sr. Member
****
Offline Offline

Activity: 310
Merit: 250


View Profile
March 10, 2015, 05:20:41 PM
 #527

Thanks for the feed back!
Soul_eater_123
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
March 10, 2015, 05:30:23 PM
 #528

Just a couple of points I feel are relevant to SMAC:-

I've used Shapeshift.io (http://shapeshift.io) multiple times and it has worked really well.  Shapeshift is a decentralised/trustless exchange platform.  You pick what cryptocurrency you want to exchange, put in your addresses and the transfer is done as instantly as the relevant blockchains allow.  It's very useful if you're in a hurry and don't want to mess around on regular exchanges/fighting bots etc.  It also allows you to buy in large quantities without it pushing the price around.

Might be a bit premature but it would be great to get SMAC on there.  I've already mentioned it to them on chat and they have said that they are looking at adding more cryptos based on interest.  The more people that request it the higher it should be on their radar.

Also SendChat are looking for alt coins to add to their platform (https://twitter.com/SendChat/status/575182733061808128) - this might be a good fit for SMAC.  Might be an idea to respond to their tweet and let them know as with shapeshift.
boxxa
Sr. Member
****
Offline Offline

Activity: 310
Merit: 250


View Profile
March 10, 2015, 05:44:04 PM
Last edit: March 10, 2015, 05:55:25 PM by boxxa
 #529

I have been in touch with a few platforms already. Since we are a new coin, they are hesitant which is understandable so they don't continually add and remove coins. Shapeshift is one we have an eye on and originally spoke to them almost a month ago. Their API is powerful and they are definitely something we want to look at but we do need to build the resources to show that use first.

As our value grows, we will end on more and more platforms. To grow value, the new developments will increase use so not only do we have revenue streams reentering the market but also more of a demand for the coin to expand its reach. The first phase was the investor coin to buy and hold, now we build!


SMAC is on CoinMarketCap so we are expanding =)
http://coinmarketcap.com/currencies/smac/
Stenull
Hero Member
*****
Offline Offline

Activity: 585
Merit: 500


View Profile
March 10, 2015, 06:25:34 PM
 #530

We will be releasing a newsletter later today.

Looking forward to some great news!

Change...is in the air.
You know why
Stenull
Hero Member
*****
Offline Offline

Activity: 585
Merit: 500


View Profile
March 10, 2015, 08:42:30 PM
 #531

How can there be a buffer overflow? 64 bit integer max val is 9223372036854775807.
Or is there any other function overflowing this stack position? i must writing on the most significant bit hens the negative number.

Change...is in the air.
You know why
UNO_owner
Sr. Member
****
Offline Offline

Activity: 299
Merit: 250



View Profile
March 10, 2015, 09:30:55 PM
 #532

Well, i guess this explains why i just staked a 5000 input and got 2.34947107 coins.

placebo
Legendary
*
Offline Offline

Activity: 1120
Merit: 1000


View Profile
March 10, 2015, 09:35:32 PM
 #533

So anyway, there's a buffer overflow in the Proof of Stake implementation which I've mentioned before but I guess I'm getting ignored. This basically means if you are staking a block of 253 or more coins, you won't receive a full Proof of Stake payout based on 365% interest.

Here's some simulation code based on staking 300 coins.

Code:
#include <stdio.h>
#include <sys/types.h>

int main(void) {
    // SMAC
    int64_t nDays = 1;
    int64_t nCoins = 300;

    int64_t CENT = 1000000;
    int64_t COIN = 100000000;
    int64_t MAX_MINT_PROOF_OF_STAKE = 1 * CENT;
    int64_t nRewardCoinYear = 365 * MAX_MINT_PROOF_OF_STAKE; // Month 1 - 365% interest
    int64_t nCoinAge = nDays * nCoins * COIN;

    int64_t nSubsidy = nCoinAge * nRewardCoinYear / 365 / COIN; // SMAC code

    printf("nSubsidy= %lld\n", nSubsidy);
}

So that is a buffer overflow.

Result is:
nSubsidy = -205390248

Actual result should be:
nSubsidy = 300000000

Or 3 SMAC.

So if you can find a block which has paid out more than 3 SMAC in Proof of Stake interest during the 365% interest period, you can prove me wrong.  Well to be exact, if you can find a PoS payment of more than 2.53 SMAC during the 365% interest period, you can prove me wrong.

The worst case scenario is for people staking more. I feel bad for those people as their investment isn't fully paying out.  For example with 3000 SMAC, staking for 1 day you should receive 30 SMAC.  For 30000 SMAC, staking for 1 day you should receive 300 SMAC.... So yes, 1% per day since minimum stake age is 1 day.


Those it matter? If the same rule applies to everybody then it really doesn't matter at all, less coins, so value is higher. Maybe less staking but more trading, is that bad? Of course not.
Soul_eater_123
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
March 10, 2015, 09:38:35 PM
 #534

So anyway, there's a buffer overflow in the Proof of Stake implementation which I've mentioned before but I guess I'm getting ignored. This basically means if you are staking a block of 253 or more coins, you won't receive a full Proof of Stake payout based on 365% interest.

Here's some simulation code based on staking 300 coins.

Code:
#include <stdio.h>
#include <sys/types.h>

int main(void) {
    // SMAC
    int64_t nDays = 1;
    int64_t nCoins = 300;

    int64_t CENT = 1000000;
    int64_t COIN = 100000000;
    int64_t MAX_MINT_PROOF_OF_STAKE = 1 * CENT;
    int64_t nRewardCoinYear = 365 * MAX_MINT_PROOF_OF_STAKE; // Month 1 - 365% interest
    int64_t nCoinAge = nDays * nCoins * COIN;

    int64_t nSubsidy = nCoinAge * nRewardCoinYear / 365 / COIN; // SMAC code

    printf("nSubsidy= %lld\n", nSubsidy);
}

So that is a buffer overflow.

Result is:
nSubsidy = -205390248

Actual result should be:
nSubsidy = 300000000

Or 3 SMAC.

So if you can find a block which has paid out more than 3 SMAC in Proof of Stake interest during the 365% interest period, you can prove me wrong.  Well to be exact, if you can find a PoS payment of more than 2.53 SMAC during the 365% interest period, you can prove me wrong.

The worst case scenario is for people staking more. I feel bad for those people as their investment isn't fully paying out.  For example with 3000 SMAC, staking for 1 day you should receive 30 SMAC.  For 30000 SMAC, staking for 1 day you should receive 300 SMAC.... So yes, 1% per day since minimum stake age is 1 day.



Thanks for spotting this.  Hopefully this can be sorted out soon.  I'm not too bothered about lower stakes but others might be so it is best to get it corrected.
UNO_owner
Sr. Member
****
Offline Offline

Activity: 299
Merit: 250



View Profile
March 10, 2015, 09:54:52 PM
 #535


Those it matter? If the same rule applies to everybody then it really doesn't matter at all, less coins, so value is higher. Maybe less staking but more trading, is that bad? Of course not.

Jesus.  Of course it fucking matters.

chinchs
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000



View Profile
March 10, 2015, 10:32:51 PM
 #536


Those it matter? If the same rule applies to everybody then it really doesn't matter at all, less coins, so value is higher. Maybe less staking but more trading, is that bad? Of course not.

Jesus.  Of course it fucking matters.

Not everything is the price and the amount of coins (for some could be good, for others can be bad). what really matters is the gap between the promises and the reality, if they fail to deliver, it makes look bad the coin. Anyways, this is not bad if it is already fixed (I really appreciate ppl who can spot they own mistakes and work with the community to solve them).
wurstgelee
Hero Member
*****
Offline Offline

Activity: 840
Merit: 500


View Profile
March 10, 2015, 10:36:04 PM
Last edit: March 10, 2015, 10:46:49 PM by wurstgelee
 #537

How can there be a buffer overflow? 64 bit integer max val is 9223372036854775807.
Or is there any other function overflowing this stack position? i must writing on the most significant bit hens the negative number.

The result of nCoinAge * nRewardCoinYear for 300 coins is 10950000000000000000 (or higher depending on coinage). Buffer overflow.


Easy fix though:

Code:
#include <stdio.h>
#include <sys/types.h>

int main(void) {
    // SMAC
    int64_t nDays = 1;
    int64_t nCoins = 300;

    int64_t CENT = 1000000;
    int64_t COIN = 100000000;
    int64_t MAX_MINT_PROOF_OF_STAKE = 1 * CENT ;
    int64_t nRewardCoinYear = 365 * MAX_MINT_PROOF_OF_STAKE; // Month 1 - 365% interest
    int64_t nCoinAge = nDays * nCoins;                                                                               //MODIFIED CODE

    int64_t nSubsidy = nCoinAge * nRewardCoinYear / 365; // SMAC code -                                  MODIFIED CODE

    printf("nSubsidy= %lld\n", nSubsidy);
}

Problem solved.



Those it matter? If the same rule applies to everybody then it really doesn't matter at all, less coins, so value is higher. Maybe less staking but more trading, is that bad? Of course not.

Jesus.  Of course it fucking matters.

Yes, it does. Fixing needed asap.

wurstgelee
Hero Member
*****
Offline Offline

Activity: 840
Merit: 500


View Profile
March 10, 2015, 10:49:38 PM
 #538

I reconsidered.

OH NOES! ABANDON SHIP! DUMP DUMP DUMP! oO

:p

boxxa
Sr. Member
****
Offline Offline

Activity: 310
Merit: 250


View Profile
March 10, 2015, 10:58:02 PM
 #539

Thank you for the contribution to this. I don't think we have seen a wallet this bug but will submit the change to our repo and have the wallet updates for this.

This is the great community effort to submit a fix to a seen problem in open source code.

DM me your wallet address for some SMAC.


How can there be a buffer overflow? 64 bit integer max val is 9223372036854775807.
Or is there any other function overflowing this stack position? i must writing on the most significant bit hens the negative number.

The result of nCoinAge * nRewardCoinYear for 300 coins is 10950000000000000000 (or higher depending on coinage). Buffer overflow.


Easy fix though:

Code:
#include <stdio.h>
#include <sys/types.h>

int main(void) {
    // SMAC
    int64_t nDays = 1;
    int64_t nCoins = 300;

    int64_t CENT = 1000000;
    int64_t COIN = 100000000;
    int64_t MAX_MINT_PROOF_OF_STAKE = 1 * CENT ;
    int64_t nRewardCoinYear = 365 * MAX_MINT_PROOF_OF_STAKE; // Month 1 - 365% interest
    int64_t nCoinAge = nDays * nCoins;                                                                               //MODIFIED CODE

    int64_t nSubsidy = nCoinAge * nRewardCoinYear / 365; // SMAC code -                                  MODIFIED CODE

    printf("nSubsidy= %lld\n", nSubsidy);
}

Problem solved.



Those it matter? If the same rule applies to everybody then it really doesn't matter at all, less coins, so value is higher. Maybe less staking but more trading, is that bad? Of course not.

Jesus.  Of course it fucking matters.

Yes, it does. Fixing needed asap.
Soul_eater_123
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
March 10, 2015, 11:05:58 PM
 #540

Thank you for the contribution to this. I don't think we have seen a wallet this bug but will submit the change to our repo and have the wallet updates for this.

This is the great community effort to submit a fix to a seen problem in open source code.

DM me your wallet address for some SMAC.


How can there be a buffer overflow? 64 bit integer max val is 9223372036854775807.
Or is there any other function overflowing this stack position? i must writing on the most significant bit hens the negative number.

The result of nCoinAge * nRewardCoinYear for 300 coins is 10950000000000000000 (or higher depending on coinage). Buffer overflow.


Easy fix though:

Code:
#include <stdio.h>
#include <sys/types.h>

int main(void) {
    // SMAC
    int64_t nDays = 1;
    int64_t nCoins = 300;

    int64_t CENT = 1000000;
    int64_t COIN = 100000000;
    int64_t MAX_MINT_PROOF_OF_STAKE = 1 * CENT ;
    int64_t nRewardCoinYear = 365 * MAX_MINT_PROOF_OF_STAKE; // Month 1 - 365% interest
    int64_t nCoinAge = nDays * nCoins;                                                                               //MODIFIED CODE

    int64_t nSubsidy = nCoinAge * nRewardCoinYear / 365; // SMAC code -                                  MODIFIED CODE

    printf("nSubsidy= %lld\n", nSubsidy);
}

Problem solved.



Those it matter? If the same rule applies to everybody then it really doesn't matter at all, less coins, so value is higher. Maybe less staking but more trading, is that bad? Of course not.

Jesus.  Of course it fucking matters.

Yes, it does. Fixing needed asap.

I think Julian should receive some reward as well as he was the one who initially pointed out the specific issue.  In addition I think a fund to pay out bounties for code errors would be a good idea - it is community minded individuals like JYAP & Wurstglee who help protect those of us like me who don't have the ability or the patience to go through the code.  We should welcome their input and make sure that they are rewarded.  This only serves to improve the code and hence the currency for everyone.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 [27] 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 »
  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!