116 Commits

Author SHA1 Message Date
troymc
c9624c6b12 Changed example_deploy_conf.py (for AWS deployment) 2016-10-07 11:57:05 +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
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
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
troymc
329cf9cf81 Make all fabfile.py use the SSH key path in ssh_key.py 2016-08-17 14:00:59 +02:00
troymc
877bd65410 Make launch_ec2_nodes.py read & use SSH_KEY_NAME, and write ssh_key.py 2016-08-17 13:59:56 +02:00
troymc
402463c225 Make awsdeploy.sh read & use SSH_KEY_NAME 2016-08-17 13:59:00 +02:00
troymc
ae9a72bfd2 Added SSH_KEY_NAME to example_deploy_conf.py 2016-08-17 13:57:54 +02:00
troymc
c0648f7145 Resolved conflicts in fabfile.py 2016-07-22 11:32:47 +02:00
troymc
4a82ff829c Revised how base software installed & updated on AWS 2016-07-22 11:10:31 +02:00
troymc
6a2f9aed97 Minimized base software installed on AWS instance 2016-07-21 15:50:26 +02:00
troymc
5843f8bbcb Code to set up rethinkdb storage when USING_EBS 2016-07-19 16:01:28 +02:00
troymc
76755ebc55 Added arg to fab prep_rethinkdb_storage call 2016-07-19 15:57:33 +02:00
troymc
e1c3ac3571 Show EBS_VOLUME_SIZE & EBS_OPTIMIZED only if USING_EBS 2016-07-19 10:48:57 +02:00
troymc
013aa60e70 Refactored install_rethinkdb() into separate functions 2016-07-18 11:57:42 +02:00
troymc
9a93f498a5 New AWS depl. configs: USING_EBS, EBS_VOLUME_SIZE, EBS_OPTIMIZED 2016-07-18 11:14:18 +02:00
troymc
de87bdcc5d Added set_replicas() Fabric function 2016-07-18 11:11:50 +02:00
troymc
4046264ef2 Add reminder how to *start* BigchainDB on all the nodes 2016-07-15 14:05:54 +02:00
troymc
49c0f66026 PYPI_OR_BRANCH is now just BRANCH 2016-07-15 13:53:39 +02:00
vrde
c76e831f15
Merge remote-tracking branch 'origin/better-newrelic-support' 2016-05-20 15:42:32 +02:00
troymc
046f39f715 Use import sys rather than from sys etc. 2016-05-20 13:38:17 +02:00
troymc
b1a8741c57 Use pip3 instead of pip to upgrade pip, wheel & setuptools 2016-05-19 11:48:11 +02:00
troymc
87275b966c Changed where newrelic_license_key gets set 2016-05-18 14:56:49 +02:00
troymc
937e1a7d65 Tested & improved New Relic installation 2016-05-18 14:31:42 +02:00
Troy McConaghy
71489ac00f Merge pull request #278 from bigchaindb/feat/277/add-gitattributes-file
Resolve Feat/277/add gitattributes file
2016-05-17 14:48:48 +02:00
Troy McConaghy
801e077519 Merge pull request #276 from bigchaindb/suggest-updating-pip-etc-in-install-docs
Install docs: Suggest upgrading pip wheel & setuptools
2016-05-17 14:44:13 +02:00
troymc
f168e97880 Changed settings validation code in launch_ec2_nodes.py 2016-05-17 11:26:09 +02:00
troymc
8839440fd7 In awsdeploy.sh, check if NUM_NODES set 2016-05-17 11:23:15 +02:00
troymc
ebd1b927aa No default AWS deployment config file 2016-05-17 09:29:49 +02:00
troymc
1a2f0e749d Make config filename the 1st arg of awsdeploy.sh 2016-05-16 16:58:37 +02:00
troymc
4e89d491b1 Bugfix: clusterize_confiles.py was using all keypairs in keypairs.py to make keyring 2016-05-13 13:56:31 +02:00
troymc
c712447509 Removed comment about keypairs.py in awsdeploy.sh 2016-05-13 13:42:30 +02:00
troymc
6565f7a063 Added deploy_conf.py, changed code to use it, updated docs 2016-05-13 13:39:27 +02:00
troymc
8a98ab65df rm bigchaindb-archive.tar.gz after installing on remote server 2016-05-12 12:19:41 +02:00
troymc
fbce171249 Removed TODO comment about excluding more files in git archive 2016-05-12 12:18:41 +02:00
troymc
ba301ba6fd Install docs: Suggest upgrading pip wheel & setuptools 2016-05-12 11:04:39 +02:00
troymc
675a0ff30b Commit a 128-keypair keypairs.py file for testing uses 2016-05-10 15:53:20 +02:00
troymc
11576a32a1 Minor edit to write_keypairs_file.py 2016-05-10 15:13:34 +02:00
troymc
1d87afab0a Added -k option to clusterize_confiles.py 2016-05-10 14:42:38 +02:00
troymc
17cee6dcae Made keypairs.py a Python 2 script again 2016-05-10 13:27:45 +02:00
troymc
32b5ea4cbb Minor edit to write_keypairs_file.py 2016-05-10 11:44:58 +02:00
troymc
49710c5958 write_keypairs_file.py now writes a Python 3 script 2016-05-10 11:34:00 +02:00
troymc
37437e8298 Created write_keypairs_file.py 2016-05-10 11:22:36 +02:00
troymc
01c19d6f40 Simplify import statement 2016-05-10 10:13:32 +02:00
troymc
e212828182 Updated awsdeploy, fabfile, docs, test for bigchaindb set-shards 2016-05-09 18:14:48 +02:00
Rodolphe Marques
9f959fc6ed Add command to configure number of shards.
Changed aws deployment script to automatically set the number of shards.
Created tests
2016-05-09 16:45:09 +02:00
troymc
72bc7cb1d0 Don't bigchaindb start all nodes automatically once deployed 2016-05-09 13:17:49 +02:00
troymc
eba5facb9e Merge remote-tracking branch 'origin/master' into deploy-clients-on-aws 2016-05-06 15:01:31 +02:00
troymc
9e4cab7ffc Minor stylistic/consistency edits to fabfile-monitor.py 2016-05-04 17:12:18 +02:00