Post
Topic
Board Announcements (Altcoins)
Re: [ANN][GRA] Graincoin - New PoW/PoS coin | Fast, secure | Version 1.4 Released!
by
bee7
on 17/02/2014, 07:37:43 UTC
Hello everybody,

First I want to apologize for being quiet for more than a week. I had very busy days due to some events.

Next, I must tell you that I implemented the postponed bonus block reward payment.  
Credits to kovand11 for the idea:
The specification is 1% for x64 block, so the cheater miner only have to check 100 addresses in average, which could be done in a few ms-s.

A good solution:

Every block has two outputs:
-normal reward: 1024 and goes to the miner
-bonus reward: x0 x7 or x63 based on last block hash, and goes to the founder of the last block.

Technically, a block following the winning one will have an extra coinbase tx (that has no inputs and has only outputs) that credits proportionally all addresses listed as txouts of the 'normal' coinbaise tx of the winning block.

Edit:
Only the PoW blocks may be a bonus blocks. When a new block is constructed (for both PoS and PoW) then the wallet checks if its previous block was a PoW block and if the hash of this previous block is a bonus block hash, i.e. the hash has necessary number of nines in its alphanumeric representation. Thus, you can't know in advance if the block being mined is a bonus block or not until you find a solution. The rest of the parameters is the same - there are x8 and x64 bonus block rewards (the additional coinbase tx would have x7 and x63 of the original coinbase vout  values).

The code is being tested now. As soon as we are sure that it works fine and bosian approves the fix the hard fork will be scheduled.

Take care.

P.S. I will respond to PMs I have in my box shortly.