4033 Commits

Author SHA1 Message Date
Ahmed Muawia Khan
a8a10edf0e Update Dockerfiles and remove tmt references 2018-02-21 20:31:53 +01:00
Ahmed Muawia Khan
8e6b4332b0 Update mongodb base image 2018-02-21 20:22:38 +01:00
Ahmed Muawia Khan
2978caaee6 Update images used by yaml files
- Using tag `unstable` currently, until BDB+Tendermint is released
2018-02-21 20:17:24 +01:00
Ahmed Muawia Khan
13e750705e
Merge pull request #2083 from bigchaindb/cert-gen-script
Certificate generation script for k8s deployment
2018-02-21 20:08:21 +01:00
Ahmed Muawia Khan
53019ff02a
Merge pull request #1992 from bigchaindb/tendermint-docs-k8s-dep
Template for BigchainDB + Tendermint Kubernetes Deployment
2018-02-21 19:23:14 +01:00
Ahmed Muawia Khan
55f212d885 Certificate generation script for k8s deployment 2018-02-21 19:18:24 +01:00
vrde
14d523efd5 Problem: processes don't have an intelligible name (#2078)
Solution: when a process starts, update the "process title" as well.
2018-02-21 17:54:50 +01:00
Ahmed Muawia Khan
5669514ee7 Fix label docs 2018-02-21 12:13:45 +01:00
Ahmed Muawia Khan
d5f45d4094
Merge pull request #1985 from bigchaindb/tendermint-k8s-dep
Deployment of Tendermint + BigchainDB cluster
2018-02-21 11:48:37 +01:00
Ahmed Muawia Khan
669b2d586b Merge branch 'tendermint' into tendermint-docs-k8s-dep 2018-02-21 11:48:02 +01:00
Ahmed Muawia Khan
df485d0983 Rename docker image tags and names 2018-02-21 11:38:24 +01:00
Ahmed Muawia Khan
de05e5bc3e Merge branch 'tendermint' into tendermint-k8s-dep 2018-02-21 11:32:45 +01:00
Vanshdeep Singh
5bfa8e29d8 Crash recovery mechanism (#2045)
* Crash recovery mechanism

* Propogate exception

* Added docs and crash receovery during block write

* Fix flake8 issue

* Remove approach 1 for crash recovery, recover db on 'bigchiandb start'

* Fix CI build issues

* Remove documentation
2018-02-21 10:50:12 +01:00
Troy McConaghy
55c1509362
Merge pull request #2076 from bigchaindb/patch-master-with-pr-2075-commit
Same as PR #2075 but for master branch
2018-02-20 15:03:41 +01:00
Troy McConaghy
15ce6e99f6 Fix the requirements.txt file for docs/server, update README.md 2018-02-20 14:13:28 +01:00
Troy McConaghy
58c5498d35
Merge pull request #2075 from bigchaindb/fix-issue-2072-http-api-examples
Resolve issue #2072
2018-02-20 13:11:07 +01:00
Troy McConaghy
c5fdaf24ad Fix the requirements.txt file for docs/server, update README.md 2018-02-20 12:58:23 +01:00
Troy McConaghy
8fb0682868
Merge pull request #2063 from bigchaindb/fix-common-schema-readme-md
Some edits to common/schema/README.md
2018-02-20 09:37:50 +01:00
Troy McConaghy
5c783be546
Merge branch 'tendermint' into text-edits-in-http-api-docs 2018-02-19 16:45:03 +01:00
Troy McConaghy
e1bdd41030 Copy-edited the HTTP API docs 2018-02-19 16:33:46 +01:00
Troy McConaghy
0ffcb36b7e
Merge pull request #2065 from bigchaindb/rm-docs-about-votes
Updated (almost) all docs regarding "votes" once Tendermint integrated
2018-02-19 15:21:05 +01:00
Troy McConaghy
5af6c7b7a3
Merge pull request #2069 from bigchaindb/remove-all-statuses-endpoints-for-realz
Remove all code for all /statuses endpoints
2018-02-19 12:31:37 +01:00
Troy McConaghy
1b6d0adc01 removed code for all /statuses endpoints 2018-02-19 12:04:10 +01:00
Troy McConaghy
8b8f137463 Remove all refs/links to whitepaper in tendermint branch 2018-02-19 11:06:06 +01:00
Troy McConaghy
0ae08ad31e Remove whitepaper refs/links from master branch 2018-02-19 10:56:39 +01:00
Troy McConaghy
7f94242f85 Update all docs re/ votes when Tendermint integrated 2018-02-16 16:24:44 +01:00
Troy McConaghy
7a292ba6ec Edits to the common/schema/README.md file 2018-02-16 15:48:12 +01:00
Troy McConaghy
37150c4849
Merge pull request #2059 from bigchaindb/master-branch-equivalent-of-pr2056
Same as PR #2056 but merging into master branch
2018-02-16 15:28:23 +01:00
Troy McConaghy
96f30da875
Merge pull request #2056 from bigchaindb/rm-refs-to-transaction-cli-tool
Problem: Transaction CLI Tool deprecated but linked from some docs
2018-02-16 15:28:10 +01:00
Troy McConaghy
a3c49cc336
Merge pull request #2062 from bigchaindb/docs/2036/three-http-api-endpoints-gone
Remove the HTTP API docs for the /statuses & /votes endpoints
2018-02-16 15:20:57 +01:00
Troy McConaghy
6982dfbe79 Put back the accidentally-removed post-tx-response 2018-02-16 14:54:20 +01:00
Troy McConaghy
7c3d7f4f63 Tidy up some grammar and Tendermint refs 2018-02-16 14:53:30 +01:00
Troy McConaghy
0139e53ab4 rm code to gen example HTTP stuff for /statuses & /votes 2018-02-16 14:35:35 +01:00
Troy McConaghy
9ef2271a5d In HTTP API docs, removed all /statuses & /votes endpoints 2018-02-16 14:31:26 +01:00
kansi
27865d848c Merge branch 'iss/2060/remove-post-txn-resp-header' into tendermint 2018-02-16 18:54:18 +05:30
kansi
6cf86be033 Remove location header from post txn response 2018-02-16 18:42:06 +05:30
Troy McConaghy
0337a4e2eb Remove 2 refs/links to the deprecated Transaction CLI tool 2018-02-16 10:00:46 +01:00
Sylvain Bellemare
1f537b1557 Problem: to get tx utxoset & inputs is cumbersome (#2055)
Solution: add properties to more easily get the utxoset and inputs of a
transaction
2018-02-15 18:23:29 +01:00
Troy McConaghy
46a2909c4d Remove 2 refs/links to the deprecated Transaction CLI tool 2018-02-15 17:34:51 +01:00
Sylvain Bellemare
3542d01893 Update tx version (#2054)
* Problem: common/test_transaction.py is excluded

Solution: add marker to file

* Problem: fixture tx version is outdated

Solution: update the version
2018-02-15 16:19:13 +01:00
Troy McConaghy
63bd698b21 changed constructed/allowed tx 'version' from '1.0' to '2.0' (#2048)
- Created three new JSON Schema files for the v2.0 transaction schema, based on the v1.0 files. The only change is the allowed value of version (from "^1\\.0$" to "^2\\.0$").
- I didn't delete the v1.0 JSON Schema files because we might want those some day (to validate old transactions).
- Updated the __init__.py in the directory with the JSON Schema files so that it now uses the version 2.0 JSON Schema files.
- Updated all relevant tests. I only found one, in tests/validation/test_transaction_structure.py
- Updated VERSION in common/transaction.py
- Checked to make sure the example HTTP API docs show "version" with value "2.0". They do.
- Updated the docs page about "The Transaction Model". It just points to the IPDB Transaction Spec.
- If someone submits a transaction with "version" having value "1.0" then the error message comes from the JSON Schema checker.
2018-02-15 11:07:16 +01:00
vrde
cd6095e854 Problem: test suite doesn't pick up env vars
Solution: call `env_config` from the configuration fixture
2018-02-14 16:43:09 +01:00
vrde
254035150d Problem: default config uses env vars
Solution: this is managed by the function
`bigchaindb.config_utils::env_config`, we don't need to call
`os.environ.get` for each value.
2018-02-14 16:43:09 +01:00
vrde
bf2a1c6a60 Problem: older backends are no longer supported
Solution: when running the command `bigchaindb configure`, configure for
`localmongodb` only.
2018-02-14 16:43:09 +01:00
Sylvain Bellemare
161ccdda5d Implement UTXO set backend (#2033) 2018-02-14 15:37:19 +01:00
Troy McConaghy
8bd39439f2
Merge pull request #2052 from bigchaindb/bug/2049/fix-readthedocs-build
Add yml config for readthedocs build
2018-02-14 15:18:25 +01:00
kansi
e9521aad44 Added build yml for readthedocs 2018-02-14 19:40:36 +05:30
kansi
f483f9c97a Add build config for docs 2018-02-14 14:32:44 +01:00
vrde
55073366ec Problem: new env vars are not managed by the conf
Solution: add `BIGCHAINDB_` to new tendermint vars. Reference:
https://github.com/bigchaindb/bigchaindb/pull/2039#discussion_r167880795
2018-02-14 12:18:59 +01:00
Sylvain Bellemare
6e3f9e8f54 Docker compose for travis (#2039)
* Replace double quotes with single quotes (flake8)

* Test event subscriber to tendermint via ws

* Problem: Tendermint is not part of stack for CI

Solution: Add Tendermint to stack for CI. For simplicity's sake
docker-compose is being used.
2018-02-14 10:19:04 +01:00