15 Commits

Author SHA1 Message Date
TomZ 7888ed0d23 Run autopep8 2017-01-17 10:27:25 +01:00
TomZ 770c413651 Merge commit 'refs/pull/2/head' of github.com:bitcoinclassic/cmf-bindings 2017-01-17 10:25:04 +01:00
TomZ c6bb0657d5 Revert "clean up to conform to PEP8"
This reverts commit d47a96ee56.
2017-01-17 10:23:07 +01:00
TomZ d52498dfd3 Merge pull request #1 from ftrader/python-pep8-compliance
[python] achieve PEP8 conformity
2017-01-16 23:22:51 +01:00
Dagur Valberg Johannsson f7cac717fa Remove uneeded parenthesis 2017-01-16 17:01:30 -05:00
Dagur Valberg Johannsson 5d604da0d1 Use enum names instead of literals 2017-01-16 16:59:42 -05:00
Dagur Valberg Johannsson 8d1e5b8378 Remove last argument to arraycopy
How the function was used made the argument was redundant.
2017-01-16 16:53:09 -05:00
Dagur Valberg Johannsson 1bbddabc10 Remove , in enum
The comma makes values be tuple type instead of int
2017-01-16 16:50:05 -05:00
ftrader d47a96ee56 clean up to conform to PEP8
Best to get these out the way early so we can stay PEP8 compliant.
This should help avoid the ire of Python programmers :-)

Tools used: pep8, autopep8

(available through pip install on most friendly distros near you)
2017-01-16 22:14:17 +01:00
Dagur Valberg Johannsson ba909d94a4 Use assertEqual instead of assertEquals
Removes deperecation warning in Python 3
2017-01-16 14:11:47 -05:00
TomZ 52dbb2aae8 Update list of languages 2017-01-16 15:41:05 +01:00
TomZ 39fd61e400 Add the C bindings.
This is meant for embedded, so slightly different API optimized
for speed.
2017-01-16 15:40:38 +01:00
TomZ c6997bbb0c Make work on py3 and py2.
This essentially fixes a string encoding issue.
Thanks fly to dagurval for finding the cause of the failure!
2017-01-16 13:37:12 +01:00
TomZ d459e3663a Copy CMF bindings from Bitcoin Classic here.
Notice I removed the code that handles with Message and with the uint256
class. They are not needed here.
2017-01-16 12:15:00 +01:00
TomZ d0cc609a4d Lifted this from the transactions project into its own repo 2017-01-16 10:37:25 +01:00