xadsa418



Offline



Activity: 168

Merit: 100









Full MemberActivity: 168Merit: 100

Re: [MXT] ★ MarteXcoin ★ X13 / Pow+PoS 50% ★ Proof of Developer/Source ★ February 17, 2016, 01:18:04 PM #10 My analysis of MarteXcoin . I do it for free (unless otherwise specified) for interesting(for me) coins.

CTransaction::FetchInputs Good shrmcoin

ProcessMessage Most similar NEBUCHADNEZZAR, diff=10, codehash=ea87191ba07cc4ed0596 ; Manually inspected, Good

CMerkleTx::GetBlocksToMaturity Most similar blackcoin, diff=2, codehash=9f612a31e9d7987b3d9c ; Manually inspected, Good

SendMessages Good NEBUCHADNEZZAR

CheckProofOfWork Good arch

GetNextTargetRequired Most similar NEBUCHADNEZZAR, diff=9, codehash=cd760d5189e9a9e1e5ca ; Manually inspected, Good

CBlock::AcceptBlock Most similar NEBUCHADNEZZAR, diff=3, codehash=bf91c0738280826dad2f ; Manually inspected, Good

CBlock::SignBlock Good shrmcoin

GetTransaction Good shrmcoin

ComputeMinStake Good arch

CTransaction::DisconnectInputs Good blackcoin arch

ProcessBlock Most similar shrmcoin, diff=16, codehash=7784abcbb69fd9157d3d ; 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 Most similar arch, diff=3, codehash=608be0786db465b05650 ; Manually inspected, Good

CBlock::CheckBlock Most similar NEBUCHADNEZZAR, diff=10, codehash=b23bcfb0972c969ca3cf ; Manually inspected, Good

CMerkleTx::AcceptToMemoryPool Good shrmcoin

CBlock::SetBestChainInner Good blackcoin arch

CBlockIndex::GetBlockTrust Good blackcoin arch

ProcessMessages Good NEBUCHADNEZZAR

CBlock::CheckBlockSignature Good arch

CTxOut CTransaction::GetOutputFor Good blackcoin arch

CBlock::ConnectBlock Most similar NEBUCHADNEZZAR, diff=17, codehash=ceafd53f2071326fa67f ; Manually inspected, Good

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.

