13 Commits

Author SHA1 Message Date
Sylvain Bellemare
ea9dfaf1e5 Replace bigchaindb_common pkg by bigchaindb.common 2016-10-24 17:01:43 +02:00
Rodolphe Marques
fd585188e2 renamed payload to metadata 2016-10-04 16:03:39 +02:00
Sylvain Bellemare
50b0b3cef2 Rebase/feat/586/integrate tx model (#641)
* 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
2016-09-29 10:29:41 +02:00
vrde
d06e8b91d8
Add Connection class to manage connections 2016-09-06 23:51:12 +02:00
Luminita
4c399ad234 split index and table creation 2016-07-19 15:26:56 +02:00
Luminita
6ad8448246 Merge branch 'master' into resolve-issue-458 2016-07-19 14:11:56 +02:00
Luminita
8b5cc46adf split the init function and add new tests 2016-07-15 21:00:27 +02:00
vrde
73d6add36f
Remove block_number [pair prog w/ @rhsimplex] 2016-07-13 17:30:13 +02:00
vrde
aeede79846 Add asset create and transfer 2016-02-24 02:38:30 +01:00
vrde
6ab2b03260 Use unique db names in tests to allow xdist 2016-02-19 00:10:44 +01:00
vrde
4c177a9946 Replace == with is for some tests
Replace all occurrences of:
 - `== True` with `is True`
 - `== False` with `is False`
 - `== None` with `is None`
2016-02-18 11:42:34 +01:00
vrde
2663c72b8f Separate imports 2016-02-12 21:07:02 +01:00
vrde
fefb365d23 Fix exceptions 2016-02-12 21:07:02 +01:00