Brett Sun
|
9946147f77
|
Fix bigchaindb/commands for new connection and database interfaces
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
c6acd8e1f5
|
Add generic init_database() function to set up database schema
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
4343a9297c
|
Add docstrings for database schema interface
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
c5d55783fa
|
Move docstrings out of rethinkdb/query.py implementation into interface
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
c9766b5e92
|
Generalize naming of module dispatch decorator factory
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
eda1c1bf55
|
Rename backend implementation decorators to be aligned with their action of registering functions
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
6e14a63291
|
Add backlog and votes secondary indexes to rethinkdb's create_index()
|
2016-12-12 15:48:48 +01:00 |
|
Sylvain Bellemare
|
d43e77ce4a
|
Add docs for backend
|
2016-12-12 15:48:48 +01:00 |
|
Sylvain Bellemare
|
67af0deaae
|
Remove unused exception variable
|
2016-12-12 15:48:48 +01:00 |
|
Sylvain Bellemare
|
261fe8ebf6
|
Remove superfluous else
|
2016-12-12 15:48:48 +01:00 |
|
Sylvain Bellemare
|
be8f3dc69d
|
Remove superfluous parentheses
|
2016-12-12 15:48:48 +01:00 |
|
Sylvain Bellemare
|
cd8d038a83
|
End sentence with period :)
|
2016-12-12 15:48:48 +01:00 |
|
Sylvain Bellemare
|
2be623221f
|
Add line between std lib & 3rd party imports
|
2016-12-12 15:48:48 +01:00 |
|
Sylvain Bellemare
|
f341bd1586
|
Rename backend.util to backend.utils
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
d4da573389
|
Sync query interface with rethinkdb implementation based on latest changes
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
75ef0f2fda
|
Import the backend interfaces on module import
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
ab18203b7c
|
Register rethinkdb backend implementation to backend interface dispatchers
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
daa0fe1f51
|
Add utility decorator for registering backend dispatches based on modules
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
2eb83b9993
|
Remove unnecessary export of base Connection from backend/
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
dabb81ac98
|
Replace cherrypicked class-based architecture with singledispatch
|
2016-12-12 15:48:48 +01:00 |
|
Brett Sun
|
1d0a7d2153
|
Remove remnants of db/ folder
|
2016-12-12 15:48:48 +01:00 |
|
vrde
|
a08ba013a0
|
Remove dependency from bigchaindb.config
|
2016-12-12 15:47:43 +01:00 |
|
vrde
|
87c7228bc4
|
Add docstring, fix name
|
2016-12-12 15:47:43 +01:00 |
|
vrde
|
26c844ec22
|
Add defaults, fix import
|
2016-12-12 15:47:43 +01:00 |
|
vrde
|
2fd0aeca9f
|
Add error handling
|
2016-12-12 15:47:43 +01:00 |
|
Brett Sun
|
c9a3d01112
|
Move db/ files into backend/
|
2016-12-12 15:47:43 +01:00 |
|
vrde
|
24e374b860
|
Cherrypick from class based architecture
|
2016-12-12 15:47:43 +01:00 |
|
vrde
|
4549e2ee4a
|
Update BigchainDB core class
|
2016-12-12 15:47:43 +01:00 |
|
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 |
|
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
|
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
|
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
|
0d8a53cb68
|
vote schema
|
2016-12-12 15:15:38 +01:00 |
|
Scott Sadler
|
fc88c36ee5
|
Merge remote-tracking branch 'origin/master' into remove-cid-fid
|
2016-12-09 10:42:32 +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 |
|
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
|
3bdaf60acb
|
Fix docs building warnings
|
2016-12-08 11:45:41 +01:00 |
|