1008 Commits

Author SHA1 Message Date
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
Tim Daubenschütz
8b7f86b63d Feat/1462/text search http api (#1471)
* Add assets text search endpoint

* Filter out assets from invalid transactions.

- Added the limit argument to limit the returned results
- Created and updated tests

* Added documentation for the assets endpoint.

- Added some docstrings

* Removed unnecessary fixtures
2017-05-30 11:21:26 +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
Rodolphe Marques
ef52c04808 Merge remote-tracking branch 'origin/master' into feat/1462/text-search 2017-05-29 13:07:38 +02:00
Rodolphe Marques
3819ae5d65 Clean up code
- Fixed docstrings
2017-05-26 10:34:58 +02:00
Rodolphe Marques
e9979dda85 fixed typos 2017-05-24 17:05:43 +02:00
Scott Sadler
40eb2b7e52 Merge branch 'master' into vote-order-bug 2017-05-24 15:34:26 +02:00
Rodolphe Marques
23954ccc8a Merge remote-tracking branch 'origin/master' into feat/1275/asset-decoupling 2017-05-24 12:44:04 +02:00
Rodolphe Marques
56379e9bec fix pep8 issue 2017-05-24 12:11:40 +02:00
Rodolphe Marques
285fc03ca9 Merge remote-tracking branch 'origin/master' into feat/1462/text-search 2017-05-24 11:59:49 +02:00
Scott Sadler
17cf9178ce restore tx validation in block 2017-05-24 11:38:16 +02:00
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