Bitcoin Forum
December 17, 2017, 02:52:17 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 [845] 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 ... 1017 »
  Print  
Author Topic: [ANN] [MINT] Mintcoin (POS / 5%) [NO ICO] [Fair distro, community maintained]  (Read 1324035 times)
MarSas
Hero Member
*****
Offline Offline

Activity: 565


View Profile
December 17, 2014, 06:56:50 AM
 #16881

Sgk, there is an issue with the network.
1513522337
Hero Member
*
Offline Offline

Posts: 1513522337

View Profile Personal Message (Offline)

Ignore
1513522337
Reply with quote  #2

1513522337
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513522337
Hero Member
*
Offline Offline

Posts: 1513522337

View Profile Personal Message (Offline)

Ignore
1513522337
Reply with quote  #2

1513522337
Report to moderator
1513522337
Hero Member
*
Offline Offline

Posts: 1513522337

View Profile Personal Message (Offline)

Ignore
1513522337
Reply with quote  #2

1513522337
Report to moderator
Derek492
Sr. Member
****
Offline Offline

Activity: 357



View Profile
December 17, 2014, 01:34:35 PM
 #16882

So we are basically stuck at block 1051199 until a fix comes out? What exactly caused this though, something quirky in the code?
 Roll Eyes

Stop Mining.   Start Minting.   Mintcoin  [MINT]
5% annual minting reward. Mintcoins don't wear out like mining gear. They keep on minting!
Derek492
Sr. Member
****
Offline Offline

Activity: 357



View Profile
December 17, 2014, 01:37:07 PM
 #16883

It could be issue:
https://github.com/zeitcoin/zeitcoin/issues/7

- we have to fix it, too.

Good luck!

Ray

Quote
The PoS blocks since block #1051200 would be rejected by the network as GetProofOfWorkReward is called with different nHeight argument value for the same block in CreateCoinStake and ConnectInputs functions.

So what are all the available options for fixing this?

Stop Mining.   Start Minting.   Mintcoin  [MINT]
5% annual minting reward. Mintcoins don't wear out like mining gear. They keep on minting!
Rent_a_Ray
Hero Member
*****
Offline Offline

Activity: 938


ZeitKnight


View Profile WWW
December 17, 2014, 02:11:48 PM
 #16884

Somewhere here starts the issue:
https://github.com/mintcoinproject/mintcoin/blob/master/src/main.cpp#L967

Followed by:
Code:
if(nHeight < YEARLY_BLOCKCOUNT)
nRewardCoinYear = 4 * MAX_MINT_PROOF_OF_STAKE;
else if(nHeight < (2 * YEARLY_BLOCKCOUNT))
nRewardCoinYear = 3 * MAX_MINT_PROOF_OF_STAKE;
else if(nHeight < (3 * YEARLY_BLOCKCOUNT))
nRewardCoinYear = 2 * MAX_MINT_PROOF_OF_STAKE;'

nHeight is the blockcount since genesis block (0)...

I'm not sure if the below will work as a fix for our problem - it's from JackPotCoin:

https://github.com/mintcoinproject/mintcoin/blob/master/src/main.cpp#L1392
Quote

    - if (nStakeReward > GetProofOfStakeReward(nCoinAge, pindexBlock->nBits, nTime, pindexBlock) - GetMinFee() + MIN_TX_FEE)
    + if (nStakeReward > GetProofOfStakeReward(nCoinAge, pindexBlock->nBits, nTime, pindexBlock->pprev) - GetMinFee() + MIN_TX_FEE)

BEE7:
But as you already hit the first PoS reward decrease you need to insert the conditions and make a hardfork. I would consider to rework the fix if I were you. It makes the GetProofOfStakeReward calling context the same in all cases: then the GetProofOfStakeReward is called always on 'previous' block. So, the condition is changed for adjusting the reward for a single block in the whole chain and always make +1 to the number of previous PoS blocks. I already counted two clones of your work, so it could make sense.

Cheers,
Ray

PS:
https://github.com/rtc29462/JackpotCoin/commit/a33ee2d792922887573780e9427c69b52026b9c0#diff-7ec3c68a81efff79b6ca22ac1f1eabbaR1379

Looks like +1 issue between create and verification.
coolbeans94
Hero Member
*****
Offline Offline

Activity: 613


Mintcoin: Get some


View Profile
December 17, 2014, 03:10:53 PM
 #16885

Somewhere here starts the issue:
https://github.com/mintcoinproject/mintcoin/blob/master/src/main.cpp#L967

Followed by:
Code:
if(nHeight < YEARLY_BLOCKCOUNT)
nRewardCoinYear = 4 * MAX_MINT_PROOF_OF_STAKE;
else if(nHeight < (2 * YEARLY_BLOCKCOUNT))
nRewardCoinYear = 3 * MAX_MINT_PROOF_OF_STAKE;
else if(nHeight < (3 * YEARLY_BLOCKCOUNT))
nRewardCoinYear = 2 * MAX_MINT_PROOF_OF_STAKE;'

nHeight is the blockcount since genesis block (0)...

I'm not sure if the below will work as a fix for our problem - it's from JackPotCoin:

https://github.com/mintcoinproject/mintcoin/blob/master/src/main.cpp#L1392
Quote

    - if (nStakeReward > GetProofOfStakeReward(nCoinAge, pindexBlock->nBits, nTime, pindexBlock) - GetMinFee() + MIN_TX_FEE)
    + if (nStakeReward > GetProofOfStakeReward(nCoinAge, pindexBlock->nBits, nTime, pindexBlock->pprev) - GetMinFee() + MIN_TX_FEE)

BEE7:
But as you already hit the first PoS reward decrease you need to insert the conditions and make a hardfork. I would consider to rework the fix if I were you. It makes the GetProofOfStakeReward calling context the same in all cases: then the GetProofOfStakeReward is called always on 'previous' block. So, the condition is changed for adjusting the reward for a single block in the whole chain and always make +1 to the number of previous PoS blocks. I already counted two clones of your work, so it could make sense.

Cheers,
Ray

PS:
https://github.com/rtc29462/JackpotCoin/commit/a33ee2d792922887573780e9427c69b52026b9c0#diff-7ec3c68a81efff79b6ca22ac1f1eabbaR1379

Looks like +1 issue between create and verification.

That bit about the yearly block count
So does the wallet think that a year has gone by already? Does that mean that we are already at the point where the block reward is supposed to be reduced to 15%?

(1.) Moral happiness depends upon moral order.
(2.) Moral order depends upon the harmonious action of all our powers, as
individuals and as members of society.
Rent_a_Ray
Hero Member
*****
Offline Offline

Activity: 938


ZeitKnight


View Profile WWW
December 17, 2014, 03:24:03 PM
 #16886

That bit about the yearly block count
So does the wallet think that a year has gone by already? Does that mean that we are already at the point where the block reward is supposed to be reduced to 15%?

That's a fact! It's hardcoded. Mint was going to switch to 15% as the chain died.
It's too early for Mintcoin and Zeitcoin. Someone did fail at math Tongue
But that's not the issue.
litemaster
Full Member
***
Offline Offline

Activity: 168


View Profile
December 17, 2014, 04:26:03 PM
 #16887

My mintcoin wallet is not syncing either.
Is anyone working for a cure for this ill?

BITCOIN: 13UY67yfRjRVMR6hauZJbauHiDfeM2qXSg
MINTCOIN: MdVzxTfLDrzdij9vpee1YJGotBahfsfmqs
ASIACOIN: AH7dunb5G99XzCNj1KnGCdPkqc27pRPfBu
mintcointeam
Sr. Member
****
Offline Offline

Activity: 325


View Profile
December 17, 2014, 06:07:34 PM
 #16888

My mintcoin wallet is not syncing either.
Is anyone working for a cure for this ill?

#Mintcoin wallets stuck at block 1051199 - anyone willing to assist please pm me asap.
Rent_a_Ray
Hero Member
*****
Offline Offline

Activity: 938


ZeitKnight


View Profile WWW
December 17, 2014, 06:12:37 PM
 #16889

My mintcoin wallet is not syncing either.
Is anyone working for a cure for this ill?

#Mintcoin wallets stuck at block 1051199 - anyone willing to assist please pm me asap.

https://bitcointalk.org/index.php?topic=450381.msg9867283#msg9867283

Cheers,
Ray
cryptomommy
Sr. Member
****
Offline Offline

Activity: 425


View Profile
December 17, 2014, 06:16:08 PM
 #16890

My mintcoin wallet is not syncing either.
Is anyone working for a cure for this ill?

#Mintcoin wallets stuck at block 1051199 - anyone willing to assist please pm me asap.

https://bitcointalk.org/index.php?topic=450381.msg9867283#msg9867283

Cheers,
Ray


Sending over to Robo Guy to look at - thanks!
coolbeans94
Hero Member
*****
Offline Offline

Activity: 613


Mintcoin: Get some


View Profile
December 18, 2014, 01:39:24 AM
 #16891

Any idea on when this will be fixed? I have a minting, that is stuck in limbo right now and we need to get moving again for it to be fully confirmed.

I'm assuming there will be a new wallet released because of this, correct?

Is there anyone that is not stuck at 1051199?

(1.) Moral happiness depends upon moral order.
(2.) Moral order depends upon the harmonious action of all our powers, as
individuals and as members of society.
cryptomommy
Sr. Member
****
Offline Offline

Activity: 425


View Profile
December 18, 2014, 02:34:59 AM
 #16892

Robo guy is working on it. I will upload as soon as we are ready.

Any idea on when this will be fixed? I have a minting, that is stuck in limbo right now and we need to get moving again for it to be fully confirmed.

I'm assuming there will be a new wallet released because of this, correct?

Is there anyone that is not stuck at 1051199?
coolbeans94
Hero Member
*****
Offline Offline

Activity: 613


Mintcoin: Get some


View Profile
December 18, 2014, 02:49:35 AM
 #16893

Robo guy is working on it. I will upload as soon as we are ready.

Glad to hear it is not the end of the world  Roll Eyes

(1.) Moral happiness depends upon moral order.
(2.) Moral order depends upon the harmonious action of all our powers, as
individuals and as members of society.
cryptomommy
Sr. Member
****
Offline Offline

Activity: 425


View Profile
December 18, 2014, 12:31:07 PM
 #16894

From RoboGuy:

Ok, I have figured out what Ray was saying about the issue. We are at block 1051199 which the next block would have been only a 15% stake. There is some code that is checking that someone doesn't report a block reward greater than the allow reward. But the code generating the translations is using the current block reward limit. So no blocks were accepted at the transition.

So have a decision to make:
Do we adjust this block transition height to be closer to April of next year? Do we go ahead and transition to 15% stake?
I am also unsure the best way to resume the chain. There are a few checks for the blocks being recent. If you hear from Ray or someone else on how to resume a chain that would help.

I personally believe we should keep the 15% PoS as originally programmed - what are everyone elses thoughts?
coolbeans94
Hero Member
*****
Offline Offline

Activity: 613


Mintcoin: Get some


View Profile
December 18, 2014, 02:14:22 PM
 #16895

From RoboGuy:

Ok, I have figured out what Ray was saying about the issue. We are at block 1051199 which the next block would have been only a 15% stake. There is some code that is checking that someone doesn't report a block reward greater than the allow reward. But the code generating the translations is using the current block reward limit. So no blocks were accepted at the transition.

So have a decision to make:
Do we adjust this block transition height to be closer to April of next year? Do we go ahead and transition to 15% stake?
I am also unsure the best way to resume the chain. There are a few checks for the blocks being recent. If you hear from Ray or someone else on how to resume a chain that would help.

I personally believe we should keep the 15% PoS as originally programmed - what are everyone elses thoughts?

Well, what about the next few years as well? Will they be "shortened" too? What about fixing the network so this doesn't happen again, I mean, does this mean the network will come to a halt every year when the reward is supposed to decrease? I think we should set it up so that we get a full year at 20% as previously claimed, if the original programmed math is off, it should be fixed to match the intended design of a full year. Since it goes by block count and not an actual "timer", then all we can do is a close estimate anyway, right? Can we just add in 400,000 blocks to it or something to extend it to February? I'm all for the switch to 15% coming in February of 2015, as long as it means the network doesn't stop like this again. Add in enough blocks in each year so that we make it at least 360 days each year (maybe some extra time. Is that doable?

Thoughts?

(1.) Moral happiness depends upon moral order.
(2.) Moral order depends upon the harmonious action of all our powers, as
individuals and as members of society.
litemaster
Full Member
***
Offline Offline

Activity: 168


View Profile
December 18, 2014, 02:51:04 PM
 #16896

From RoboGuy:

Ok, I have figured out what Ray was saying about the issue. We are at block 1051199 which the next block would have been only a 15% stake. There is some code that is checking that someone doesn't report a block reward greater than the allow reward. But the code generating the translations is using the current block reward limit. So no blocks were accepted at the transition.

So have a decision to make:
Do we adjust this block transition height to be closer to April of next year? Do we go ahead and transition to 15% stake?
I am also unsure the best way to resume the chain. There are a few checks for the blocks being recent. If you hear from Ray or someone else on how to resume a chain that would help.

I personally believe we should keep the 15% PoS as originally programmed - what are everyone elses thoughts?

If you keep the original originally programmed date for the POS reduction to 15% will this happen again at the next change time? Or will it be fixed?
If you can keep the original parameters and fix the issue it would be best, but fixing expeditiously one way or the other is best for the coin itself. IMHO

BITCOIN: 13UY67yfRjRVMR6hauZJbauHiDfeM2qXSg
MINTCOIN: MdVzxTfLDrzdij9vpee1YJGotBahfsfmqs
ASIACOIN: AH7dunb5G99XzCNj1KnGCdPkqc27pRPfBu
MarSas
Hero Member
*****
Offline Offline

Activity: 565


View Profile
December 18, 2014, 03:09:40 PM
 #16897

The formula should be fixed so the drop in POS reward coincides with the original plan.

deepcreek
Member
**
Offline Offline

Activity: 79


View Profile
December 18, 2014, 03:11:43 PM
 #16898

I can remember we had similar thing happening when the coin was just released, it should have been a 5 week mining period. But the amount of blocks where reached after 3 weeks because they did not count the coins minting after week 2. So possibly at this moment it is still that same problem because the last devs did not think ahead. It would be better to just fix it now so this will not affect us in the future.`
Rent_a_Ray
Hero Member
*****
Offline Offline

Activity: 938


ZeitKnight


View Profile WWW
December 18, 2014, 03:31:59 PM
 #16899

This Block was estimated for one year POS. It will never exactly match.
There is another issue in your code, that may have an influence - but I'm not sure.

How long was Mintcoin's POW time?

Cheers,
Ray
URSAY
Legendary
*
Offline Offline

Activity: 1918



View Profile
December 18, 2014, 03:35:20 PM
 #16900

Thank you for all your hard work right now Robo and cryptomommy.  I hope this bug hasn't interrupted your lives too much.  It's a busy time of year for everyone.  What would the community do without you???  <3
Pages: « 1 ... 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 [845] 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 ... 1017 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!