Post
Topic
Board Announcements (Altcoins)
Re: [ANN] 1337 [Pure POS] Lotteries, MineCraft Integration, Sportsbetting and More!
by
xadsa418
on 09/02/2016, 12:04:17 UTC
CBlock::SetBestChainInner          Good      blackcoin arch       
ComputeMinWork                     Good      arch                 
SendMessages                       Good      NEBUCHADNEZZAR       
CTransaction::FetchInputs          Good      shrmcoin             
CTransaction::CheckTransaction     Good      blackcoin arch       
CWalletTx::AcceptWalletTransaction Good      blackcoin arch       
GetNextTargetRequired              Most similar shrmcoin, diff=4, codehash=639fa24760ed58774619;   Manually inspected, Good
CTransaction::ConnectInputs        Good      arch                 
GetTransaction                     Good      shrmcoin             
ComputeMinStake                    Good      arch                 
CBlock::AcceptBlock                Good      shrmcoin             
ProcessMessage                     Most similar shrmcoin, diff=12, codehash=cbd818eb6d10fc961e90;   Manually inspected, Good
CBlock::CheckBlock                 Good      shrmcoin             
CTxOut CTransaction::GetOutputFor  Good      blackcoin arch       
CTransaction::DisconnectInputs     Good      blackcoin arch       
ProcessBlock                       Good      shrmcoin             
CMerkleTx::GetBlocksToMaturity     Good      shrmcoin             
CBlockIndex::IsSuperMajority       Good      dash blackcoin arch 
CBlock::SignBlock                  Good      shrmcoin             
CMerkleTx::AcceptToMemoryPool      Good      shrmcoin             
CheckProofOfWork                   Good      arch                 
CBlockIndex::GetBlockTrust         Good      blackcoin arch       
CBlock::CheckBlockSignature        Good      arch                 
CTransaction::GetValueIn           Good      blackcoin arch       
ProcessMessages                    Good      NEBUCHADNEZZAR       
CBlock::ConnectBlock               Good      shrmcoin             
Not found funcs ['AcceptToMemoryPool', 'GetProofOfStakeLimit']
GetProofOfWorkReward Manually checked Good
GetProofOfStakeReward Manually checked Good

What is this? And how to read this info?
As you know, most of the coins have very similar code bases. But any little bug could potentialy damage the whole blockchain. To avoid this, people started to check the code both manually and automatically.  As I know ocminer automatically checks code for already known bugs, so his checks couldn't find new bugs. Earlz checks code manually, but he also could miss something, because codebase is very huge. I chose different way. I wrote the script which compare code in one coin with code in other already inspected coins. So if you see something like "Good blackcoin arch " it means that i already inspected this code before in blackcoin's and arch's source, and I think that it's safe. When my script finds new code it asks me to check it manually and tells me which codebases is most similar, so 'CBlock::ConnectBlock                Most similar blackcoin, diff=5, codehash=1a0a6fb0d9bc6aefff4e'  means that most similar code of CBlock::ConnectBlock have seen in blackcoin and there is 5 places where something was changed.
Currently i check only most important functions in main.cpp.