Post
Topic
Board Announcements (Altcoins)
Re: [ANN] | Rubix (RBX) | PoW/PoS | Wish Algo | MasterNodes | s-messages | VRX 3.0 |
by
protovist
on 28/03/2018, 18:28:32 UTC
PoW: 500 RBX per block
PoW(SuperBlock): 17% chance of 1000 RBX per block
PoS: 8.2% annual
PoS(SuperBlock): 17% chance of 12% annual

The SuperBlock reward is not correct.  The implementation in the code is only 1.7%.
I brought this up on Discord but instead of acknowledging the mistake, the dev team insists that it is correct.

Code:
if(randreward() <= 17000) // 17% Chance of superblock

Code:
int randreward()
{
    // Superblock calculations
    uint256 prevHash = 0;
    if(pindexBest->pprev)
        prevHash = pindexBest->pprev->GetBlockHash();
    std::string cseed_str = prevHash.ToString().substr(7,7);
    const char* cseed = cseed_str.c_str();
    long seed = hex2long(cseed);
    int rand1 = generateMTRandom(seed, 1000000);
    return rand1;
}

https://github.com/Rubixblockchain/Rubix/blob/7d41fc1122faf75ba09cd4de782aa02c0997f26a/src/blockparams.cpp