871 Commits

Author SHA1 Message Date
Rodolphe Marques
e0e27dc121 Consolidate root urls
- All information added to root url `/`
- Information specific to v1 under `/api/v1`
- Removed `_links`
- Removed `self`
2017-06-12 15:13:42 +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
libscott
c9b5637681 Merge pull request #1518 from bigchaindb/require_asset_data
Require asset.data for CREATE and asset.id for TRANSFER in the schemas
2017-06-08 13:22:04 +02:00
Scott Sadler
622885aef8 require asset.data for CREATE and asset.id for TRANSFER in the schemas 2017-06-07 13:39:24 +02:00
Rodolphe Marques
00dc44721f Merge remote-tracking branch 'origin/master' into init-timeout-rethinkdb-conn 2017-06-01 14:53:44 +02:00
Rodolphe Marques
cc2e83f07d Added unit test for rethinkdb connection timeout
- Cosmetic changes
2017-06-01 14:30:20 +02:00
Scott Sadler
9e22e060ea Merge remote-tracking branch 'origin/master' into pipeline-fast-transaction 2017-06-01 14:15:46 +02:00
libscott
479bb78d9b Merge pull request #1389 from bigchaindb/vote-order-bug
Resume voting on blocks in order
2017-06-01 12:48:22 +02:00
Scott Sadler
01c6d6e72d remove test, see if codecov is happy 2017-05-31 17:13:57 +02:00
libscott
1d96768db8 Merge pull request #1488 from bigchaindb/nothreads
Disable threads in web workers
2017-05-31 14:36:44 +02:00
libscott
bb02995ae6 Merge pull request #1494 from bigchaindb/rapidjson-schema
Use rapidjson-schema
2017-05-31 14:06:21 +02:00
Scott Sadler
211bdeffb1 dont raise Exception if there's an inconsistency in schema validation failures 2017-05-31 11:33: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
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