New Fastcoin Client v0.10.2.2 Released!
0 Members and 1 Guest are viewing this topic.
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */static const int COINBASE_MATURITY = 60;
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */static const int COINBASE_MATURITY = 100;
I found a difference in the coinbase maturity requirement between the different versions of the major code bases:I discovered this after I compiled the 10.2.2 branch and then eventually came across a block that spent from the coinsbase transaction before 100 confirmations. The compiled version of the linux binaries [http://www.fastcointalk.org/index.php/board,78.0.html] does not have this issue.From the fastcoin-8.7.2 branch:https://github.com/fastcoinproject/fastcoin/blob/fastcoin-8.7.2/src/main.h#L60Code: [Select]/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */static const int COINBASE_MATURITY = 60;From the 10.2.2 Branch:https://github.com/fastcoinproject/fastcoin/blob/10.2.2/src/main.h#L76Code: [Select]/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */static const int COINBASE_MATURITY = 100;
This is to notify the developers. In my case I changed the 100 to 60 in my source code then recompiled.