I think i can temporaly fix network (it is a buggy code, although the original developer thinks that this some kind of attack on network and conspiracy against him
).
Would the network stalling be anything to do with the reward change? Won't that affect validating blocks if the network is split between old and new code?
orbitcoin 1.0
int64 nSubsidy = 0.25 * COIN;
if(nHeight < 11)
{
nSubsidy = 100000 * COIN;
}
nSubsidy >>= (nHeight / 1051200);
orbitcoin 1.2
int64 nSubsidy = 0.25 * COIN;
if(nHeight < 11){nSubsidy = 100000 * COIN;}
else if (nHeight > 1051200){nSubsidy = 0.25 * COIN;}
else if (nHeight > 2102400){nSubsidy = 0.125 * COIN;}
else if (nHeight > 3153600){nSubsidy = 0.0625 * COIN;}
else if (nHeight > 4204800){nSubsidy = 0.03125 * COIN;}
else if (nHeight > 5256000){nSubsidy = 0.015625 * COIN;}
else if (nHeight > 3994560000){nSubsidy = 0 * COIN;} ********
******** g++ complains "warning: comparison is always false due to limited range of data type" about the last conditional, which I guess means the client will keep generating coins forever.
======
This is what debug.log says when my miner submits a found block. I'm not that familiar with the code but I guess it could mean there's an issue with the difficulty calculation. Miner is finding block at supplied difficulty, client rejects PoW as it's the wrong difficulty?
BitcoinMiner:
new block found
hash: 0000000a0cd72247dfb722bfb8e594367038b1c1c4733ae288c45a9631b4a592
target: 0000000fd7140000000000000000000000000000000000000000000000000000
CBlock(hash=0000000a0cd72247dfb722bfb8e594367038b1c1c4733ae288c45a9631b4a592, ver=4, hashPrevBlock=a85d39f3db0d3648e91f1a8d631fe863104d891432625b77dbff65f5f1e29c7b, hashMerkleRoot=1651473609dd90780cdf0fdca9925d51fb81d4cfb486e7fcd3fdd08a6857a263, nTime=1388708165, nBits=1d8fd714, nNonce=2906194432, vtx=1, vchBlockSig=3046022100fdf6c348fc7f909754e30ee88c3484b1e7d9b3d84570592e39d6991b1c5666a3022100e339281ed4efb86ac9097bd4801b7cc1608f6fb986772f80c16307b70b480908)
Coinbase(hash=1651473609, nTime=1388706796, ver=2, vin.size=1, vout.size=1, nLockTime=0)
CTxIn(COutPoint(0000000000, 4294967295), coinbase 036e4706025209062f503253482f)
CTxOut(nValue=0.25, scriptPubKey=03d5548c59fc86215680f1f6e645e8aa6e22a719503129a268327acc1cd7f976df OP_CHECKSIG)
vMerkleTree: 1651473609
generated 0.25
ERROR: CheckProofOfWork() : nBits below minimum work
ERROR: CheckBlock() : proof of work failed
ERROR: ProcessBlock() : CheckBlock FAILED
ERROR: BitcoinMiner : ProcessBlock, block not accepted
BTW I am able to compile the source, but I'm only using the headless daemon under *nix.