1690 Commits

Author SHA1 Message Date
Rodolphe Marques
e35d2899b5 Removed support for custom threshold
Removed support for hashlocks
Unskipped tests that were skipped waiting for divisible assets
Fixed remaining tests
2016-11-09 13:32:18 +01:00
Rodolphe Marques
19cfe172ea Added support for multiple owners_before in CREATE transactions
Added some type checking
Remove code for hashlocks and timelocks. They were partially implemented
features that we need to revisit.
2016-11-08 17:41:53 +01:00
Rodolphe Marques
9a5bc816d8 re-added code to handle hashlock conditions 2016-11-07 15:26:42 +01:00
Rodolphe Marques
6e2ac1df03 remove unused code 2016-11-07 10:04:09 +01:00
Rodolphe Marques
3ac530617c Fixed some tests 2016-11-06 22:35:39 +01:00
Rodolphe Marques
a212aba35b Added validation for amounts
Added a new db call to return an asset instance given the id

Created tests
2016-11-06 20:00:47 +01:00
Rodolphe Marques
db55aa8153 Support for multiple io in TRANSFER transactions
Create tests
2016-11-06 18:09:43 +01:00
Rodolphe Marques
ee3b967184 Added support for divisible assets in TRANSFER transactions
Created tests
2016-11-06 01:55:47 +01:00
Rodolphe Marques
5b5c701e0a Finished implementing divisible assets for CREATE transactions
Simplified Transaction.create logic
Created tests
2016-11-06 00:04:27 +01:00
Rodolphe Marques
48084ec47a multiple outputs in create transaction 2016-11-04 15:34:39 +01:00
Rodolphe Marques
63f5879cb2 consolidate Asset model in common 2016-11-04 11:31:07 +01:00
Rodolphe Marques
dd382ee4e6 Added ability to CREATE divisible assets 2016-11-03 15:57:05 +01:00
Troy McConaghy
d47ed214cd Merge pull request #753 from bigchaindb/move-docs-dir-to-docs-server
Moved docs dir to docs/server
2016-10-27 14:50:42 +02:00
Sylvain Bellemare
03a8229d0b Merge pull request #752 from sbellem/0.7.0.dev
Update version to 0.7.0.dev
2016-10-27 14:30:04 +02:00
troymc
d2d9539e4c Updated path to version.py in docs/server/source/conf.py 2016-10-27 14:17:16 +02:00
troymc
61eed2f91e Updated docs/README.md 2016-10-27 14:09:55 +02:00
troymc
cd2fd494ac Moved docs directory to docs/server, except README.md 2016-10-27 14:09:24 +02:00
Sylvain Bellemare
6245b8cef4 Update version to 0.7.0.dev 2016-10-27 11:33:23 +02:00
Brett Sun
d93f6f873b Update outdated or incorrect docstrings (#748) 2016-10-26 17:35:48 +02:00
Sylvain Bellemare
2dd9249f21 Add __init__.py files
somehow find_packages does not seem to be able to find the package,
although it should not be the case for > 3.2; see docs:

>  On Python 3.2 and earlier, packages are only recognized if they
>  include an __init__.py file.

http://setuptools.readthedocs.io/en/latest/setuptools.html#using-find-packages
2016-10-26 15:00:06 +02:00
Sylvain Bellemare
51c581428c Merge pull request #696 from MinchinWeb/cache-pip-on-travis
Allow pip caching on Travis-CI
2016-10-25 11:25:34 +02:00
Sylvain Bellemare
2891c9497b Merge pull request #742 from sbellem/merge-common-lib
Merge common lib
2016-10-25 11:10:49 +02:00
Sylvain Bellemare
c39fad3f2f Revert "Merge common lib" (#741) 2016-10-25 10:31:06 +02:00
Sylvain Bellemare
64cafc62ad Merge common lib (#739)
* Planning release

* Clean up after move

* Add exceptions.py

* Add crypto.py

* Adjust setup to package structure

* Fix tests

* Add test coverage

* Comply to flake8

* Add test coverage

* Transfer-tx fulfillments validation

* Remove condition and fulfillment ids

* Fix signing logic

Specifically for transfer-tx with multiple inputs
and outputs.

* Compliance to legacy BDB models

* Adjust fulfillment validation interface

* Add serialization validation for txids

* Use __eq__ to compare objects

* Heavy refactor to comply with current implementation

* Add Transaction.create

* Correct fulfillment validation logic

* Add Transaction.create for hashlock conditions

* Add hashlock condition serialization

* Transaction.transfer add single input and outputs

* Small adjustments to transfer-tx interface

* Create transfer-tx interface

* Increase test coverage

* Adjust fulfillment (de)serialization

* Catch CC Error for Fulfillment

* Allow custom thresholds

* PR feedback

* Fix tests

* Rename Data to Metadata

* Add Asset exceptions

* Add basic Asset model

* More renaming of payload => data

* Add Asset into work-flow-functions

* Add Asset amount to condition

* add fulfillment exception

* initial integration of asset

* Make transaction.py compy to 79 chars

* Make util.py comply to 79 chars

* Make exceptions.py comply to 80 chars

* Renaming inp to input_

* fix pep8 issues

* Correct raised error

* Remove resolved TODOs

* prevent adding None as fulfillment / condition to Transaction

* Small modifications to support new cryptoconditions

* Improve documentation (#42)

* Add doc strings for Fulfillment cls

* Add doc strings for TransactionLink cls

* Add doc strings for Condition cls

* Add doc strings for Data cls

* Add doc strings for Transaction cls

* Add doc strings for Asset cls

* Extract common implementation

* Tx model: Add test for empty inputs

* WIP: Implement sign tx

* Add tests for:
    - Conditions; and
    - Fulfillments

Mostly on the (de)serialization part.

* Finalize serialization logic for tx class

* Add Tests for tx serialization logic

* Add fulfillment validation

* Add ThresholdCondition support

* WIP transfer

* Clean up after move

* Adjust setup to package structure

* Fix tests

* Add test coverage

* Add test coverage

* Transfer-tx fulfillments validation

* Remove condition and fulfillment ids

* Fix signing logic

Specifically for transfer-tx with multiple inputs
and outputs.

* Fix test case

* Compliance to legacy BDB models

* Adjust fulfillment validation interface

* Add serialization validation for txids

* Use __eq__ to compare objects

* Heavy refactor to comply with current implementation

* Add Transaction.create

* Add validation tests

* Add Transaction.create for hashlock conditions

* Add hashlock condition serialization

* Transaction.transfer add single input and outputs

* Small adjustments to transfer-tx interface

* Create transfer-tx interface

* Increase test coverage

* Adjust fulfillment (de)serialization

* Catch CC Error for Fulfillment

* Allow custom thresholds

* Rename Data to Metadata

* Add basic Asset model

* Add Asset into work-flow-functions

* Add Asset amount to condition

* initial integration of asset

* Make tests comply to 79 chars per line

* Fixed tests

* fix pep8 issues

* Correct raised error

* Add test for asset initialization

* Remove resolved TODOs

* prevent adding None as fulfillment / condition to Transaction

* Small modifications to support new cryptoconditions

* Extract common tests

* Copy conftest from bigchaindb-common - by @timdaub

* Replace bigchaindb_common pkg by bigchaindb.common
2016-10-25 10:21:20 +02:00
Troy McConaghy
35788088f2 Merge pull request #705 from bigchaindb/update-docs-re-azure-node-deployment
Wrote instructions to deploy using Azure quickstart template
2016-10-24 17:12:15 +02:00
Sylvain Bellemare
ea9dfaf1e5 Replace bigchaindb_common pkg by bigchaindb.common 2016-10-24 17:01:43 +02:00
Sylvain Bellemare
ff7cf0863f Copy conftest from bigchaindb-common - by @timdaub 2016-10-24 15:59:49 +02:00
Sylvain Bellemare
b240ef79d3 Extract common tests 2016-10-24 14:43:28 +02:00
Scott Sadler
c007d0d8b4 prevent adding None as fulfillment / condition to Transaction 2016-10-24 14:43:28 +02:00
Rodolphe Marques
db127bea40 Small modifications to support new cryptoconditions 2016-10-24 14:43:28 +02:00
tim
5b6f9e222d Remove resolved TODOs 2016-10-24 14:43:28 +02:00
tim
1cbab14518 Add test for asset initialization 2016-10-24 14:43:28 +02:00
tim
50c2c7e610 Correct raised error 2016-10-24 14:43:28 +02:00
Rodolphe Marques
27e121bf1f fix pep8 issues 2016-10-24 14:43:28 +02:00
Rodolphe Marques
0617cdd2e5 Fixed tests 2016-10-24 14:43:28 +02:00
Rodolphe Marques
d6759fa745 initial integration of asset 2016-10-24 14:43:28 +02:00
tim
6256361bc6 Add Asset amount to condition 2016-10-24 14:43:28 +02:00
tim
01337eb922 Add Asset into work-flow-functions 2016-10-24 14:43:28 +02:00
tim
34e7afbdf5 Add basic Asset model 2016-10-24 14:43:28 +02:00
tim
e348e5e4f5 Rename Data to Metadata 2016-10-24 14:43:28 +02:00
tim
529cf99bc2 Make tests comply to 79 chars per line 2016-10-24 14:43:28 +02:00
tim
b41b298139 Allow custom thresholds 2016-10-24 14:43:28 +02:00
tim
4eb6a8ee27 Catch CC Error for Fulfillment 2016-10-24 14:43:28 +02:00
tim
b653c1f8d2 Adjust fulfillment (de)serialization 2016-10-24 14:43:28 +02:00
tim
421b817683 Increase test coverage 2016-10-24 14:43:28 +02:00
tim
22ac574cae Create transfer-tx interface 2016-10-24 14:43:28 +02:00
tim
706c8923c8 Small adjustments to transfer-tx interface 2016-10-24 14:43:28 +02:00
tim
d4864f89ad Transaction.transfer add single input and outputs 2016-10-24 14:43:28 +02:00
tim
d8e971d412 Add hashlock condition serialization 2016-10-24 14:43:28 +02:00
tim
f0b8baed8d Add Transaction.create for hashlock conditions 2016-10-24 14:43:28 +02:00