* 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
1. switches from a composable plugin model to a single-plugin model
2. switches class methods to static methods in the BaseConsensusRules class
3. adds create_transaction, sign_transaction, and verify_transaction to
the plugin API
TODO: If we adopt this model, all references in e.g. client.py to util
methods like `sign_tx` need to be routed through the plugin methods, and
possibly need to be added to the plugin interface.
Without this running blockchaindb yields:
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.4/trace.py", line 858, in <module>
main()
File "/usr/lib/python3.4/trace.py", line 804, in main
t.runctx(code, globs, globs)
File "/usr/lib/python3.4/trace.py", line 510, in runctx
exec(cmd, globals, locals)
File "/usr/local/bin/bigchaindb", line 9, in <module>
load_entry_point('BigchainDB==0.1.4', 'console_scripts', 'bigchaindb')()
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 549, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 2542, in load_entry_point
return ep.load()
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 2202, in load
return self.resolve()
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 2208, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.4/dist-packages/BigchainDB-0.1.4-py3.4.egg/bigchaindb/commands/bigchain.py", line 14, in <module>
from bigchaindb.processes import Processes
File "/usr/local/lib/python3.4/dist-packages/BigchainDB-0.1.4-py3.4.egg/bigchaindb/processes.py", line 9, in <module>
from bigchaindb.web import server
ImportError: No module named 'bigchaindb.web'