/bitcoin_malleability

Reshapes Bitcoin's source code in the purpose of detecting malleability problems in Bitcoin's network

Primary LanguageC++MIT LicenseMIT

Bitcoin Malleability Research

Install(Debian/Ubuntu)

Git

git clone https://github.com/hophacker/bitcoin_malleability
git checkout malleability_detection

Required Libraries

sudo apt-get install autoconf2.13  libdb5.1++-dev g++  make libboost1.54-all-dev
sudo apt-get install libqt4-core libqt4-gui libqt4-dev openssl libssl-dev
sudo apt-get install pkg-config

Comiple

./autogen.sh
./configure --with-incompatible-bdb
make
make install

Run

Running Options:

  • -noBlkInfo
  • -noTXInfo
  • -noMerkleTreeInfo
  • -printblockMai
  • -startHeight
  • -endHeight

Running Examples:

  • ./bitcoind -printblockMai -noMerkleTreeInfo -noBlkInfo -startHeight=300000 -endHeight=310000: dump transactions information from blockheight 300000 to blockheight 310000 without information of block or merkle tree

Reference

Installing bitcoin in ubuntu

documentation Go to the “bitcoin” folder and copy the configuration file there, generate, open:

~$ cd bitcoin
~$ doxygen bitcoind.dox
~$ cd html
~$ open index.html

Reading the code