1674 Commits

Author SHA1 Message Date
Brett Sun
deca23f09b Use relative links instead of github links in src README 2016-10-27 10:02:22 +02:00
Brett Sun
707e2b2b8c Remove reference to bigchaindb-common in src's README 2016-10-27 10:01:59 +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
tim
c4f64359cd Add validation tests 2016-10-24 14:43:28 +02:00
tim
e60916f823 Add Transaction.create 2016-10-24 14:43:28 +02:00
tim
c2d20573d0 Heavy refactor to comply with current implementation 2016-10-24 14:43:28 +02:00
tim
2631aa17c7 Use __eq__ to compare objects 2016-10-24 14:43:28 +02:00
tim
52f541279c Add serialization validation for txids 2016-10-24 14:43:27 +02:00
tim
f65baae833 Adjust fulfillment validation interface 2016-10-24 14:43:27 +02:00
tim
4699e69f63 Compliance to legacy BDB models 2016-10-24 14:43:27 +02:00
tim
42655f1cfc Fix test case 2016-10-24 14:43:27 +02:00
tim
d3ac54e839 Fix signing logic
Specifically for transfer-tx with multiple inputs
and outputs.
2016-10-24 14:43:27 +02:00
tim
00b47fa986 Remove condition and fulfillment ids 2016-10-24 14:43:27 +02:00
tim
0b30ca3de5 Transfer-tx fulfillments validation 2016-10-24 14:43:27 +02:00
tim
60d2ee1cf6 Add test coverage 2016-10-24 14:43:27 +02:00
tim
4d1efd60c5 Add test coverage 2016-10-24 14:43:27 +02:00
tim
01f1be4faa Fix tests 2016-10-24 14:43:27 +02:00
tim
30486cc5e0 Adjust setup to package structure 2016-10-24 14:43:27 +02:00
tim
66341963ff Clean up after move 2016-10-24 14:43:27 +02:00