773 Commits

Author SHA1 Message Date
Scott Sadler
e1312b88a3 Voting uses BigchainDBCritical 2017-02-24 10:04:24 +01:00
Scott Sadler
c44c9d0282 tests for vote schema and signature validation 2017-02-23 21:53:12 +01:00
Scott Sadler
e88c98a695 test_count_votes 2017-02-23 21:53:12 +01:00
Scott Sadler
1ff84bd670 test_partition_eligible_votes 2017-02-23 21:53:12 +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
ff7e4d11d1 remove test from test_core.py which is just wrong 2017-02-23 21:53:12 +01:00
Scott Sadler
fdad8cd796 Static Classify Voting 2017-02-23 21:53:12 +01:00
Scott Sadler
20f6539e10 check count_votes invalid input 2017-02-23 21:53:12 +01:00
Scott Sadler
d71e560ba4 flesh out voting module 2017-02-23 21:53:12 +01:00
libscott
289080358d Merge pull request #1209 from bigchaindb/tymlez-consensus
Tymlez consensus plugin
2017-02-23 18:37:04 +01:00
vrde
c11808ecc5
Move common stuff to generic Connection class 2017-02-23 17:20:21 +01:00
Scott Sadler
b94eab715d introduce BigchainDBCritical exception 2017-02-22 14:37:34 +01:00
Scott Sadler
0f5844d4ae Merge remote-tracking branch 'origin/master' into tymlez-consensus 2017-02-22 14:07:36 +01:00
Scott Sadler
6e7534d3c2 cleanup; remove transaction_exists and has_transaction 2017-02-22 13:55:29 +01:00
Scott Sadler
fc2b684f32 use is_new_transaction in pipelines 2017-02-22 13:55:29 +01:00
Scott Sadler
843d65d233 bigchain.is_new_transaction method 2017-02-22 13:55:29 +01:00
Scott Sadler
57d7a3d850 fix some outstanding flake8 issues 2017-02-22 12:33:10 +01:00
libscott
c9ba7e6243 Merge branch 'master' into master 2017-02-22 12:20:35 +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
fc04cd7bcd update changefeed test for update 2017-02-15 17:31:36 +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
Troy McConaghy
f2a05c9e3b Fixed the docs URL in HTTP API responses 2017-02-09 11:10:58 +01:00
Troy McConaghy
e6d99d74c0 Merge pull request #1100 from bigchaindb/implement-connection-run-for-mongodb
[WIP] Add run interface to MongoDB connection (aka: lazy queries)
2017-02-06 18:41:33 +01:00
vrde
2962b4a27d
Skip test 2017-02-06 18:06:19 +01:00
Rodolphe Marques
5cec31e5a3 Merge pull request #1136 from bigchaindb/bug/1132/vote-pipeline-validates-transactions-twice
Bug/1132/vote pipeline validates transactions twice
2017-02-06 17:39:01 +01:00
vrde
5604e32d57
Try once if AutoReconnect is raised 2017-02-06 16:14:14 +01:00
vrde
5aecd8aab2
Merge branch 'master' into implement-connection-run-for-mongodb 2017-02-06 14:44:52 +01:00
vrde
01da32d351
Merge branch 'master' into implement-connection-run-for-mongodb 2017-02-03 15:25:24 +01:00
Rodolphe Marques
c174271ae6 Make sure BlockPipeline.validate_tx handles all exceptions 2017-02-03 13:05:04 +01:00
libscott
c728a9cddf Merge pull request #910 from bigchaindb/broken-integration-test
Broken integration test
2017-02-03 12:01:40 +01:00
vrde
7f50d76d9e
Fix test on changefeed reconnection 2017-02-03 11:58:18 +01:00
libscott
47d6b8038b Merge pull request #1131 from bigchaindb/fix-asset_id-index
Fix asset id index
2017-02-03 11:08:01 +01:00
Scott Sadler
d3e394e7ed refactor get_txids_filtered query to be more efficient and add test to check that appropriate indexes are used 2017-02-03 10:44:06 +01:00
Rodolphe Marques
2fe9c47b63 Feat/990/cleanup monitoring code (#1138)
* remove statsd dependencie

* remove monitoring related code

* removed statsd configuration

* fixed tests

* Removed monitoring docker compose file.

Remove statsd settings from test fixture.
Removed statsd related code from benchmarking tests

* removed monitoring related documentation

* remove unused import
2017-02-03 10:28:28 +01:00
vrde
e3a6d3d343
Add tests for connection.run 2017-02-02 19:58:00 +01:00
vrde
702d74a584
Merge branch 'master' into implement-connection-run-for-mongodb 2017-02-02 19:37:14 +01:00
vrde
16571b539f
Normalize exceptions 2017-02-02 19:26:52 +01:00
Rodolphe Marques
90eb38e7f1 Merge pull request #1088 from bigchaindb/feat/1055/commands-add-remove-replicas
BigchainDB commands to add and remove nodes from the replica set
2017-02-02 14:00:49 +01:00
Rodolphe Marques
153b3dd8d4 Merge remote-tracking branch 'origin' into bug/1132/vote-pipeline-validates-transactions-twice 2017-02-02 13:38:34 +01:00
Rodolphe Marques
6b073f0898 Removed duplicated transaction validation in votes pipeline.
Separated block validation from transaction validation.
Refactored block signature validation.
2017-02-02 13:35:20 +01:00
Rodolphe Marques
2262914868 Merge pull request #1130 from bigchaindb/feat/519/fix-logic-validate-block
fix wrong logic in validate_block
2017-02-02 13:34:47 +01:00
Rodolphe Marques
6fd8c7a20b Feat/105/secondary indexes inputs outputs (#1125)
* Added inputs/outputs secondary indexes for rethinkdb

Added tests.

* Added inputs/outputs secondary indexes for mongodb

Fixed tests.

* fixed comment
2017-02-02 09:45:13 +01:00
Rodolphe Marques
b7f70befe6 fix wrong logic in validate_block 2017-02-01 15:10:17 +01:00
Scott Sadler
7f5318cba4 check validate_transaction raises DoubleSpend in integration test 2017-02-01 14:33:53 +01:00
Scott Sadler
d1b3a206ca get integration test working issue 633 2017-02-01 14:25:11 +01:00
ryan
2de652ad5c add replicating test 2017-02-01 14:25:11 +01:00
libscott
6783478126 Merge pull request #1117 from bigchaindb/unicode-529
test transaction supports unicode
2017-02-01 12:14:11 +01:00