Contains many useful Programs to parse bitcoin blockchain
- blockfile_parser.py : Bitcoin blockchain is stored by default under "~/.bitcoin/blocks". This program parses those blocks to print in json format content of those files.
- leveldb_parser.py: Bitcoin blockchain indexes are stored in leveldb databases. There are three databases i. Path ~/.bitcoin/blocks/index : Block index to determine last block and its predecessors in reverse order ii. Path ~/.bitcoin/chainstate : Metadata related unspent transaction outs iii. Path ~/.bitcoin/indexes/txindex : Provides offset and block number to reach each transaction
- traverse_block_indexes.py : This program utilises bitcoin block index database stored under "~/.bitcoin/blocks/index/" to reverse traverse blockchain.
- random_number_generator.py: This is random number generator which utilizes sound, webcam frames and system random utility to generate high entropy random number.
- script_parser.py : Parses Bitcoin's reverse polish script
- pubkey_address.py : Contains utility methods for private key, public key and address
- mnemonic_code.py : Mnemonic code is a secret consisting of 12/15/18/24 words. The program generates mnemonic code from random number.
- bitcoin_networkapis.py : Uses blockchain.info APIs to get some useful information
- bitcoin_localapis.py : Uses bitcoin client RPC calls to implement useful methods
- BlockFileParser.ipynb : Contains information on structure of blockfile, blocks and transactions
- BitcoinRPCUtils.ipynb : Contains many utility methods such as target threshold, current block size, actual block reward etc
- BitcoinEllipticCurveCryptography.ipynb : Detailed information on Bitcoin elliptic curve cryptography