bigchaindb / bigchaindb-driver

Official Python driver for BigchainDB
https://www.bigchaindb.com
Apache License 2.0
105 stars 104 forks source link

Update constructed / allowed tx version from 1.0 to 2.0 #355

Closed ttmc closed 6 years ago

ttmc commented 6 years ago

The next release of BigchainDB (or whatever we call it), with Tendermint integrated, also has some changes to the transaction model. I think the Python driver has already been updated to account for the bigger changes (i.e. change from hash-then-sign to sign-then-hash, and change what gets signed for each input).

This issue is to update the Python driver to account for the constructed / allowed "version" value changing from "1.0" to "2.0". That change was done in pull request https://github.com/bigchaindb/bigchaindb/pull/2048

I suspect that there may not be much code to change, since the Python driver just uses the BigchainDB Server code.

The docs may have to be updated. For example, example transactions should show "version" with value "2.0".

ttmc commented 6 years ago

There's a similar issue to update the JavaScript driver: https://github.com/bigchaindb/js-bigchaindb-driver/issues/149