* Planning release
* Clean up after move
* Add exceptions.py
* Add crypto.py
* Adjust setup to package structure
* Fix tests
* Add test coverage
* Comply to flake8
* Add test coverage
* Transfer-tx fulfillments validation
* Remove condition and fulfillment ids
* Fix signing logic
Specifically for transfer-tx with multiple inputs
and outputs.
* Compliance to legacy BDB models
* Adjust fulfillment validation interface
* Add serialization validation for txids
* Use __eq__ to compare objects
* Heavy refactor to comply with current implementation
* Add Transaction.create
* Correct fulfillment validation logic
* Add Transaction.create for hashlock conditions
* Add hashlock condition serialization
* Transaction.transfer add single input and outputs
* Small adjustments to transfer-tx interface
* Create transfer-tx interface
* Increase test coverage
* Adjust fulfillment (de)serialization
* Catch CC Error for Fulfillment
* Allow custom thresholds
* PR feedback
* Fix tests
* Rename Data to Metadata
* Add Asset exceptions
* Add basic Asset model
* More renaming of payload => data
* Add Asset into work-flow-functions
* Add Asset amount to condition
* add fulfillment exception
* initial integration of asset
* Make transaction.py compy to 79 chars
* Make util.py comply to 79 chars
* Make exceptions.py comply to 80 chars
* Renaming inp to input_
* fix pep8 issues
* Correct raised error
* Remove resolved TODOs
* prevent adding None as fulfillment / condition to Transaction
* Small modifications to support new cryptoconditions
* Improve documentation (#42)
* Add doc strings for Fulfillment cls
* Add doc strings for TransactionLink cls
* Add doc strings for Condition cls
* Add doc strings for Data cls
* Add doc strings for Transaction cls
* Add doc strings for Asset cls
* Extract common implementation
* Tx model: Add test for empty inputs
* WIP: Implement sign tx
* Add tests for:
- Conditions; and
- Fulfillments
Mostly on the (de)serialization part.
* Finalize serialization logic for tx class
* Add Tests for tx serialization logic
* Add fulfillment validation
* Add ThresholdCondition support
* WIP transfer
* Clean up after move
* Adjust setup to package structure
* Fix tests
* Add test coverage
* Add test coverage
* Transfer-tx fulfillments validation
* Remove condition and fulfillment ids
* Fix signing logic
Specifically for transfer-tx with multiple inputs
and outputs.
* Fix test case
* Compliance to legacy BDB models
* Adjust fulfillment validation interface
* Add serialization validation for txids
* Use __eq__ to compare objects
* Heavy refactor to comply with current implementation
* Add Transaction.create
* Add validation tests
* Add Transaction.create for hashlock conditions
* Add hashlock condition serialization
* Transaction.transfer add single input and outputs
* Small adjustments to transfer-tx interface
* Create transfer-tx interface
* Increase test coverage
* Adjust fulfillment (de)serialization
* Catch CC Error for Fulfillment
* Allow custom thresholds
* Rename Data to Metadata
* Add basic Asset model
* Add Asset into work-flow-functions
* Add Asset amount to condition
* initial integration of asset
* Make tests comply to 79 chars per line
* Fixed tests
* fix pep8 issues
* Correct raised error
* Add test for asset initialization
* Remove resolved TODOs
* prevent adding None as fulfillment / condition to Transaction
* Small modifications to support new cryptoconditions
* Extract common tests
* Copy conftest from bigchaindb-common - by @timdaub
* Replace bigchaindb_common pkg by bigchaindb.common
* 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
* add timestamp to transaction assignment
* add reassignment delay to configuration
* refactor to multipipes
* # This is a combination of 7 commits.
# The first commit's message is:
stale transaction monitor and tests
# The 2nd commit message will be skipped:
# simplify logic
# The 3rd commit message will be skipped:
# node will assign to self
# The 4th commit message will be skipped:
# block listens for insert and update
# The 5th commit message will be skipped:
# more test coverage
# The 6th commit message will be skipped:
# test coverage
# The 7th commit message will be skipped:
# test coverage
* stale transaction monitor and tests
* update operation only returns new value
* create votes table and indexes
* initial db call rewrite
* setup votes table in tests
* rewrite election status
* update api tests
* update tests
* bigchaindb set-shards should change 'votes' table too
* Forgot to add change to bigchain.py in last commit
* update test
* move exceptions
* collapse line
* revise test
* remove obsolete test
* remove votelist from blocks
* sharding and replication
* documentation changes
* language change
* more readable assertions
* fix exception
* test exceptions
* remove parameter
* remove loop
* Test Bigchain.get_blocks_status_containing_tx()
exception case
* Test Bigchaindb.has_previous_vote()
* Add missing blank lines (pep 8)
* Group imports
* Move ImproperVoteError into .exceptions.py
* Simplify logic
* Simplify formatting
* Imrpove the docstrings a bit
* Move GenesisBlockAlreadyExistsError
into .exceptions.py
* Remove unused import
* Add missing blank line
* Remove extra blank line
* Group imports from same module together
* Add test for Bigchain.transaction_exists()
Timestamp is now returned in UTC with second precision.
Payload hash is replaced by an uuid4. This allows us to distinguish
between duplicated payloads.
Removed a deprecated test related to the payload hash.
Renamded secondary index payload_hash -> payload_uuid