1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-06-29 00:57:45 +02:00
Commit Graph

3994 Commits

Author SHA1 Message Date
Sylvain Bellemare
56dfd9bab0 Problem: represent utxoset state as a hash
Solution: create a merkle tree out of the utxoset and compute its merkle
root
2018-03-01 17:50:20 +01:00
Sylvain Bellemare
2d2182dd19 Problem: unhandled error when deleting zero utxo
Solution: only execute the query if *unspent_outputs is not empty
2018-03-01 15:11:58 +01:00
Sylvain Bellemare
aaec67724a Problem: unhandled error when storing zero utxo
Solution: only execute the query if *unspent_outputs is not empty
2018-03-01 15:11:58 +01:00
Sylvain Bellemare
c85c664215 Problem: fixture with no asset fails
Solution: instantiate the transaction with a dummy asset
2018-03-01 15:11:58 +01:00
Sylvain Bellemare
967d5727e2 Problem: store_metadata was renamed
Solution: perform required update

Note: see #2034
2018-03-01 15:11:58 +01:00
Sylvain Bellemare
51d4f0f2d9 Problem: utxoset needs to be updated
Solution: update utxoset via store_transaction
2018-03-01 15:11:58 +01:00
Ahmed Muawia Khan
00ec69a4bd
Merge pull request #1976 from bigchaindb/proposal/migrate-cli
Proposal: Migrate cli for Tendermint
2018-02-28 14:46:55 +01:00
Ahmed Muawia Khan
5f06ad5493
Merge pull request #2092 from muawiakh/migrate-cli
Migrate cli for tendermint integration
2018-02-28 14:44:43 +01:00
Ahmed Muawia Khan
9cb84b165f
Merge pull request #2093 from muawiakh/migrate-cli-docs
Migrate CLI documentation
2018-02-28 14:44:17 +01:00
Troy McConaghy
5154444cb2
Uncomment storageAccount in tendermint-sc.yaml
In pull request #2107, the `storageAccount` was uncommented in `mongo-sc.yaml`

This pull request does the same in `tendermint-sc.yaml`
2018-02-28 13:32:02 +01:00
vrde
be297f8b4f
Problem: tendermint is an external service
Solution: Do not start tendermint on boot. It's up to the user to decide
how to start tendermint.
2018-02-28 13:13:02 +01:00
Troy McConaghy
36007ec5af
Merge pull request #2107 from muawiakh/update-prod-template-docs
Problem: Production deployment template was not updated after v1.0 automation
2018-02-28 11:04:13 +01:00
Ahmed Muawia Khan
98c939bd29 use mdb-instance-0 as default name for configuring users 2018-02-27 13:35:20 +01:00
Ahmed Muawia Khan
4c6ac6bd19 Update production deployment template after v1 automation 2018-02-27 13:26:51 +01:00
Ahmed Muawia Khan
b752b4cbf2
Merge pull request #2105 from shahbazn/k8s-config-automation-script
Problem: bugs in k8s automation
2018-02-27 02:51:19 +01:00
Ahmed Muawia Khan
a250b90727
Merge pull request #2104 from bigchaindb/revise-beginning-of-overview
Revised intro of Overview page in prod dep template docs
2018-02-27 02:46:24 +01:00
Shahbaz Nazir
517ece3be5 uncomment
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
2018-02-27 02:45:27 +01:00
Shahbaz Nazir
dc423d80ef Merge branch 'k8s-config-automation-script' of github.com:shahbazn/bigchaindb into k8s-config-automation-script 2018-02-27 02:41:45 +01:00
Shahbaz Nazir
d69c75ee93 fixes for k8s deployment automation
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
2018-02-27 02:40:59 +01:00
Shahbaz Nazir
4b06378bbf fix nginx https issues
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
2018-02-27 02:40:59 +01:00
Shahbaz Nazir
287ab88012 fixes for k8s deployment automation
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
2018-02-27 02:29:44 +01:00
Troy McConaghy
3d0720ce42 Revised intro of Overview page in prod dep template docs 2018-02-27 00:37:59 +01:00
Shahbaz Nazir
e68c77338e fix nginx https issues
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
2018-02-26 19:46:21 +01:00
Shahbaz Nazir
582025ba3d
Problem: nginx k8s deployment missing parameters (#2102) 2018-02-26 19:11:28 +01:00
Ahmed Muawia Khan
d0874ccf9a
Merge pull request #2101 from muawiakh/mongodb-container-update
Add support for optional users in MongoDB user creation
2018-02-26 18:42:42 +01:00
Shahbaz Nazir
334d4769ca nginx instance fixes
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
2018-02-26 18:39:02 +01:00
Shahbaz Nazir
5a4378dbb5
fixes for deployment script (#2100) 2018-02-26 18:00:04 +01:00
Ahmed Muawia Khan
8835fd5fd7 Add support for optional users in MongoDB user creation 2018-02-26 17:54:07 +01:00
Shahbaz Nazir
dc447249f5 fixes for deployment script
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
2018-02-26 17:36:42 +01:00
Sylvain Bellemare
06cbd9e2de Problem: docker-compose.docs.yml it outdated
It does not use the Dockerfile for the localmongodb/tendermint backends.

Solution: Use ./compose/bigchaindb-server/Dockerfile
2018-02-26 16:26:40 +01:00
Sylvain Bellemare
f32649d802 Problem: docker-compose.docs.yml version is 2
Solution: Update the version to 3 (latest)
2018-02-26 16:26:40 +01:00
Sylvain Bellemare
12f603b8d2 Problem: There are no docs for the tendermint integration API
Solution: Add docs for the tendermint integration in Appendices for now.
2018-02-26 16:26:40 +01:00
Shahbaz Nazir
c2e9dd6e1c
Problem: Automate k8s deployment configs & secretes (#2096)
We manually add all the required configurations and secretes in config-map.yaml and secret.yaml. There is a need for a wrapper script which takes these generated mongodb certs and also process https certificates and populates config-map.yaml and secret.yaml
2018-02-26 16:25:13 +01:00
Ahmed Muawia Khan
3c290d64a5 re-add f-string to web stream 2018-02-26 15:42:17 +01:00
Ahmed Muawia Khan
847183a7d8
Merge pull request #2099 from muawiakh/check-kubectl-installed
Check if kubectl is installed otherwise exit
2018-02-26 15:28:12 +01:00
Ahmed Muawia Khan
d85396b220 Check if kubectl is installed otherwise exit 2018-02-26 15:07:27 +01:00
Troy McConaghy
6d27cbe868
Merge pull request #2095 from muawiakh/automate-mdb-user-creation
Automate MongoDB user creation for prod/test deployments
2018-02-26 14:58:50 +01:00
Ahmed Muawia Khan
3c09de97b0 remove redundant variable assignment 2018-02-26 14:54:34 +01:00
Ahmed Muawia Khan
7cea7298f0 Update mongodb user configuration
- Update docs for azure cluster deployment template
- Update entrypoint for MongoDB to handle user configuration
  more efficiently
- remove `use admin` in js file, that is an invalid format
2018-02-26 14:45:21 +01:00
Ahmed Muawia Khan
d977753831 Automate MongoDB user creation for prod/test deployments
- Currently, we had to manually log into the MongoDB container
  and create users, this change will configure the relevant users
  from a single script `configure_mdb.sh`
- Improvements can be done but keeping it minimal for the workshop
2018-02-26 03:37:43 +01:00
Troy McConaghy
86e7b2a881 Some minor copy-editing 2018-02-25 18:05:18 +01:00
Shahbaz Nazir
0ddfc62e3b
Problem: No authorization mode without threescale (#2088)
Problem
The current production deployment template uses 3scale to ensure that POST requests to the network (from anyone) only get through if they come from a client with an account (app_id and app_key).

A private network wants to launch so that all HTTP requests (POST and GET) sent to the nodes in the network get be dropped unless they come from a small set of known (and unchanging) clients/sources. They don't need 3scale. They will want a modified version of the production deployment template.

Solution
Generate a special HTTP header and share it with all the known clients/sources.
Have a single NGINX in each node which checks for that HTTP header value. If it's present, let the request pass through to the network. (HTTP headers are encrypted if HTTPS is used.)
Are there other simpler or better options?
2018-02-23 16:00:36 +01:00
Ahmed Muawia Khan
8fd50b23c8 Re-add travis changes
- This actually follows one concern on PR.
2018-02-23 15:33:32 +01:00
Ahmed Muawia Khan
8bfb903d4e [Chandler fix]: Bing -> Bind 2018-02-23 15:31:30 +01:00
Ahmed Muawia Khan
624d4e7459 Revert travis changes
- Follow one concern one PR.
2018-02-23 15:28:35 +01:00
Ahmed Muawia Khan
8e8e328205 Migrate CLI documentation
- Remove documentation for CLI commands that are not needed with
  Tendermint integration.
2018-02-23 14:53:28 +01:00
Ahmed Muawia Khan
d0089ca373 Fixing flake8 2018-02-23 14:43:14 +01:00
Vanshdeep Singh
cdec60a7c0 Rollback crash recovery mechanism (#2091) 2018-02-23 14:35:18 +01:00
Ahmed Muawia Khan
5cea9c28bf Migrate CLI for tendermint integration
- Remove commands that were not required.
  - export-my-pubkey
  - set-shards
  - set-replicas
  - add-replicas
  - remove-replicas
- Update bigchaindb --help, usage description
- Re-enable tests
- Update docker-compose.travis.yml and Dockerfile for travis
  because some env variables are not needed
2018-02-22 21:48:42 +01:00
Troy McConaghy
497e1039ef
Merge branch 'tendermint' into text-edits-in-http-api-docs 2018-02-22 21:02:33 +01:00