270 Commits

Author SHA1 Message Date
Scott Sadler
843d65d233 bigchain.is_new_transaction method 2017-02-22 13:55:29 +01:00
libscott
c9ba7e6243 Merge branch 'master' into master 2017-02-22 12:20:35 +01:00
Scott Sadler
955b018be8 add stepping pipeline and fix issue #1191 2017-02-15 14:59:01 +01:00
Troy McConaghy
b01898aced Merge branch 'master' into replace-pr-762 2017-02-03 12:05:13 +01:00
tymlez
f9d398c03a Merge pull request #1 from tymlez/consensus_plugin
consensus plugin
2017-01-26 16:02:14 +03:00
tymlez
78bd1ecd96 consensus plugin 2017-01-24 09:12:16 +00:00
Scott Sadler
897ffe81bc outputs endpoint with unspent filter parameter 2017-01-23 16:10:21 +01:00
Scott Sadler
4bb64fa0b8 generalise get_owned_ids to get_outputs and get_owned_ids 2017-01-23 16:10:21 +01:00
Troy McConaghy
b10b03e3ca Changed 'len(validated_transactions) == 0' to 'not validated_transactions' as suggested by @amirelemam in #762 2017-01-22 13:48:34 +01:00
Scott Sadler
f2034cddde make asset_id not optional in get_transactions_filtered 2017-01-20 10:08:30 +01:00
Scott Sadler
1c918caf4c txlist / get_transactions_filtered 2017-01-18 15:42:47 +01:00
Scott Sadler
dbb3414fd0 generalise get_txids_by_asset_id into get_txids_filtered and remove get_transactions_by_asset_id 2017-01-18 15:42:47 +01:00
Brett Sun
8fa3245309 Rename any *util.py to *utils.py (#991) 2016-12-22 17:39:39 +01:00
Scott Sadler
04a78aacec Merge remote-tracking branch 'origin/master' into inputs-outputs 2016-12-22 13:45:02 +01:00
Brett Sun
9319583ab4 Remove Asset and AssetLink (#982)
* Remove asset.validate_asset and move its validation checks to other areas

* Move Asset.get_asset_id to Transaction

* Remove Asset and AssetLink models

* Add test against creating TRANSFER transactions with bad asset
2016-12-22 10:19:21 +01:00
Rodolphe Marques
71bb63376f fix mongodb write_block without thouching mongodb code 2016-12-20 18:04:38 +01:00
Scott Sadler
4e17fe5c3d change fulfills.idx to fulfills.output 2016-12-19 12:29:29 +01:00
Brett Sun
2f4da6a32f Extra renames and small fixes for inputs-outputs (#952)
* Fix typos pointed out in review by @ttmc

* Reword description of an input in the transaction schema

* Re-add removed comment in transaction model

* Fix small typos in some comments in the transaction model

* Add trailling commas to a multiline dict in the transaction model tests

* Fix small things with server docs changes

* Add description of public keys' association with conditions in transaction concept docs

* Reword description of Transaction.create's  and  args

* Rename output_uri to output_condition_uri

* Fix hardcoded class name vs. self.__class__

* Rename instances of 'out' with 'output'

* Rename instances of  and  with  to avoid name clash with built-in

* Remove unnecessary renaming of cryptoconditions.Fulfillment import in transaction model

* Remove instances of  in transaction model

* Remove usages of fulfillment in cases where input makes more sense

* Reword docstrings for init methods in transaction models

* Rename usages of condition where output is now a better fit

* Add descriptions to TransactionLink's txid and idx in schema

* Minor correction to output idx description in transaction yaml
2016-12-19 12:29:29 +01:00
Scott Sadler
ed55b3984e s/fulfillments/inputs/g && s/conditions/outputs/g (code changes) 2016-12-19 12:29:29 +01:00
Brett Sun
345fc27a39 Remove durability from all database-related calls 2016-12-12 16:07:41 +01:00
vrde
26c844ec22 Add defaults, fix import 2016-12-12 15:47:43 +01:00
vrde
4549e2ee4a Update BigchainDB core class 2016-12-12 15:47:43 +01:00
Scott Sadler
c43bf10151 add call to vote schema validate in consensus.py 2016-12-12 15:15:38 +01:00
Sylvain Bellemare
3bdaf60acb Fix docs building warnings 2016-12-08 11:45:41 +01:00
Scott Sadler
8d4677f456 flatten transaction - code changes 2016-12-01 14:31:31 +01:00
Scott Sadler
71dcee019f Remove metadata uuid 2016-11-28 17:34:46 +01:00
Rodolphe Marques
a824e275e0 decode signature to a str 2016-11-25 16:00:20 +01:00
libscott
b59751bba6 Fix documentation error in core.py 2016-11-22 14:08:54 +01:00
Rodolphe Marques
3ec79a54e7 fixed typo 2016-11-21 14:10:20 +01:00
Rodolphe Marques
e03a547276 Merge remote-tracking branch 'origin/master' into feat/332/get-txs-by-asset-id-ignore-invalid-blocks 2016-11-18 14:50:36 +01:00
Rodolphe Marques
547ad32966 Merge remote-tracking branch 'origin/master' into feat/792/get-txs-by-metadata-id-ignore-invalid-blocks 2016-11-18 10:17:01 +01:00
Rodolphe Marques
bc7f27e39a Merge remote-tracking branch 'origin/master' into feat/792/get-txs-by-metadata-id-ignore-invalid-blocks 2016-11-17 12:45:20 +01:00
Rodolphe Marques
f2922222be Added some comments to make the code more readable 2016-11-17 12:45:04 +01:00
Rodolphe Marques
eead7dbdda Merge remote-tracking branch 'origin/master' into feat/746/new-naming-convention-for-keys 2016-11-17 11:41:23 +01:00
troymc
54f0d85cda Merged master branch and fixed some merge conflicts 2016-11-14 18:35:46 +01:00
Sylvain Bellemare
9f471ef4b3 Merge branch 'master' into divisible-assets 2016-11-14 16:39:02 +01:00
Rodolphe Marques
98084f6f4a get_transaction_by_metadata_id now ignores invalid transactions 2016-11-11 17:36:27 +01:00
Rodolphe Marques
b7b9338f21 get_transactions_by_asset_id now ignores invalid transactions 2016-11-11 15:25:59 +01:00
Ryan Henderson
d31a268a51 add id query (#799) 2016-11-11 15:08:37 +01:00
Rodolphe Marques
c068f04a82 Replaced VerifyingKey with PublicKey
Replaced SigningKey with PrivateKey
Replaced all occurences of signing key with private key
Replaced all occurences of verifying key with public key
2016-11-10 17:01:06 +01:00
Rodolphe Marques
a2e28ae806 addressed comments 2016-11-09 17:48:39 +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
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
ee3b967184 Added support for divisible assets in TRANSFER transactions
Created tests
2016-11-06 01:55:47 +01:00
troymc
191c60ce37 Minor change to get_transaction + revised its docstring 2016-11-05 17:29:58 +01:00
Rodolphe Marques
dd382ee4e6 Added ability to CREATE divisible assets 2016-11-03 15:57:05 +01:00
vrde
187087d1e8
Remove unused import 2016-11-02 17:02:07 +01:00
vrde
b85272d56e
Merge remote-tracking branch 'origin/remove-unused-db-reconnect' 2016-11-02 16:48:47 +01:00