112 Commits

Author SHA1 Message Date
kansi
4eca26782c Change metadata model, fix tests and update docs 2017-11-14 00:13:06 +05:30
vrde
a0cbb63db8
Rename things, add tests 2017-08-09 10:51:30 +02:00
vrde
8d72421d7c
Add PubSub 2017-08-08 11:28:35 +02:00
Krish
e8411fc99e Do not allow duplicate GENESIS block creation - #1556 (#1612)
* Add a check for GENESIS transaction

* Add test and fixture

* Removed database query for GENESIS block

* Undo log level change
2017-07-03 17:21:15 +02:00
Sylvain Bellemare
02fe712c34 Integrate cryptoconditions version 02 2017-06-22 14:56:22 +02:00
libscott
32fc9244e6 Benchmark for CREATE transactions (#1511)
* benchmark code, throughput stats collection with graphite

* benchmarks readme

* benchmark readme update with results

* Update README.md

* add comment on why 10000 backlog size in benchmark
2017-06-10 10:01:28 +02:00
Scott Sadler
9e22e060ea Merge remote-tracking branch 'origin/master' into pipeline-fast-transaction 2017-06-01 14:15:46 +02:00
Scott Sadler
01c6d6e72d remove test, see if codecov is happy 2017-05-31 17:13:57 +02:00
Scott Sadler
8348dfb8ce test for vote get_changefeed to make codecov happy (fix) 2017-05-30 17:43:38 +02:00
Scott Sadler
d51632a675 test for vote get_changefeed to make codecov happy 2017-05-30 15:14:23 +02:00
Scott Sadler
4216c17339 test Vote.validate_tx transaction exists 2017-05-30 14:41:24 +02:00
Scott Sadler
bc687ca229 Merge remote-tracking branch 'origin/master' into pipeline-fast-transaction 2017-05-30 11:18:46 +02:00
Scott Sadler
51be4be2f7 Merge remote-tracking branch 'origin/master' into vote-order-bug 2017-05-29 17:03:36 +02:00
Scott Sadler
444bf6d197 fix rethinkdb changefeed decoupling 2017-05-29 16:42:29 +02:00
Scott Sadler
40eb2b7e52 Merge branch 'master' into vote-order-bug 2017-05-24 15:34:26 +02:00
Scott Sadler
17cf9178ce restore tx validation in block 2017-05-24 11:38:16 +02:00
Scott Sadler
2589e16fd6 pipeline fixes; dont validate tx schema during block creation, parallelise tx schema validation in vote pipeline 2017-05-22 12:41:15 +02:00
Rodolphe Marques
92392b51a7 Initial implementation to decouple assets from transactions.
Most changes done to how we write and read blocks to the database.
Created schema, indexes and queries for mongodb.
Fixed tests.
2017-05-10 16:43:52 +02:00
Scott Sadler
6fbefd5230 Merge remote-tracking branch 'origin/master' into federation-tests 2017-04-24 15:16:48 +02:00
Scott Sadler
8f55febefb rethinkdb changefeed update 2017-04-13 10:53:13 +02:00
Scott Sadler
3bb5973f60 fix block order bug 2017-04-12 17:29:17 +02:00
vrde
2bedc9b059
Fix typos 2017-04-12 14:39:15 +02:00
Scott Sadler
a6ba13dc3e Merge remote-tracking branch 'origin/master' into federation-tests 2017-04-11 11:21:02 +02:00
Rodolphe Marques
da29bbc605 added tests for the events 2017-04-07 15:02:49 +02:00
Rodolphe Marques
cb87221bdf Voting pipeline now checks for duplicated transactions in blocks during
validation.
2017-04-04 17:57:44 +02:00
Scott Sadler
d8b84891b6 federation tests 2017-03-21 16:23:56 +01:00
Scott Sadler
03ca4b1fd3 make stepping pipeline queue items mutable 2017-03-17 15:34:17 +01:00
Scott Sadler
58a1a25d43 test for invalid vote in election pipeline 2017-03-13 16:26:41 +01:00
Scott Sadler
dc58466de3 Merge branch 'master' into voting-class-integration 2017-03-13 13:35:03 +01:00
Scott Sadler
d10772e4bf Merge remote-tracking branch 'origin/master' into voting-class-integration 2017-03-08 12:56:58 +01:00
Scott Sadler
ffccf86c91 Merge remote-tracking branch 'origin/master' into voting-class-integration 2017-03-08 12:54:33 +01:00
Scott Sadler
a71dc66e97 extra test for tx_collector and docs fix 2017-03-02 18:48:03 +01:00
Scott Sadler
1d935b9ae6 dedupe tx in block, reject duplicate tx in block 2017-03-02 14:35:20 +01:00
Scott Sadler
c993f954e0 wip 2017-02-27 20:56:01 +01:00
Scott Sadler
89e76ffec2 fix tests, temporarily disabling some tests that need to be re-written 2017-02-23 21:53:12 +01:00
Scott Sadler
fc2b684f32 use is_new_transaction in pipelines 2017-02-22 13:55:29 +01:00
Scott Sadler
37f5298962 pull stepper changes from no-double-inclusion 2017-02-21 13:51:09 +01:00
Scott Sadler
a23a741253 document MultipipesStepper 2017-02-21 13:13:40 +01:00
Scott Sadler
6110693ae8 provide more documentation for MultipipesStepper 2017-02-21 13:04:43 +01:00
Scott Sadler
7469f60d17 more assertions in test 2017-02-15 15:15:20 +01:00
Scott Sadler
955b018be8 add stepping pipeline and fix issue #1191 2017-02-15 14:59:01 +01:00
Rodolphe Marques
c174271ae6 Make sure BlockPipeline.validate_tx handles all exceptions 2017-02-03 13:05:04 +01:00
Rodolphe Marques
595f7dc701 several fixes to mongodb queries 2017-01-09 13:25:27 +01:00
Brett Sun
8fa3245309 Rename any *util.py to *utils.py (#991) 2016-12-22 17:39:39 +01:00
libscott
5190e0a682 Merge pull request #925 from bigchaindb/inputs-outputs
Inputs & Outputs
2016-12-22 13:52:19 +01:00
Scott Sadler
04a78aacec Merge remote-tracking branch 'origin/master' into inputs-outputs 2016-12-22 13:45:02 +01:00
Brett Sun
2882bee48e Small flake8 fixes for tests (#987) 2016-12-22 11:57:13 +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
Sylvain Bellemare
44391da94a Add genesis block fixture and marker 2016-12-21 17:45:14 +01:00
Sylvain Bellemare
fa79fe6783 Add session scope test setup for config and db
resolves #966
2016-12-20 20:37:28 +01:00