Pages:
Author

Topic: [ANN] DustCoin DUST 100% PoS Yobit ICO (v1.2) - page 8. (Read 25156 times)

newbie
Activity: 42
Merit: 0
Mandatory update (Release 1.2.0.0)
Please update before block 25000

This release fixes the stake rate:
Block 25000 to 31400 stake rate 1000%
Block 31401 and greater stake rate 100%

Windows: https://github.com/DustCoinProject/DustCoin/releases/download/1.2.0.0/dustcoin-qt_1.2.0.0.zip
Linux: https://github.com/DustCoinProject/DustCoin/releases/download/1.2.0.0/dustcoin-qt_1.2.0.0_linux.zip
newbie
Activity: 42
Merit: 0
I checked codebase of this coin and found that dev removed check for LAST_POW_BLOCK. It means that this coin still accept PoW blocks. Why it is important?
1) First of all, this coin has risk of double spends(anybody can create chain fork with desired length)
2) Coin uses shared difficulty_retarget and if anybody rent 10Gh(for instance) for 5 minutes to create PoW blocks not only PoW difficulty rises to infinity, but PoS difficulty too and blockchain will be stopped.

Your totally wrong about things here
newbie
Activity: 42
Merit: 0
I do not see any error in the code:

Code:
int64_t GetProofOfStakeReward(int64_t nCoinAge, int64_t nFees)
{
    int64_t nRewardCoinYear = 10 * COIN;

if (pindexBest->nHeight >= FORK_HEIGHT)
{
nRewardCoinYear = nRewardCoinYear * 100;
?
if (pindexBest->nHeight <= FORK_HEIGHT+3200)
{
nRewardCoinYear = nRewardCoinYear * 10;
}
}

    int64_t nSubsidy = nCoinAge * nRewardCoinYear / 365 / COIN;

    if (fDebug && GetBoolArg("-printcreation"))
        printf("GetProofOfStakeReward(): create=%s nCoinAge=%"PRId64"\n", FormatMoney(nSubsidy).c_str(), nCoinAge);

    return nSubsidy + nFees;
}
If I am seeing this right you are missing a bracket where the question mark is. Not a coder per say but seems that way to me.

Thanks, but its not missing a curly bracket. The if statement is nested.

you do not need a "?" for a nested statement.  just sayin.

Its not in the code
legendary
Activity: 1092
Merit: 1000
I checked codebase of this coin and found that dev removed check for LAST_POW_BLOCK. It means that this coin still accept PoW blocks. Why it is important?
1) First of all, this coin has risk of double spends(anybody can create chain fork with desired length)
2) Coin uses shared difficulty_retarget and if anybody rent 10Gh(for instance) for 5 minutes to create PoW blocks not only PoW difficulty rises to infinity, but PoS difficulty too and blockchain will be stopped.

I don't know about your 1st statement if PoW mining is possible or not,  Tongue
I did just try setgenerate true 4 in the console and it did not work to generate a PoW block,
if there are more commands, please share.

Your line 2 is totally wrong, PoS & PoW difficulty are not shared among any coin, they can't be , there are two independent ways to generate coins.

Same issue with the block freezing happened with PHS a few weeks ago, no big deal , as more blocks are available for staking the network returns to normal speed.   Smiley


 Cool
 
legendary
Activity: 1092
Merit: 1000
There seems to be a problem...  block generation appears to be stuck at 24547 with the last generated block being several hours ago.....

Hmm,

There are not yet enough blocks staking to keep the dust network running at the rated Block time of 100 seconds.
Easy Fix, no one recombine their blocks into only 1 block , let them split every time for the next few days.
Also when withdrawing dust from yobit, split up the amounts so it does not all come down in 1 block.
As the # of blocks increase the network will get closer to its normal network block time.   Cheesy

This looks like it is going to be a fun coin.

 Cool
newbie
Activity: 18
Merit: 0
There seems to be a problem...  block generation appears to be stuck at 24547 with the last generated block being several hours ago.....
full member
Activity: 168
Merit: 100
★YoBit.Net★ 350+ Coins Exchange & Dice
I do not see any error in the code:

Code:
int64_t GetProofOfStakeReward(int64_t nCoinAge, int64_t nFees)
{
    int64_t nRewardCoinYear = 10 * COIN;

if (pindexBest->nHeight >= FORK_HEIGHT)
{
nRewardCoinYear = nRewardCoinYear * 100;
?
if (pindexBest->nHeight <= FORK_HEIGHT+3200)
{
nRewardCoinYear = nRewardCoinYear * 10;
}
}

    int64_t nSubsidy = nCoinAge * nRewardCoinYear / 365 / COIN;

    if (fDebug && GetBoolArg("-printcreation"))
        printf("GetProofOfStakeReward(): create=%s nCoinAge=%"PRId64"\n", FormatMoney(nSubsidy).c_str(), nCoinAge);

    return nSubsidy + nFees;
}
If I am seeing this right you are missing a bracket where the question mark is. Not a coder per say but seems that way to me.

Thanks, but its not missing a curly bracket. The if statement is nested.

you do not need a "?" for a nested statement.  just sayin.
hero member
Activity: 630
Merit: 500
that ? still should not be there though lol.  I dont think it affects anything but it is just a random question mark lol
newbie
Activity: 42
Merit: 0
I do not see any error in the code:

Code:
int64_t GetProofOfStakeReward(int64_t nCoinAge, int64_t nFees)
{
    int64_t nRewardCoinYear = 10 * COIN;

if (pindexBest->nHeight >= FORK_HEIGHT)
{
nRewardCoinYear = nRewardCoinYear * 100;
?
if (pindexBest->nHeight <= FORK_HEIGHT+3200)
{
nRewardCoinYear = nRewardCoinYear * 10;
}
}

    int64_t nSubsidy = nCoinAge * nRewardCoinYear / 365 / COIN;

    if (fDebug && GetBoolArg("-printcreation"))
        printf("GetProofOfStakeReward(): create=%s nCoinAge=%"PRId64"\n", FormatMoney(nSubsidy).c_str(), nCoinAge);

    return nSubsidy + nFees;
}
If I am seeing this right you are missing a bracket where the question mark is. Not a coder per say but seems that way to me.

Thanks, but its not missing a curly bracket. The if statement is nested.
member
Activity: 110
Merit: 10
I do not see any error in the code:

Code:
int64_t GetProofOfStakeReward(int64_t nCoinAge, int64_t nFees)
{
    int64_t nRewardCoinYear = 10 * COIN;

if (pindexBest->nHeight >= FORK_HEIGHT)
{
nRewardCoinYear = nRewardCoinYear * 100;
?
if (pindexBest->nHeight <= FORK_HEIGHT+3200)
{
nRewardCoinYear = nRewardCoinYear * 10;
}
}

    int64_t nSubsidy = nCoinAge * nRewardCoinYear / 365 / COIN;

    if (fDebug && GetBoolArg("-printcreation"))
        printf("GetProofOfStakeReward(): create=%s nCoinAge=%"PRId64"\n", FormatMoney(nSubsidy).c_str(), nCoinAge);

    return nSubsidy + nFees;
}
If I am seeing this right you are missing a bracket where the question mark is. Not a coder per say but seems that way to me.
newbie
Activity: 42
Merit: 0
Oh good, hopefully the fix comes soon as the 1000% rate only lasts for 51.7 more hours if my calculations are correct.

I might extend it for some time as compensation.
hero member
Activity: 630
Merit: 500
Oh good, hopefully the fix comes soon as the 1000% rate only lasts for 51.7 more hours if my calculations are correct.
newbie
Activity: 42
Merit: 0
Why is everyone saying that the stake rate is 1000% when it clearly says on the ann that the stake rate is 100% ??

Because its 1000% from block 23200 to 26400

Ohh I see now lol so what the users aren't getting the stated stake rates then ?

Thats right, but I think I've found it already.
hero member
Activity: 630
Merit: 500
Why is everyone saying that the stake rate is 1000% when it clearly says on the ann that the stake rate is 100% ??

Because its 1000% from block 23200 to 26400

Ohh I see now lol so what the users aren't getting the stated stake rates then ?
newbie
Activity: 42
Merit: 0
Why is everyone saying that the stake rate is 1000% when it clearly says on the ann that the stake rate is 100% ??

Because its 1000% from block 23200 to 26400
hero member
Activity: 630
Merit: 500
Why is everyone saying that the stake rate is 1000% when it clearly says on the ann that the stake rate is 100% ??
newbie
Activity: 42
Merit: 0
you are right, was confused a bit. 23200-26400=10000*coin
26401=1000*coin


Strange right? It should give 1000% stake rate at the moment, but it does not.

I'm looking at the data type of the variables that are compared. One is 'int' (pindexBest->nHeight) and the other is 'int64_t' (FORK_HEIGHT) maybe thats why they don't compare very well. Still searching.

If anyone has an idea then please let me know.
newbie
Activity: 42
Merit: 0
dev, you russian?

No, I am good with Google translator.  Wink
sr. member
Activity: 322
Merit: 250
Let's make a new altcoin environment.
dev, you russian?
newbie
Activity: 42
Merit: 0
you are right, was confused a bit. 23200-26400=10000*coin
26401=1000*coin


Strange right? It should give 1000% stake rate at the moment, but it does not.

I'm looking at the data type of the variables that are compared. One is 'int' (pindexBest->nHeight) and the other is 'int64_t' (FORK_HEIGHT) maybe thats why they don't compare very well. Still searching.
Pages:
Jump to: