4199 Commits

Author SHA1 Message Date
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
vrde
9d720f6d45 Problem: statsd configuration is no longer supported
Solution: remove monitoring code, completes #1138
2018-02-13 14:36:03 +01:00
vrde
4157244df7 Problem: statsd config is no longer supported
Solution: remove monitoring code, completes #1138
2018-02-13 14:35:47 +01:00
Sylvain Bellemare
c35e37be64 Problem: Unpublished ports with docker-compose
Solution: Publish the ports.

Closes #2041.
2018-02-13 12:08:19 +01:00
Sylvain Bellemare
b8a33e0f30 Problem: tmdata tracked files change in dev env
Solution: Only track config.toml and generate the other files such as
genesis.json and priv_validator.json in the container via `tendermint
init`

Related issue: #1997
2018-02-13 12:02:34 +01:00
Sylvain Bellemare
87d74a704b Problem: .pytest_cache is tracked by git
Solution: Put .pytest_cache/ in the .gitignore file.
2018-02-12 18:29:22 +01:00
muawiakh
a4ac9cf308 Address comments
- Update docs for better readability
2018-02-12 14:35:02 +01:00
Troy McConaghy
e7b65410dd
Merge pull request #1993 from bigchaindb/update-ipdb-tx-spec-url-in-docs
Updated all refs to the IPDB Transaction Spec and its URL
2018-02-10 16:52:26 +01:00
Troy McConaghy
ee997359b8
Merge branch 'tendermint' into update-ipdb-tx-spec-url-in-docs 2018-02-09 22:10:53 +01:00
Sylvain Bellemare
1611e6e04b Mount other volumes for docker-compose dev 2018-02-08 16:48:04 +01:00
muawiakh
320e09dee3 Resolved merge conflicts again 2018-02-08 15:57:37 +01:00
Ahmed Muawia Khan
1f172b1b3c
Merge pull request #2029 from bigchaindb/vagrant-fix-ubuntu-xenial
Fixing Vagrant tutorial
2018-02-08 15:57:05 +01:00
muawiakh
d6a7500abc Resolved merge conflicts with tendermint branch 2018-02-08 15:52:31 +01:00
muawiakh
b68c0ccbc0 Addressing comments and removing *-tm* or *-tmt* references 2018-02-08 15:48:45 +01:00
Sylvain Bellemare
5d0463282b Add tendermint marker to pytest.ini 2018-02-08 15:41:44 +01:00
Sylvain Bellemare
cc069fa640 Add db_context fixture 2018-02-08 15:26:50 +01:00
Sylvain Bellemare
b2584dd0fa Order imports as per pep 8 2018-02-08 15:19:47 +01:00
Troy McConaghy
1ba9233310 tendermint-instance-? --> tm-instance-? 2018-02-08 14:52:45 +01:00
muawiakh
1df86234d6 Fix Vagrant tutorial 2018-02-08 14:52:37 +01:00
Vanshdeep Singh
fa33fc26af Integrate get block with transaction id api (#2021)
* Integrate api, get block with transaction id

* Fixed docs and docstrings

* Fix docs

* Remove status from tendermint, fix mongo query
2018-02-08 14:32:21 +01:00
Troy McConaghy
8945dd2332 Re-org headings in Prod. Dep. Template - Overview page 2018-02-08 14:20:50 +01:00
muawiakh
6052043a03 Remove unwanted references 2018-02-08 12:17:40 +01:00
muawiakh
03219a9371 Remove references from BigchainDB 1.x deployment strategy
- Remove references from existing deployment model
- Address comments, fix typos, minor structure changes.
2018-02-08 11:54:57 +01:00
Ahmed Muawia Khan
f88ce7c1eb
Merge pull request #1877 from bigchaindb/template-spec
Add guidelines for new features in BigchainDB
2018-02-06 12:40:05 +01:00
Ahmed Muawia Khan
b4acee0425
Merge pull request #2019 from bigchaindb/storage-engine-fix
Fix storage-engine-cache size issue
2018-02-06 11:51:27 +01:00
muawiakh
75e90c964f Merge branch 'master' into storage-engine-fix 2018-02-05 18:06:25 +01:00
muawiakh
8477392abd Merge branch 'master' into template-spec 2018-02-05 18:03:55 +01:00
Vanshdeep Singh
a7ed8cf4cb Write transactions on commit (#2017)
* Write transacitons on commit

* Fix docs strings, lazy check for duplicates
2018-02-02 14:40:24 +01:00
Ahmed Muawia Khan
4147e59edb
Merge pull request #2023 from sbellem/update-ssl-certs-for-tests
Update SSL certs and keys for tests
2018-02-02 12:03:12 +01:00
Sylvain Bellemare
5cec22d659
Update SSL certs and keys for tests
fixes #2015
2018-02-01 17:24:52 +01:00
muawiakh
1a0c165487 Address comments
- Keep only tendermint specific files, remove reference to older
  deployment strategy
- Update Bigchaindb Dockerfile
2018-02-01 13:02:39 +01:00
Troy McConaghy
402abe72e8
Merge pull request #2020 from bigchaindb/update-main-license-to-apache-v2
Updated main code license to Apache v2 in LICENSES.md
2018-01-31 16:30:33 +01:00
Troy McConaghy
2759320ea3 Updated main code license to Apache v2 in LICENSES.md 2018-01-31 16:15:16 +01:00
muawiakh
6e055c642c Fix storage-engine-cache size issue
- Allow for empty values
- Allow if you don't specify the --storage-engine-cache-size
2018-01-31 15:46:39 +01:00
Vanshdeep Singh
e25d365828 Integrate blocks API (#1970)
* Integrate blocks api

* Update docs

* Fix docs

* Fixed mismatch between code and documentation

* Fixed docs
2018-01-31 14:42:41 +01:00