Post
Topic
Board Announcements (Altcoins)
Re: [BRDD] - BeardDollars - Scrypt - PoW/PoS - 15% annual interest.
by
xadsa418
on 08/02/2016, 07:25:36 UTC
CTransaction::FetchInputs          Good      arch                
GetNextTargetRequiredV2            Most similar arch, diff=4, codehash=639fa24760ed58774619;   Manually inspected, Good
GetNextTargetRequiredV1            Most similar arch, diff=1, codehash=9df2943f5c65a6780b0f;   Manually inspected, Good
ProcessMessage                     Most similar shrmcoin, diff=18, codehash=0733405866c5b2a95f88;   Manually inspected, Good
CMerkleTx::GetBlocksToMaturity     Most similar arch, diff=2, codehash=7cf1a3b12897da3728c1;   Manually inspected, Good
AcceptToMemoryPool                 Most similar arch, diff=46, codehash=d850939e63cf63e48330;   Manually inspected, Good
SendMessages                       Good      shrmcoin            
CheckProofOfWork                   Good      arch                
GetNextTargetRequired              Most similar arch, diff=3, codehash=9a948d1864ac06c83c3f;   Manually inspected, Good
CBlock::AcceptBlock                Most similar shrmcoin, diff=5, codehash=edc2e935cdbc84a44273;   Manually inspected, Good
CBlock::SignBlock                  Good      shrmcoin            
GetTransaction                     Good      blackcoin arch      
ComputeMinStake                    Good      arch                
CTransaction::DisconnectInputs     Good      blackcoin arch      
ProcessBlock                       Most similar shrmcoin, diff=14, codehash=fe2eafe6295d4fa4f73b;   Manually inspected, Good
CBlockIndex::IsSuperMajority       Good      dash blackcoin arch  
CTransaction::GetValueIn           Good      blackcoin arch      
ComputeMinWork                     Good      arch                
CTransaction::CheckTransaction     Good      blackcoin arch      
CWalletTx::AcceptWalletTransaction Good      blackcoin arch      
CTransaction::ConnectInputs        Good      arch                
CBlock::CheckBlock                 Good      shrmcoin            
CMerkleTx::AcceptToMemoryPool      Good      arch                
CBlock::SetBestChainInner          Good      blackcoin arch      
CBlockIndex::GetBlockTrust         Good      blackcoin arch      
ProcessMessages                    Good      shrmcoin            
CBlock::CheckBlockSignature        Good      arch                
CTxOut CTransaction::GetOutputFor  Good      blackcoin arch      
CBlock::ConnectBlock               Good      shrmcoin            
Not found funcs ['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.


The only one thing i didn't get is how you calculated totalsupply? 150000*50+212121 = 7,712,121