18 Commits

Author SHA1 Message Date
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
Sylvain Bellemare
6f159d3930 Closes #348 (#578) 2016-08-19 16:00:18 +02:00
Elad-PC\elad
f35d5a708e fixed tests to deal with new location of 'version' 2016-08-03 08:31:55 +02:00
vrde
73d6add36f
Remove block_number [pair prog w/ @rhsimplex] 2016-07-13 17:30:13 +02:00
Sylvain Bellemare
681e347e75 Test util (#396)
* Isolate handling of potential KeyError

* Add tests for bigchaindb/util.py

* Simplify the logic a bit

* Raise the exception
2016-06-28 14:18:50 +02:00
diminator
ca34b58629
rename verify_signature to validate_fulfillments 2016-05-10 17:12:38 +02:00
diminator
5cea537143
Merge remote-tracking branch 'remotes/origin/master' into feat/128/multiple-input-output
Conflicts:
	bigchaindb/core.py
2016-04-21 19:07:05 +02:00
diminator
51addb9cc9
Merge remote-tracking branch 'remotes/origin/master' into feat/128/multiple-input-output
Conflicts:
	tests/test_util.py
2016-04-21 15:19:23 +02:00
vrde
fdce0d5876
Fix AttributeError in test 2016-04-20 23:23:08 +02:00
vrde
ed1e71bfec
Add tests to ProcessGroup 2016-04-20 18:18:01 +02:00
vrde
57ffd361a6
Add timeout parameter to pool context manager 2016-04-15 12:57:53 +02:00
vrde
99ac8f99e0
Add new check for queue size 2016-04-15 12:34:27 +02:00
vrde
3f69f208a1
Add more tests for pool 2016-04-15 12:29:01 +02:00
vrde
3d504df4de
WIP for connection pool 2016-04-14 18:55:09 +02:00
diminator
f082f22aaa
Merge remote-tracking branch 'remotes/origin/feat/128/multiple-input-output' into feat/127/crypto-conditions-ilp-bigchain-integration
Conflicts:
	tests/db/test_bigchain_api.py
	tests/test_util.py
2016-04-08 14:00:20 +02:00
Rodolphe Marques
caf7c0dfc4 Added argument validation to create_transaction.
Fixed some tests
2016-04-07 17:38:16 +02:00
diminator
ec08bca3d0
fulfillment preparations 2016-04-06 16:21:35 +02:00
vrde
aeede79846 Add asset create and transfer 2016-02-24 02:38:30 +01:00