Post
Topic
Board Announcements (Altcoins)
Re: [VERGE][XVG] VERGE [POW][Scrypt][privacy focused - full TOR/i2P resources]
by
Fuzzbawls
on 16/02/2016, 11:57:35 UTC
main.cpp,  CBlock::AcceptBlock() ln2152 https://github.com/vergecurrency/VERGE/blob/master/src/main.cpp#L2152
Code:
   if (IsProofOfWork() && nHeight > CUTOFF_POW_BLOCK)
        return DoS(100, error("AcceptBlock() : No proof-of-work allowed anymore (height = %d)", nHeight));

    if (IsProofOfStake() && nHeight > DISABLE_POS_BLOCK)
        return DoS(100, error("AcceptBlock() : reject proof-of-stake at height %d", nHeight));
//XVG will be pure PoW until modifier_switch_block
    if (IsProofOfStake() && nHeight < MODIFIER_SWITCH_BLOCK)
return DoS(100, error("AcceptBlock() : reject proof-of-stake at height %d", nHeight));

main.h
Code:
static const int CUTOFF_POW_BLOCK = 4248000;              // POW end of block 4,248,000
static const int DISABLE_POS_BLOCK = 1;  // DISABLE POS BLOCKS AT START for second reject pos
static const int MODIFIER_SWITCH_BLOCK = 6000000;          // disabled first reject blocks
So currently Verge is pure PoW coin, because PoS block to be accepted should has height both less then 1 and higher then 6mil. And blockchain will stuck at 4,248,000 block(a few years later). Is it desired behaviour?



Yes this behavior is intentional. The underlying systems to implement PoS are in place but disabled. Think of it a having future options at the ready if the need/desire to implement PoS ever occurs.