Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

This project is inspired by

  1. block-parser-how-read-bitcoin-block-chain
  2. blocktools
  3. 7daystalk-01

Wrote by @Lisanaaa for interview tasks of Arcblock.

Block Chain Tools

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

  • Crawler.py - use valid hash as input and download corresponding .bin file from webbtc.com
  • Parser.py -
    • Decode the header and display it to the terminal.
    • Decode top 5 tx and display it to the terminal
  • BlockTools.py - tools for reading binary data from block files
  • Block.py - classes for Blocks, Transactions
  • Unittest.py - test file
  • OPcode.py - some encoding info

Usage

This project is currently not compatible with python3, may improve later.

python2 Parser.py 0000000000000000000cdc0d2a9b33c2d4b34b4d4fa8920f074338d0dc1164dc

License

MIT © Lisanaaa

About

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

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.