1461 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
e74b4ee528 Link docs to python 3 (#647) 2016-09-28 16:58:30 +02:00
vrde
911eb81225
Merge branch 'remove-extra-fields-from-get-transaction' 2016-09-28 15:31:13 +02:00
vrde
c59bda653c
Remove extra fields from get_transaction 2016-09-28 15:10:21 +02:00
Troy McConaghy
434797c7bf Merge pull request #625 from bigchaindb/link-new-driver-docs
Docs: added links to new Python driver repo and docs. Removed examples.
2016-09-27 12:53:12 +02:00
troymc
5879cdb97f Merge remote-tracking branch 'origin/master' into link-new-driver-docs 2016-09-27 11:56:53 +02:00
troymc
146f709ee6 Removed Python driver usage examples; noted that examples will soon be available in the new Python driver docs 2016-09-27 10:53:36 +02:00
vrde
6c43bc3ec3
Merge branch 'add-new-option-to-create-temp-keypair' 2016-09-21 15:14:22 +02:00
vrde
27f585f39d
Improve test to check if original vals are kept 2016-09-21 15:09:54 +02:00
vrde
989a943fea
Move func definition after imports 2016-09-21 15:01:42 +02:00
vrde
dea2df9db0
Separate test for empty args 2016-09-21 15:00:13 +02:00
vrde
b2ac60ba3e
Add documentation for missing parameter 2016-09-21 14:57:23 +02:00
vrde
5f603f52ef
Add more test coverage for commands 2016-09-21 14:26:53 +02:00
vrde
9b709b7f98
Add tests for argparse 2016-09-21 00:46:48 +02:00
vrde
7944e0cd98
Allow temporary keypair if no conf file found
Closes #482, closes #559
2016-09-20 16:49:56 +02:00
vrde
616d170e9a
Merge branch 'make-db-connection-more-robust' 2016-09-19 17:20:05 +02:00
vrde
121c729504
Merge remote-tracking branch 'origin/master' into make-db-connection-more-robust 2016-09-19 17:14:02 +02:00
Ryan Henderson
404f3a1c45 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
2016-09-08 11:45:48 +02:00
Ryan Henderson
9426c7f866 fix assignment timestamp in block (#627) 2016-09-08 11:26:25 +02:00
vrde
b9fba73c14
Remove unused code 2016-09-07 17:32:34 +02:00
Ryan Henderson
92981e003d Core/198/handle stale transactions (#359)
* 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
2016-09-07 16:26:41 +02:00
troymc
bc8f84ec8d docs: added links to new Python driver repo and docs 2016-09-07 15:40:48 +02:00
vrde
b8e6b0b830
Add code coverage for start_temp_rethinkdb 2016-09-07 02:06:52 +02:00
vrde
39228be454
Remove dependency on external RethinkDB instance 2016-09-07 01:51:18 +02:00
vrde
65bc86f06e
Add docstring to Connection class 2016-09-07 01:01:58 +02:00
vrde
52243e1271
Use new connection class in pipeline 2016-09-07 00:54:19 +02:00
vrde
7097efaa33
Daemonize thread to make sure test exits 2016-09-07 00:47:22 +02:00
vrde
1d073ee706
Use new Connection class to run queries 2016-09-07 00:40:17 +02:00
vrde
d06e8b91d8
Add Connection class to manage connections 2016-09-06 23:51:12 +02:00
Troy McConaghy
90cc84ad3d Merge pull request #621 from bigchaindb/better-firewall-docs
Docs: listed all ports expecting unsolicited inbound traffic
2016-09-06 16:46:30 +02:00
Troy McConaghy
8e6f0804e2 Merge pull request #620 from bigchaindb/make-aws-security-group-a-parameter
Made the security group an AWS deployment parameter
2016-09-06 15:55:18 +02:00
troymc
94e006125e docs: listed all ports expecting unsolicited inbound traffic 2016-09-06 12:06:33 +02:00
Troy McConaghy
288aad6446 Merge pull request #619 from bigchaindb/fix-fabfile-monitor-py
Fixed fabfile-monitor.py to use locally-generated SSH key
2016-09-06 11:18:07 +02:00
troymc
eff44463ff Made the security group an AWS deployment parameter 2016-09-05 17:05:13 +02:00
troymc
cd0eb16a5f Fixed fabfile-monitor.py to use locally-generated SSH key 2016-09-05 14:52:42 +02:00
Troy McConaghy
8fe034bb55 Merge pull request #618 from bigchaindb/split-terraform-and-ansible-docs
Split resource-provisioning and software-deployment templates apart
2016-09-05 14:14:25 +02:00
troymc
0480d03514 docs: use /etc/init.d/rethinkdb stop to stop RethinkDB 2016-09-05 14:03:34 +02:00
troymc
68405ed1df docs: Split resource provisioining template from software install/config/run template 2016-09-02 13:02:24 +02:00
Troy McConaghy
8ee99508dc Merge pull request #615 from bigchaindb/expanded-explanation-of-licenses
More revisions to the LICENSES.md file
2016-09-02 11:32:03 +02:00
Troy McConaghy
0f1bca30c3 More revisions to the LICENSES.md file
Expanded explanation of the licensing options.
2016-09-02 10:17:09 +02:00
Troy McConaghy
bfc86e0295 Merge pull request #613 from bigchaindb/bump-version-to-0.6.0
Bumped the version number to 0.6.0 in version.py
v0.6.0
2016-09-01 14:15:40 +02:00
Troy McConaghy
12d94af852 Merge pull request #612 from bigchaindb/update-changelog-for-v0.6.0
Updated the Changelog in preparation for the v0.6.0 release
2016-09-01 14:15:03 +02:00
troymc
9300bd8a0e Fixed typo in CHANGELOG: deployting --> deploying 2016-09-01 11:49:13 +02:00
troymc
75f9d63753 Bumped the version number to 0.6.0 in version.py 2016-09-01 11:39:44 +02:00
troymc
513b6f2c04 Updated CHANGELOG in preparation for the v0.6.0 release 2016-09-01 11:11:10 +02:00
Tim Daubenschütz
3d4f7b9183 Merge pull request #606 from bigchaindb/bug/593/write_transaction-no-sideeffects
Bug/593/write transaction no sideeffects
2016-09-01 10:55:41 +02:00
Troy McConaghy
c042ee570e Merge pull request #610 from bigchaindb/docs/608/docs-clarifications-and-refactoring
Docs/608/docs clarifications and refactoring
2016-08-31 14:58:54 +02:00
troymc
159ab7805c docs: Documented the --version option in bigchaindb 2016-08-31 14:54:10 +02:00
troymc
e59894ffa2 docs: made the Nodes section more about Production Nodes 2016-08-30 18:38:03 +02:00
troymc
25cdb18cf7 docs: moved node, cluster, federation defs to Introduction 2016-08-30 18:34:15 +02:00