Post
Topic
Board Announcements (Altcoins)
Re: [c0c0] c0fferC0in - Cryptocurrency for Gemstones > Now On YoBit < > Store Open <
by
xadsa418
on 10/02/2016, 11:56:04 UTC
CBlock::SetBestChainInner          Good      blackcoin arch       
CBlockIndex::GetBlockTrust         Good      blackcoin arch       
CBlockIndex::IsSuperMajority       Good      dash blackcoin arch 
CTransaction::FetchInputs          Good      blackcoin           
CTransaction::CheckTransaction     Good      blackcoin arch       
CWalletTx::AcceptWalletTransaction Good      blackcoin arch       
GetNextTargetRequired              Most similar bucks, diff=4, codehash=42285947e660a4465539;   Manually inspected, Good
CTransaction::ConnectInputs        Good      blackcoin           
CBlock::AcceptBlock                Most similar blackcoin, diff=12, codehash=3e97e0bb346868eee6c4;   Manually inspected, Good
GetTransaction                     Good      blackcoin arch       
CBlock::SignBlock                  Most similar blackcoin, diff=6, codehash=04e648650e87c93eb3f3;   Manually inspected, Good
CBlock::CheckBlock                 Most similar blackcoin, diff=3, codehash=368eda2a62c8c5ad87f7;   Manually inspected, Good
ProcessMessages                    Good      blackcoin           
CTransaction::DisconnectInputs     Good      blackcoin arch       
ProcessBlock                       Good      blackcoin           
CMerkleTx::GetBlocksToMaturity     Good      blackcoin           
GetProofOfStakeLimit               Most similar blackcoin, diff=6, codehash=91f73c7fa26adff04635;   Manually inspected, Good
AcceptToMemoryPool                 Good      blackcoin           
CMerkleTx::AcceptToMemoryPool      Good      blackcoin           
SendMessages                       Most similar bucks, diff=3, codehash=53e2f6dc1c52abb843b1;   Manually inspected, Good
ProcessMessage                     Good      blackcoin           
CheckProofOfWork                   Good      dash blackcoin       
CTxOut CTransaction::GetOutputFor  Good      blackcoin arch       
CBlock::CheckBlockSignature        Good      blackcoin           
CTransaction::GetValueIn           Good      blackcoin arch       
CBlock::ConnectBlock               Good      blackcoin           
Not found funcs ['ComputeMinStake', 'ComputeMinWork']
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.