chainside / btcpy

A Python3 SegWit-compliant library which provides tools to handle Bitcoin data structures in a simple fashion.
https://www.chainside.net
GNU Lesser General Public License v3.0
270 stars 73 forks source link

Move decimals to Constants, to allow easier change of the variable. #39

Closed peerchemist closed 6 years ago

peerchemist commented 6 years ago

For example Peercoin uses Decimal('1e6'), this makes maintenance of the port easier.

peerchemist commented 6 years ago

Shall we merge this in? :)

SimoneBronzini commented 6 years ago

Yeah, sorry about the delay, quite busy at the moment, gonna merge it ASAP.

peerchemist commented 6 years ago

We have new PR's awaiting for this one :)