* Add SSL support for MongoDB connections
* Tests for TLS connectivity and other fixes
* Add test for ssl parameters
* Add test for AuthenticationError
* Cleanup branch
* Split env vars as per @r-marques suggestion
* Remove SSL_ENABLED and use BIGCHAINDB_DATABASE_SSL instead
* Changes as per comments from @r-marques
* Remove redundant tests
* Test for ConfigurationError
* Added replicaset name to bigchaindb config
* changed travis replSet to match bigchaindb default
* Updated initialize_replica_set
It now initializes the replica set with the name provided by the
bigchaindb config file.
* initialize_replica_set is now called when creating a mongodb connection.
This way we are sure that a replica set exists when we return a
connection.
* Moved the initialize replica set logic to the connection.
* update the config documentation
* Remove asset.validate_asset and move its validation checks to other areas
* Move Asset.get_asset_id to Transaction
* Remove Asset and AssetLink models
* Add test against creating TRANSFER transactions with bad asset
* Allow AssetLinks to be used in place of Assets in the Transaction Model and enforce `Transaction.transfer()` to only take an AssetLink
* Remove AssetLink's inheritance from Asset
* Remove id from the Asset model
* Fix get_txids_by_asset_id query for rethinkdb after removing asset's uuid
Because `CREATE` transactions don't have an asset that contains an id
anymore, one way to find all the transactions related to an asset is to
query the database twice: once for the `CREATE` transaction and another
for the `TRANSFER` transactions.
* Add TODO notice for vote test utils to be fixtures
* Update asset model documentation to reflect usage of transaction id
* Fix outdated asset description in transaction schema
* Remove unnecessary import of rethinkdb in a test
* Move test_run_query_util as a rethinkdb-specific test
* Move rethinkdb-specific command tests to own file
* Add __init__.py to new test folders
* Move command tests to their own test module
* Move fixtures out of command tests into separate conftest for commands
* Fix some small flake8 issues with rethinkdb's test_run_query_util
* Add pytest ignore hook to filter out test dirs that are not for the requested backend
* Move backend-specific tests in tests/db/ to tests/backend/
* Adjust imports to bigchaindb_common
* Adjust get_spent function signature
* Adjust block serialization
* Fix BigchainApi Test
* Fix TestTransactionValidation tests
* Fix TestBlockValidation tests
* WIP: TestMultipleInputs
* Adjust tests to tx-model interface changes
- Fix old tests
- Fix tests in TestMultipleInputs class
* Remove fulfillment message tests
* Fix TransactionMalleability tests
* Remove Cryptoconditions tests
* Remove create_transaction
* Remove signing logic
* Remove consensus plugin
* Fix block_creation pipeline
* Fix election pipeline
* Replace some util functions with bdb_common ones
- timestamp ==> gen_timestamp
- serialize.
* Implement Block model
* Simplify function signatures for vote functions
Change parameter interface for the following functions:
- has_previous_vote
- verify_vote_signature
- block_election_status
so that they take a block's id and voters instead of a fake block.
* Integrate Block and Transaction model
* Fix leftover tests and cleanup conftest
* Add bigchaindb-common to install_requires
* Delete transactions after block is written (#609)
* delete transactions after block is written
* cleanup transaction_exists
* check for duplicate transactions
* delete invalid tx from backlog
* test duplicate transaction
* Remove dead code
* Test processes.py
* Test invalid tx in on server
* Fix tests for core.py
* Fix models tests
* Test commands main fn
* Add final coverage to vote pipeline
* Add more tests to voting pipeline
* Remove consensus plugin docs and misc
* Post rebase fixes
* Fix rebase mess
* Remove extra blank line
* Improve docstring
* Remove comment
handled in bigchaindb/cryptoconditions#27;
see https://github.com/bigchaindb/cryptoconditions/issues/27
* Fix block serialization in block creation
* Add signed_ prefix to transfer_tx
* Improve docs
* Add library documentation page on pipelines
* PR feedback for models.py
* Impr. readability of get_last_voted_block
* Use dict comprehension
* Add docker-compose file to build and serve docs
locally for development purposes
* Change private_key for signing_key
* Improve docstrings
* Remove consensus docs
* Document new consensus module
* Create different transactions for the block
* Cleanup variable names in block.py
* Create different transactions for the block
* Cleanup variable names in block.py