python-bitcoin-blockchain-parser icon indicating copy to clipboard operation
python-bitcoin-blockchain-parser copied to clipboard

A Python 3 Bitcoin blockchain parser

Results 41 python-bitcoin-blockchain-parser issues
Sort by recently updated
recently updated
newest added

**Operating System** ``` $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial ``` **Leveldb**: ``` $ sudo apt-get install libleveldb-dev...

I know that the from_public_key can be obtained from the inputs of transactions, the thing is that there is no definition about how to get the from_public_key. Would it possible...

`Blockchain.get_ordered_blocks(...)` relies on Bitcoin's LevelDB database in `~/.bitcoin/blocks/index` to produce ordered blocks. This is great, except [parsing this LevelDB index](https://github.com/alecalve/python-bitcoin-blockchain-parser/blob/master/blockchain_parser/blockchain.py#L153) can take a few minutes or longer depending on the...

When iterating over ordered blocks and encountering a situation with two blocks at the same height, we read them from disk as well as their children to know which has...

enhancement

The variable name `pchMessageStart` comes from the variable name in the bitcoin C++ code: https://github.com/dashpay/dash/blob/master/src/chainparams.cpp#L115 https://github.com/dogecoin/dogecoin/blob/master/src/chainparams.cpp#L82 This allows this library to work on altcoins. To use with litecoin: >>> ltc=Blockchain('/media/chris/3033-6537/litecoin/blocks',...

enhancement

#28 and #33 hightlight the need to add tests that simulate a Bitcoind datadir with an index to test that everything works as expected.

Add possibility to change the bitcoin specific constants so that alts like BCH, LTC and others can be (at least partially) supported.

enhancement

I find the [way the DBBlockIndex parses the block header info](https://github.com/alecalve/python-bitcoin-blockchain-parser/blob/0a3a3c5257ed2541c6a595ed9f4fad61e5588894/blockchain_parser/index.py#L55) using `struct` very interesting. Using it elsewhere in the repo might help improve perf as `struct` is written in...

enhancement
help wanted

Fix https://github.com/alecalve/python-bitcoin-blockchain-parser/issues/111