troymc
54f0d85cda
Merged master branch and fixed some merge conflicts
2016-11-14 18:35:46 +01:00
Sylvain Bellemare
6724e64cca
Update test to divisible asset change
2016-11-14 16:46:12 +01:00
Sylvain Bellemare
9f471ef4b3
Merge branch 'master' into divisible-assets
2016-11-14 16:39:02 +01:00
Ryan Henderson
c8553abb41
add backlog count ( #806 )
2016-11-14 10:03:59 +01:00
Ryan Henderson
d31a268a51
add id query ( #799 )
2016-11-11 15:08:37 +01:00
Rodolphe Marques
6d7392d98d
Handle the case where there are negative amounts.
...
Created tests
2016-11-11 11:34:20 +01:00
Rodolphe Marques
bca7939f6c
Added an AssetLink class to link to a Asset from a TRANSFER transaction
2016-11-10 13:18:20 +01:00
Rodolphe Marques
a2e28ae806
addressed comments
2016-11-09 17:48:39 +01:00
Rodolphe Marques
efb5439044
updated docstrings
...
addressed added todos
2016-11-09 14:56:14 +01:00
Rodolphe Marques
dccbc3c1fe
pep8 fixes
2016-11-09 14:25:42 +01:00
Rodolphe Marques
7313cd9441
get_asset_by_id now uses the new db api
2016-11-09 14:03:34 +01:00
Rodolphe Marques
de23053ebc
Merge remote-tracking branch 'origin/master' into divisible-assets
2016-11-09 13:36:56 +01:00
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
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
troymc
6930f93d4c
Added test for case when tx is in backlog and an invalid block
2016-11-06 10:13:29 +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
troymc
e81283fee9
test_read_transaction_invalid_block didn't need to write tx to backlog
2016-11-05 17:30:48 +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
Sylvain Bellemare
a28bf7b950
Update import for exceptions
2016-11-01 11:49:17 +01:00
najla
4dae41828c
Using function from utils for setting up the database
2016-11-01 11:31:15 +01:00
vrde
ac6249b42f
Merge branch 'isolate-database-calls'
2016-10-31 16:33:19 +01:00
troymc
2d6dfaa6f4
Rename FulfillmentNotInValidBlock to TransactionNotInValidBlock
2016-10-29 16:35:15 +02:00
vrde
40ba9d8c6a
Fix test_transaction_exists
2016-10-27 16:50:30 +02:00
vrde
815b4318ba
Move calls to DB to specific backend module
2016-10-26 17:48:53 +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
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
vrde
15fb27f327
Remove conn property from core API
2016-10-18 17:32:32 +02:00
tim
6346dc1f74
Remove unnecessary test
...
Checking whether or not write_transaction modifies a dict is not
relevant anymore, as no dict is passed.
2016-10-17 13:48:53 +02:00
Rodolphe Marques
7275e6f44b
Added support for cryptoconditions 0.5.0
...
Fixed tests.
2016-10-14 17:48:45 +02:00
Rodolphe Marques
7d3c6ee5ce
Addressed comments to import tests.
...
Fixed some pep8 violations
2016-10-13 13:53:08 +02:00
Rodolphe Marques
abf1c98d7c
Merge remote-tracking branch 'origin/master' into rebase/feat/564/implement-digital-asset-template
2016-10-12 16:56:49 +02:00
Rodolphe Marques
80c9cdcb09
Finished integration of digital asset.
...
Fixed tests
2016-10-12 10:29:25 +02:00
Ryan Henderson
81e70951d4
check if fulfillments are in a valid block ( #629 )
...
* check if fulfillments are in a valid block
* documentation
* fix almost all tests where tx validity is checked before writing to block
* move import
2016-10-10 09:41:49 +02:00
Rodolphe Marques
0652348bf0
initial integration of asset
2016-10-07 15:46:21 +02:00
Sylvain Bellemare
1ae08990c8
Docker dev setup docs ( #653 )
...
* Include configuration step in Dockerfile
* Document dev setup with docker-compose
* Add server API env vars and port
* Parameterize SERVER_BIND and API_ENDPOINT env vars
* Give a bit more detailed information on GET /
2016-10-05 11:25:45 +02:00
Rodolphe Marques
7715bbc807
more descriptive unit test name
2016-10-04 16:23:36 +02:00
Rodolphe Marques
148e30a84b
Remove unnecessart database queries in get_asset_id
2016-10-04 16:23:36 +02:00
Rodolphe Marques
b447a75a8d
Added get_txs_by_asset_id
...
Created secondary index for assets.
Created tests
2016-10-04 16:22:33 +02:00
Rodolphe Marques
f10d1d0bcb
Small change to the asset template in TRANSFER transactions.
...
This change is so that both `CREATE` and `TRANSFER` transactions have
the uuid under the same key so that we can create secondary indexes on
it.
2016-10-04 16:19:06 +02:00
Rodolphe Marques
0189ede72e
Renamed asset
to asset_data
. Added digital asset validation to
...
validate_transaction
Created and fixed tests.
2016-10-04 16:18:04 +02:00
Rodolphe Marques
1377ce2389
Fixed tests after renaming payload to metadata
2016-10-04 16:15:06 +02:00
Rodolphe Marques
fd585188e2
renamed payload to metadata
2016-10-04 16:03:39 +02:00