maaku / python-bitcoin

A collection of types, crypto functions, script interpreter, and utility functions needed to implement the bitcoin protocol.
MIT License
26 stars 22 forks source link

Remove spurious 'not' #2

Closed vanschelven closed 3 years ago

vanschelven commented 3 years ago

A transaction is a coinbase if its first and only input is a coinbase.

maaku commented 3 years ago

Thank you for providing this fix!

However I suspect python-bitcoin is not the package you are looking for. You probably want python-bitcoinlib, which despite the derivative name is the currently maintained and well-supported Python bitcoin library:

https://pypi.org/project/bitcoinlib/

kanzure commented 3 years ago

Somewhat maintained.

vanschelven commented 3 years ago

Thanks for the warning; I did know this, but such warnings are always important. I have to say I still found the present package useful in gaining understanding of the real Bitcoin, because it is more straightforward (perhaps at the price of correctness in some cases).