Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Latest commit

 

History

History
59 lines (43 loc) · 1.97 KB

README.rst

File metadata and controls

59 lines (43 loc) · 1.97 KB

pyblockchain

https://travis-ci.org/toidi/pyblockchain.svg?branch=master

pyblockchain is a Python library for parsing blockchain data

Installation

pip install pyblockchain

Usage

from blockchain.reader import BlockchainFileReader

block_reader = BlockchainFileReader('tests/1M.dat')

for block in block_reader:
    print('magic number', block.header.magic_number_hex)

Useful links