1977 Commits

Author SHA1 Message Date
vrde
53fb9f3d5f Add connection Class 2016-12-12 15:47:43 +01:00
vrde
9615ac22ae Create new modules layout 2016-12-12 15:47:43 +01:00
libscott
ca4fc88651 Merge pull request #865 from bigchaindb/vote-schema
Vote schema
2016-12-12 15:22:18 +01:00
Scott Sadler
98ca6ee5ab always try to include all operands on the first level of the statement 2016-12-12 15:15:38 +01:00
Scott Sadler
a635838c58 few style changes for vote-schema.py 2016-12-12 15:15:38 +01:00
Scott Sadler
4f83fce39d address some PR comments on coding style 2016-12-12 15:15:38 +01:00
Scott Sadler
ea6ae4db20 revert data-models/vote-model documentation 2016-12-12 15:15:38 +01:00
libscott
d9bc90e5aa Imports inside tests in test_consensus.py 2016-12-12 15:15:38 +01:00
Scott Sadler
94df6fc00a merge test_schema tests and tweak Data Models documentation index 2016-12-12 15:15:38 +01:00
Scott Sadler
624a0c972a remove misplaced docs/generate 2016-12-12 15:15:38 +01:00
Scott Sadler
7cb6c8913b unversion vote.rst since it's JITted now 2016-12-12 15:15:38 +01:00
Scott Sadler
a690fbee53 documentation fix for vote schema 2016-12-12 15:15:38 +01:00
Scott Sadler
6208a93673 fix linting issue 2016-12-12 15:15:38 +01:00
Scott Sadler
d7e0009ce5 Drop definitions from schemas since they clutter log output 2016-12-12 15:15:38 +01:00
Scott Sadler
e861353a73 documentation fixes for vote schema and remove vote-model.md in place of vote schema doc, and link to vote schema doc from data-models index 2016-12-12 15:15:38 +01:00
Scott Sadler
0f824b071f fix unclear code in drop_schema_descriptions and remove leftover print() 2016-12-12 15:15:38 +01:00
Scott Sadler
7453e57e7b remove descriptions from yaml schemas loaded for validating in order to reduce noise in error descriptions 2016-12-12 15:15:38 +01:00
Scott Sadler
f2e6e4d13d add tests to get coverage of consensus.py 2016-12-12 15:15:38 +01:00
Scott Sadler
f38028d727 basic tests for vote schema validator 2016-12-12 15:15:38 +01:00
Scott Sadler
bfb5be3ba4 refactor schema tests into separate modules 2016-12-12 15:15:38 +01:00
Scott Sadler
44a43dcf94 make all tests pass after vote schema introduction 2016-12-12 15:15:38 +01:00
Scott Sadler
ef5f3ddd28 better logging and arrangement for vote verification 2016-12-12 15:15:38 +01:00
Scott Sadler
c43bf10151 add call to vote schema validate in consensus.py 2016-12-12 15:15:38 +01:00
Scott Sadler
855dc7a5e8 refactor schema __init__ slightly 2016-12-12 15:15:38 +01:00
Scott Sadler
ecbeaa0b25 vote.id doesn't exist in server 2016-12-12 15:15:38 +01:00
Scott Sadler
b227739d89 render schema/vote.rst 2016-12-12 15:15:38 +01:00
Scott Sadler
31be5b3c8a generalize generate_schema_documentation.py 2016-12-12 15:15:38 +01:00
Scott Sadler
0d8a53cb68 vote schema 2016-12-12 15:15:38 +01:00
Troy McConaghy
efbc1e1b9a Merge pull request #928 from bigchaindb/remove-docs-on-old-azure-template
Removed old Azure Quickstart Template docs, edited new ones
2016-12-10 16:44:34 +01:00
troymc
2684fd5da5 Removed old Azure quickstart template docs, edited new ones 2016-12-10 16:29:42 +01:00
libscott
6166a96410 Merge pull request #881 from bigchaindb/remove-cid-fid
Remove Condition.cid and Fulfillment.fid
2016-12-09 14:37:13 +01:00
Scott Sadler
53c2aebfab Merge remote-tracking branch 'origin/master' into remove-cid-fid 2016-12-09 14:28:38 +01:00
libscott
38ea8c3cf7 Merge pull request #924 from bigchaindb/fix-sphinx-warning-on-server-docs
Changed docs subsection title so no more Sphinx warning
2016-12-09 14:22:10 +01:00
troymc
6db782453f Changed docs subsection title so no more Sphinx warning 2016-12-09 14:16:06 +01:00
Troy McConaghy
e825a03160 Merge pull request #847 from bigchaindb/docs-on-new-azure-template
Docs on the new ARM template for deploying on Azure
2016-12-09 11:44:45 +01:00
Scott Sadler
fc88c36ee5 Merge remote-tracking branch 'origin/master' into remove-cid-fid 2016-12-09 10:42:32 +01:00
Brett Sun
86019d51eb Add tox usage to testing docs (#915)
* Use section header for CI testing in style guide document
* Add tox section to style guide document
* Reword style guide's testing section to be more general after introduction of integration tests
2016-12-08 17:10:48 +01:00
Sylvain Bellemare
6f90c8f3df Add tests for HTTP API returned errors 2016-12-08 16:50:56 +01:00
Sylvain Bellemare
209dba76a3 Add some messages when raising exceptions 2016-12-08 16:50:56 +01:00
Sylvain Bellemare
d998b00592 Return information about the exception 2016-12-08 16:50:56 +01:00
Sylvain Bellemare
cc9e3b79b6 Remove outdated comment 2016-12-08 16:50:35 +01:00
Krish
07b3f9ca4e Merge pull request #908 from krish7919/bug/781/performance-memory-usage
Fix 781 and 124
2016-12-08 13:51:05 +01:00
Sylvain Bellemare
bf0b2a32f0 Set root docs html_static_path to empty list 2016-12-08 11:45:41 +01:00
Sylvain Bellemare
793883196b Adjust container server docs building commmand 2016-12-08 11:45:41 +01:00
Sylvain Bellemare
3bdaf60acb Fix docs building warnings 2016-12-08 11:45:41 +01:00
Sylvain Bellemare
20f629256b Mount tox.ini in dev container 2016-12-08 11:45:41 +01:00
Sylvain Bellemare
abd4a54a76 Add python3.4 and vim for dev & testing 2016-12-08 11:45:41 +01:00
Sylvain Bellemare
aa436ced6e Fix #786 2016-12-08 11:45:41 +01:00
Ryan Henderson
1223695b36 add integration tests (#614) 2016-12-08 11:42:46 +01:00
Krish
85bb4a9233 Fix 781 and 124
The queue/pipeline used in the block creation process is unbounded.
When too many transactions occur, the backlog table fills up quite easily and
bigchaindb just reads all the transaction in the backlog to create a block.
This causes memory usage to grow indefinitely.

Limiting the queue size to 1000 transactions for now as the block creation and
voting happens in batches of 1000. Can be increased later in case block size
is increased.
2016-12-08 08:54:21 +00:00