Skip to content
Block Parser for Bitcoin
Python
Branch: master
Clone or download
Alex
Alex Merge pull request #8 from yunquliu/master
Added Script parsing
Latest commit 2348cbd Feb 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add a few features Jan 11, 2018
1M.dat
1Mltc.dat ltc data Aug 20, 2015
5megs.dat First Meg of data Aug 20, 2015
README.md Merge pull request #8 from yunquliu/master Feb 2, 2018
block.py Added parsing Obselete Pay to adress transactions Jan 18, 2018
blocktools.py Fix a bug of op_code out of OPCODE_NAME range Jan 18, 2018
opcode.py Add a few features Jan 11, 2018
output.txt Add a few features Jan 11, 2018
sight.py Add a few features Jan 11, 2018

README.md

This is a fork of block chain tools.

Recently added a few features, and fixed some bugs.

See git status for more details.

Block Chain Tools

Block chain parser implementation written in python. Contains examples for Bitcoin and Litecoin.

  • blocktools.py - tools for reading binary data from block files
  • block.py - classes for Blocks, Transactions
  • parser.py - Genesis block demo
  • sight.py - block parser
  • 5megBlock.dat - first 5 megs from blk00000.dat
  • blk65.dat - first 5 megs from blk00065.dat

Usage

python sight.py 1M.dat

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

Alex Gorale

License

BSD 3

You can’t perform that action at this time.