894 Commits

Author SHA1 Message Date
Rodolphe Marques
6900e86458 Filter out assets from invalid transactions
- Created docstrings
- Created tests
- Raise an exception when trying to use text search with RethinkDB.
2017-05-24 11:38:15 +02:00
libscott
488074fa09 Merge pull request #1411 from bigchaindb/fast-unspents
Fast unspents
2017-05-23 13:21:33 +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
Scott Sadler
5de15c33ec disable threads in web workers 2017-05-19 14:05:28 +02:00
Troy McConaghy
cab2ea11ab use default mongodb replica set name when run mongod for tests 2017-05-18 17:50:08 +02:00
vrde
3995e22d4a Fail if config file not found 2017-05-18 17:43:44 +02:00
Rodolphe Marques
ccaae91601 Added full text search support for mongodb.
- Create widlcard text index for the assets collection.
- Created backend query to to text search on assets collection.
- Added and updated tests.
2017-05-12 15:22:11 +02:00
Rodolphe Marques
ce414e46f3 Added missing docstrings. Fixed typos. 2017-05-11 12:29:08 +02:00
Rodolphe Marques
eb94181e1b Fixed tests.
Updated fixtures to flush the assets table after each test.
2017-05-11 12:00:01 +02:00
Rodolphe Marques
aacba571f8 Added docstrings and tests to new methods 2017-05-11 11:38:07 +02:00
Rodolphe Marques
8c0dbeb281 Added asset decoupling support for rethinkdb
Updated schema.
Created queries for assets table.
Fixed tests.
2017-05-10 17:55:43 +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
b4f14b26ce address nomenclature issues 2017-05-08 14:25:39 +02:00
Scott Sadler
6fbefd5230 Merge remote-tracking branch 'origin/master' into federation-tests 2017-04-24 15:16:48 +02:00
libscott
4b057ad948 Merge pull request #1286 from bigchaindb/tx-amount-string
transaction.outputs.amount as string
2017-04-24 14:28:06 +02:00
Scott Sadler
1e866a1207 signature payload is serialized transaction 2017-04-24 13:37:50 +02:00
Scott Sadler
2c6370f42e Merge branch 'master' into sign-tx-body 2017-04-24 13:28:02 +02:00
Scott Sadler
483425e803 Merge branch 'master' into tx-amount-string 2017-04-24 12:22:36 +02:00
Scott Sadler
2200a7bda4 cleanup 2017-04-24 12:21:00 +02:00
Scott Sadler
5d767c1162 light refactoring to remove some redundancies and fix test coverage 2017-04-21 12:23:53 +02:00
Scott Sadler
29247a9994 test clarification 2017-04-20 16:58:40 +02:00
Scott Sadler
5b6fa13d79 fast unspent queries for RethinkDB 2017-04-20 16:58:29 +02:00
Scott Sadler
4f99122758 fast unspents 2017-04-19 15:47:58 +02:00
vrde
659d25444e
Merge branch 'remove-useless-capped-queue' 2017-04-18 16:38:26 +02:00
Sylvain Bellemare
965334e9b6 Use lower case for default log level 2017-04-18 16:21:02 +02:00
Sylvain Bellemare
4d8f9dd777 Explicitly set default log config
Closes #1318
2017-04-18 16:21:02 +02:00
Sylvain Bellemare
b3290f12d2 Apply log level cmd line option to log file 2017-04-18 16:21:02 +02:00
Sylvain Bellemare
6d4245dfd9 Set error log file according to user given setting 2017-04-18 16:21:02 +02:00
Sylvain Bellemare
b4eb75ede5 Use MongoDB as default db in docker-compose file 2017-04-18 16:14:21 +02:00
vrde
f94a1e020c
Dispatcher is a consumer, no capped queue needed 2017-04-18 16:13:03 +02:00
Troy McConaghy
d7ccc7c00f Merge branch 'master' into docs/1170/move-http-api-docs-to-top-level-section 2017-04-18 14:34:53 +02:00
vrde
83af84742b
Merge branch 'events-api-first-cut' 2017-04-18 13:08:47 +02:00
Troy McConaghy
59be30187f Merge branch 'master' into docs/1170/move-http-api-docs-to-top-level-section 2017-04-18 10:43:02 +02:00
libscott
31ac941ad1 Merge pull request #1309 from bigchaindb/critical-duplicate-vote
Voting module raises CriticalDuplicateVote if there's a duplicate vote
2017-04-13 12:01:38 +02:00
Scott Sadler
861bfa2aab use patch instead of subclassing 2017-04-13 11:38:17 +02:00
Scott Sadler
99b4777766 use MongoDBConnection.run() and fix changefeed reconnect 2017-04-13 11:12:04 +02:00
Scott Sadler
8f55febefb rethinkdb changefeed update 2017-04-13 10:53:13 +02:00
vrde
414d915033
Snakecaseify keys 2017-04-13 08:54:34 +02:00
Scott Sadler
3bb5973f60 fix block order bug 2017-04-12 17:29:17 +02:00
Sylvain Bellemare
303e12ee28 Test command run_init when db already exists 2017-04-12 16:38:18 +02:00
Sylvain Bellemare
a7ed28e539 Test command helper _run_init 2017-04-12 16:12:41 +02:00
vrde
2bedc9b059
Fix typos 2017-04-12 14:39:15 +02:00
Sylvain Bellemare
0347fbccf4 Add a few more checks to the test 2017-04-12 13:50:09 +02:00
Sylvain Bellemare
e614834a03 Import Transaction class within fixture 2017-04-12 13:49:10 +02:00
Sylvain Bellemare
75dd645ec9 Import stdlib pkgs at the top of the test module 2017-04-12 13:47:58 +02:00
Scott Sadler
3bf1f9fa17 add additional test of negative amount to fix codecov 2017-04-12 12:16:42 +02:00
Scott Sadler
de445bb977 simplifications and clarifications for review of federation tests 2017-04-12 11:58:43 +02:00
Sylvain Bellemare
98e52e047e Make utility test function into a fixture 2017-04-11 18:34:31 +02:00
Sylvain Bellemare
e0e997755e Re-order imports (pep8) 2017-04-11 18:34:20 +02:00
Sylvain Bellemare
79997848cd Refine test for the election pipeline process
test that the process is started with the events_queue kwargs
2017-04-11 17:24:21 +02:00