Post
Topic
Board Announcements (Altcoins)
Re: SPC - SpikesPrivateCoin - Yobit - Rare coin - 50K Coins
by
JSpike
on 10/08/2015, 23:09:56 UTC
CBlock::SetBestChainInner          Good      blackcoin arch       
ComputeMinWork                     Good      arch                 
SendMessages                       Good      shrmcoin             
CTransaction::FetchInputs          Good      shrmcoin             
CTransaction::CheckTransaction     Good      blackcoin arch       
CWalletTx::AcceptWalletTransaction Good      blackcoin arch       
GetNextTargetRequired              Good      shrmcoin             
CTransaction::ConnectInputs        Good      arch                 
GetTransaction                     Good      shrmcoin             
ComputeMinStake                    Good      arch                 
CBlock::AcceptBlock                Most similar shrmcoin, diff=3, codehash=bbf48bacdea061095019 Manually checked Good
ProcessMessage                     Good      shrmcoin             
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      shrmcoin             
CBlock::ConnectBlock               Good      shrmcoin             

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 damage the whole blockchain. To avoid this people check the code both manually and automatically.  As I know ocminer automatically check code for already known bugs, so his checks couldn't find new bug. Earlz check 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 its 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.



Thanks!