31 Commits

Author SHA1 Message Date
Rodolphe Marques
cbb9a55de8 Added tests for get_spent with multi outputs txs 2016-04-14 14:21:07 +02:00
Rodolphe Marques
1c1fd47c80 Fix get_owned_ids to work with multiple outputs
Created more tests
2016-04-14 12:22:26 +02:00
Rodolphe Marques
4c4cae8f81 create_tx and sign_tx create threshold conditions by default if there
are multiple current owners.
Created tests
2016-04-13 17:44:25 +02:00
Rodolphe Marques
43a88142f7 Merge remote-tracking branch 'remotes/origin/feat/127/crypto-conditions-ilp-bigchain-integration' into feat/128/multiple-input-output 2016-04-12 12:21:17 +02:00
Rodolphe Marques
28656e9544 updated some tests 2016-04-12 12:18:36 +02:00
diminator
32ca586bc8
Added condition/fulfillment tests
isolated get_fulfillment_message(...)
2016-04-11 15:15:47 +02:00
diminator
7d99bcba7b
merge + fixed tests for get_owned_ids
Merge remote-tracking branch 'remotes/origin/feat/128/multiple-input-output' into feat/127/crypto-conditions-ilp-bigchain-integration

Conflicts:
	bigchaindb/core.py
2016-04-08 16:08:33 +02:00
diminator
8dc0c48681
fixed tests 2016-04-08 15:56:51 +02:00
diminator
8b7478365e
fixing tests WIP 2016-04-08 14:43:11 +02:00
diminator
f082f22aaa
Merge remote-tracking branch 'remotes/origin/feat/128/multiple-input-output' into feat/127/crypto-conditions-ilp-bigchain-integration
Conflicts:
	tests/db/test_bigchain_api.py
	tests/test_util.py
2016-04-08 14:00:20 +02:00
diminator
cc0c56c150
sign/verify with fulfillments for CREATE/GENESIS 2016-04-08 10:56:45 +02:00
diminator
66e3c9e8a9
sign/validate fulfillment (single owner)
Merge remote-tracking branch 'remotes/origin/develop' into feat/127/crypto-conditions-ilp-bigchain-integration

Conflicts:
	tests/conftest.py
2016-04-07 18:21:13 +02:00
Rodolphe Marques
caf7c0dfc4 Added argument validation to create_transaction.
Fixed some tests
2016-04-07 17:38:16 +02:00
diminator
b76bd72ea0
tx with conditions 2016-04-07 15:41:06 +02:00
diminator
ec08bca3d0
fulfillment preparations 2016-04-06 16:21:35 +02:00
diminator
dd20737bb9 Merge remote-tracking branch 'remotes/origin/feat/128/multiple-input-output' into feat/127/crypto-conditions-ilp-bigchain-integration
Conflicts:
	bigchaindb/util.py
2016-04-06 12:41:56 +02:00
diminator
4138842eed import keys from cryptoconditions
set ed25519 as default
2016-03-23 19:14:59 +01:00
Rodolphe Marques
194bf8c6bd initial implementation of multi input support 2016-03-22 19:30:53 +01:00
vrde
1fa47d4b5f Move last methods to util 2016-03-03 03:09:54 +01:00
vrde
1475a3cbb1 Move hash_data to the crypto module 2016-03-03 02:02:17 +01:00
vrde
fc33cf850a Update skipped test 2016-03-03 01:52:38 +01:00
vrde
3bfb6bc4c4 Merge remote-tracking branch 'origin/develop' into feat/17/provide-a-restful-api 2016-02-24 12:02:54 +01:00
vrde
445bacce0d Move some other code to the util module 2016-02-23 18:14:52 +01:00
Rodolphe Marques
4326c863ac Fixed how validate_transaction handles double spends.
Create tests.
Fixed some flake8 warnings
2016-02-23 13:48:31 +01:00
vrde
56357e978d Add simple flask webserver and tests 2016-02-23 03:37:33 +01:00
vrde
b3b54e7529 Move common code to util module 2016-02-22 23:46:32 +01:00
vrde
4c177a9946 Replace == with is for some tests
Replace all occurrences of:
 - `== True` with `is True`
 - `== False` with `is False`
 - `== None` with `is None`
2016-02-18 11:42:34 +01:00
Sylvain Bellemare
2cf2201095 Remove unused import 2016-02-15 16:30:37 +01:00
Sylvain Bellemare
f623046f23 Use pytest fixtures to create the inputs 2016-02-15 16:30:37 +01:00
Sylvain Bellemare
df242a35c6 Use pytest fixtures instead of imports 2016-02-15 16:30:37 +01:00
Wrigley the Buffalo
841cabe8c6 Add code, have fun! 2016-02-10 19:55:33 +01:00