From 24f34f01cb86db7311a2b88c3705dac0480864ce Mon Sep 17 00:00:00 2001 From: Sangat Das Date: Thu, 20 Jan 2022 08:13:25 +0000 Subject: [PATCH] Removing some more remnants of bigchaindb --- .github/CONTRIBUTING.md | 2 +- .github/ISSUE_TEMPLATE.md | 6 +- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .pre-commit-config.yaml | 4 +- CHANGELOG.md | 916 +++++++++--------- CODE_OF_CONDUCT.md | 2 +- Dockerfile | 4 +- Dockerfile-alpine | 2 +- LICENSES.md | 4 +- PYTHON_STYLE_GUIDE.md | 6 +- README.md | 42 +- README_cn.md | 42 +- README_kor.md | 48 +- RELEASE_PROCESS.md | 20 +- ROADMAP.md | 4 +- acceptance/python/Dockerfile | 2 +- acceptance/python/src/test_basic.py | 6 +- acceptance/python/src/test_divisible_asset.py | 6 +- acceptance/python/src/test_double_spend.py | 4 +- acceptance/python/src/test_multiple_owners.py | 6 +- acceptance/python/src/test_naughty_strings.py | 4 +- acceptance/python/src/test_stream.py | 4 +- codecov.yml | 2 +- docs/README.md | 2 +- docs/root/make.bat | 4 +- docs/root/source/about-bigchaindb.rst | 4 +- docs/root/source/basic-usage.md | 8 +- docs/root/source/conf.py | 8 +- .../cross-project-policies/code-of-conduct.md | 2 +- .../python-style-guide.md | 6 +- .../cross-project-policies/release-process.md | 10 +- .../run-dev-network-ansible.md | 42 +- .../run-dev-network-stack.md | 22 +- .../run-node-as-processes.md | 6 +- .../run-node-with-docker-compose.md | 14 +- .../write-code.rst | 6 +- .../ways-to-contribute/report-a-bug.md | 6 +- docs/root/source/drivers/index.rst | 16 +- docs/root/source/index.rst | 2 +- .../api/http-client-server-api.rst | 24 +- .../api/http-samples/api-index-response.http | 2 +- .../api/http-samples/index-response.http | 4 +- .../api/websocket-event-stream-api.rst | 2 +- .../installation/appendices/cryptography.rst | 2 +- .../installation/appendices/licenses.md | 2 +- .../installation/appendices/log-rotation.md | 6 +- .../commands-and-backend/backend.rst | 32 +- .../commands-and-backend/commands.rst | 10 +- .../commands-and-backend/index.rst | 2 +- .../the-bigchaindb-class.rst | 2 +- .../network-setup/bigchaindb-node-ansible.md | 2 +- .../installation/network-setup/index.rst | 2 +- .../k8s-deployment-template/architecture.rst | 2 +- .../bigchaindb-network-on-kubernetes.rst | 40 +- .../k8s-deployment-template/index.rst | 2 +- .../k8s-deployment-template/log-analytics.rst | 4 +- .../node-config-map-and-secrets.rst | 2 +- .../node-on-kubernetes.rst | 36 +- .../k8s-deployment-template/troubleshoot.rst | 2 +- .../k8s-deployment-template/workflow.rst | 2 +- .../network-setup/network-setup.md | 14 +- .../installation/network-setup/networks.md | 4 +- .../node-setup/all-in-one-bigchaindb.md | 32 +- .../installation/node-setup/bigchaindb-cli.md | 60 +- .../node-setup/bigchaindb-node-ansible.md | 2 +- .../installation/node-setup/configuration.md | 24 +- .../source/installation/node-setup/index.rst | 6 +- .../production-node/node-assumptions.md | 2 +- .../production-node/reverse-proxy-notes.md | 4 +- .../installation/node-setup/release-notes.md | 6 +- .../installation/node-setup/set-up-nginx.md | 2 +- .../node-setup/set-up-node-software.md | 8 +- .../node-setup/troubleshooting.md | 38 +- docs/root/source/installation/quickstart.md | 2 +- docs/root/source/korean/assets_ko.md | 4 +- docs/root/source/korean/bft-ko.md | 2 +- docs/root/source/korean/immutable-ko.md | 2 +- docs/root/source/korean/index.rst | 16 +- docs/root/source/korean/permissions-ko.md | 6 +- docs/root/source/korean/private-data-ko.md | 4 +- docs/root/source/korean/query-ko.md | 10 +- docs/root/source/korean/smart-contracts_ko.md | 2 +- docs/root/source/korean/terminology_kor.md | 2 +- .../source/korean/transaction-concepts_ko.md | 10 +- docs/root/source/query.rst | 10 +- docs/root/source/terminology.md | 6 +- docs/upgrade-guides/v0.10-v1.0.md | 58 +- k8s/configuration/config-map.yaml | 36 +- k8s/dev-setup/bigchaindb.yaml | 4 +- k8s/dev-setup/nginx-http.yaml | 2 +- k8s/dev-setup/nginx-https.yaml | 2 +- k8s/dev-setup/nginx-openresty.yaml | 2 +- k8s/logging-and-monitoring/analyze.py | 2 +- .../container/Dockerfile | 2 +- .../container/docker_build_and_push.bash | 4 +- .../mongo-mon-dep.yaml | 4 +- k8s/mongodb/container/README.md | 2 +- .../container/docker_build_and_push.bash | 4 +- k8s/mongodb/mongo-ss.yaml | 2 +- .../container/docker_build_and_push.bash | 4 +- k8s/nginx-http/nginx-http-dep.yaml | 6 +- .../container/docker_build_and_push.bash | 4 +- .../nginx-https-web-proxy-conf.yaml | 8 +- .../nginx-https-web-proxy-dep.yaml | 4 +- .../container/docker_build_and_push.bash | 4 +- k8s/nginx-https/nginx-https-dep.yaml | 6 +- .../container/docker_build_and_push.bash | 4 +- k8s/nginx-openresty/nginx-openresty-dep.yaml | 4 +- .../nginx_container/Dockerfile | 0 .../nginx_container/README.md | 2 +- .../docker_build_and_push.bash | 4 +- .../nginx_container/nginx.conf.template | 0 .../nginx_container/nginx_entrypoint.bash | 0 .../planetmint-ext-conn-svc.yaml} | 0 .../planetmint-pv.yaml} | 0 .../planetmint-pvc.yaml} | 0 .../planetmint-sc.yaml} | 0 .../planetmint-ss.yaml} | 40 +- .../planetmint-svc.yaml} | 0 .../tendermint_container/Dockerfile | 0 .../tendermint_container/README.md | 2 +- .../docker_build_and_push.bash | 4 +- .../genesis.json.template | 0 .../tendermint_entrypoint.bash | 0 k8s/scripts/functions | 36 +- k8s/scripts/vars | 6 +- k8s/toolbox/Dockerfile | 8 +- k8s/toolbox/README.md | 4 +- pkg/configuration/bigchaindb-start.yml | 2 +- pkg/configuration/bigchaindb-stop.yml | 2 +- .../roles/bigchaindb/defaults/main.yml | 16 +- .../roles/bigchaindb/tasks/centos.yml | 4 +- .../roles/bigchaindb/tasks/common.yml | 18 +- .../roles/bigchaindb/tasks/debian.yml | 2 +- .../roles/bigchaindb/tasks/fedora.yml | 2 +- .../roles/bigchaindb/tasks/main.yml | 8 +- .../roles/bigchaindb/tasks/start.yml | 34 +- .../roles/bigchaindb/tasks/stop.yml | 12 +- .../roles/docker/defaults/main.yml | 2 +- pkg/configuration/roles/docker/tasks/main.yml | 6 +- .../roles/mongodb/defaults/main.yml | 2 +- .../roles/mongodb/tasks/start.yml | 2 +- .../roles/tendermint/defaults/main.yml | 6 +- .../roles/tendermint/tasks/common.yml | 2 +- .../roles/tendermint/tasks/start.yml | 6 +- pkg/scripts/Vagrantfile | 8 +- pkg/scripts/all-in-one.bash | 4 +- ...b-monit-config => planetmint-monit-config} | 28 +- pkg/scripts/stack.sh | 22 +- pkg/scripts/unstack.sh | 22 +- planetmint/README.md | 4 +- planetmint/__init__.py | 8 +- planetmint/backend/README.md | 8 +- planetmint/backend/connection.py | 28 +- planetmint/backend/localmongodb/__init__.py | 8 +- planetmint/backend/localmongodb/connection.py | 20 +- planetmint/backend/schema.py | 2 +- planetmint/backend/utils.py | 4 +- planetmint/commands/planetmint.py | 22 +- planetmint/commands/utils.py | 6 +- planetmint/common/crypto.py | 6 +- planetmint/common/exceptions.py | 2 +- planetmint/common/schema/README.md | 4 +- planetmint/common/transaction.py | 48 +- planetmint/config_utils.py | 30 +- planetmint/core.py | 40 +- planetmint/elections/election.py | 2 +- planetmint/elections/vote.py | 4 +- planetmint/events.py | 4 +- planetmint/lib.py | 8 +- planetmint/log.py | 6 +- .../migrations/chain_migration_election.py | 6 +- planetmint/models.py | 2 +- planetmint/parallel_validation.py | 10 +- planetmint/start.py | 6 +- .../upsert_validator/validator_election.py | 6 +- planetmint/validation.py | 12 +- planetmint/web/server.py | 14 +- planetmint/web/views/assets.py | 2 +- planetmint/web/views/blocks.py | 2 +- planetmint/web/views/info.py | 4 +- planetmint/web/views/metadata.py | 2 +- planetmint/web/views/transactions.py | 2 +- proposals/extend-post-txn.md | 10 +- proposals/integration-testing.md | 4 +- proposals/migrate-cli.md | 52 +- pytest.ini | 2 +- run-acceptance-test.sh | 2 +- setup.py | 6 +- snap/README.md | 4 +- snap/snapcraft.yaml | 8 +- tests/README.md | 8 +- tests/commands/conftest.py | 2 +- tests/commands/test_commands.py | 6 +- tests/commands/test_utils.py | 18 +- tests/common/conftest.py | 2 +- tests/conftest.py | 14 +- tests/db/test_bigchain_api.py | 14 +- tests/tendermint/test_lib.py | 2 +- tests/test_core.py | 8 +- tests/web/conftest.py | 4 +- tests/web/test_info.py | 6 +- tests/web/test_outputs.py | 6 +- tests/web/test_transactions.py | 4 +- tmdata/config.toml | 2 +- tox.ini | 6 +- 206 files changed, 1381 insertions(+), 1381 deletions(-) rename k8s/{bigchaindb => planetmint}/nginx_container/Dockerfile (100%) rename k8s/{bigchaindb => planetmint}/nginx_container/README.md (94%) rename k8s/{bigchaindb => planetmint}/nginx_container/docker_build_and_push.bash (67%) rename k8s/{bigchaindb => planetmint}/nginx_container/nginx.conf.template (100%) rename k8s/{bigchaindb => planetmint}/nginx_container/nginx_entrypoint.bash (100%) rename k8s/{bigchaindb/bigchaindb-ext-conn-svc.yaml => planetmint/planetmint-ext-conn-svc.yaml} (100%) rename k8s/{bigchaindb/bigchaindb-pv.yaml => planetmint/planetmint-pv.yaml} (100%) rename k8s/{bigchaindb/bigchaindb-pvc.yaml => planetmint/planetmint-pvc.yaml} (100%) rename k8s/{bigchaindb/bigchaindb-sc.yaml => planetmint/planetmint-sc.yaml} (100%) rename k8s/{bigchaindb/bigchaindb-ss.yaml => planetmint/planetmint-ss.yaml} (90%) rename k8s/{bigchaindb/bigchaindb-svc.yaml => planetmint/planetmint-svc.yaml} (100%) rename k8s/{bigchaindb => planetmint}/tendermint_container/Dockerfile (100%) rename k8s/{bigchaindb => planetmint}/tendermint_container/README.md (97%) rename k8s/{bigchaindb => planetmint}/tendermint_container/docker_build_and_push.bash (71%) rename k8s/{bigchaindb => planetmint}/tendermint_container/genesis.json.template (100%) rename k8s/{bigchaindb => planetmint}/tendermint_container/tendermint_entrypoint.bash (100%) rename pkg/scripts/{bigchaindb-monit-config => planetmint-monit-config} (82%) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index e78d110..9c4dc71 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -9,6 +9,6 @@ Code is Apache-2.0 and docs are CC-BY-4.0 There are many ways you can contribute to the Planetmint project, some very easy and others more involved. -All of that is documented elsewhere: go to the "[Contributing to Planetmint" docs on ReadTheDocs](https://docs.bigchaindb.com/projects/contributing/en/latest/index.html). +All of that is documented elsewhere: go to the "[Contributing to Planetmint" docs on ReadTheDocs](https://docs.planetmint.com/projects/contributing/en/latest/index.html). Note: GitHub automatically links to this file (`.github/CONTRIBUTING.md`) when a contributor creates a new issue or pull request, so you shouldn't delete it. Just use it to point people to full and proper help elsewhere. diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index cf0aff9..17f8529 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,9 +1,9 @@ # Do you want to: - make a bug report? Then read below about what should go in a bug report. -- make a feature request or proposal? Then read [the page about how to make a feature request or proposal](https://docs.bigchaindb.com/projects/contributing/en/latest/ways-can-contribute/make-a-feature-request-or-proposal.html). -- ask a question about Planetmint? Then [go to Gitter](https://gitter.im/bigchaindb/bigchaindb) (our chat room) and ask it there. -- share your neat idea or realization? Then [go to Gitter](https://gitter.im/bigchaindb/bigchaindb) (our chat room) and share it there. +- make a feature request or proposal? Then read [the page about how to make a feature request or proposal](https://docs.planetmint.com/projects/contributing/en/latest/ways-can-contribute/make-a-feature-request-or-proposal.html). +- ask a question about Planetmint? Then [go to Gitter](https://gitter.im/planetmint/planetmint) (our chat room) and ask it there. +- share your neat idea or realization? Then [go to Gitter](https://gitter.im/planetmint/planetmint) (our chat room) and share it there. # What Should Go in a Bug Report diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 9305a8a..09c4f60 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -15,4 +15,4 @@ Resolves #MMMM ## BEPs Implemented -What [BEPs](https://github.com/bigchaindb/beps) does this pull request implement, if any? +What [BEPs](https://github.com/planetmint/beps) does this pull request implement, if any? diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 32ba096..baab18b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,5 +21,5 @@ repos: # list of error codes to check, see: http://www.pydocstyle.org/en/latest/error_codes.html args: ['--select=D204,D201,D209,D210,D212,D300,D403'] -# negate the exclude to only apply the hooks to 'bigchaindb' and 'tests' folder -exclude: '^(?!bigchaindb/)(?!tests/)(?!acceptance/)' +# negate the exclude to only apply the hooks to 'planetmint' and 'tests' folder +exclude: '^(?!planetmint/)(?!tests/)(?!acceptance/)' diff --git a/CHANGELOG.md b/CHANGELOG.md index ad3583a..3bc6044 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ Code is Apache-2.0 and docs are CC-BY-4.0 All _notable_ changes to this project will be documented in this file (`CHANGELOG.md`). -This project adheres to [the Python form of Semantic Versioning](https://packaging.python.org/tutorials/distributing-packages/#choosing-a-versioning-scheme) (or at least we try). The Planetmint public API _was_ defined in this file but that definition was moved and can now be found in [BEP-7](https://github.com/bigchaindb/BEPs/tree/master/7). +This project adheres to [the Python form of Semantic Versioning](https://packaging.python.org/tutorials/distributing-packages/#choosing-a-versioning-scheme) (or at least we try). The Planetmint public API _was_ defined in this file but that definition was moved and can now be found in [BEP-7](https://github.com/planetmint/BEPs/tree/master/7). Contributors to this file, please follow the guidelines on [keepachangelog.com](http://keepachangelog.com/). Note that each version (or "release") is the name of a [Git _tag_](https://git-scm.com/book/en/v2/Git-Basics-Tagging) of a particular commit, so the associated date and time are the date and time of that commit (as reported by GitHub), _not_ the "Uploaded on" date listed on PyPI (which may differ). @@ -37,7 +37,7 @@ Several dependencies updated including Flask that had vulnerability. ### External Contributors -* @aostrun - [#2708](https://github.com/bigchaindb/bigchaindb/pull/2708) +* @aostrun - [#2708](https://github.com/planetmint/planetmint/pull/2708) ## [2.2.1] - 2020-04-14 @@ -68,30 +68,30 @@ Migrated from Tendermint 0.22.8 to 0.31.5. ### Changed -Removed support for TLSv1 and TLSv1.1 in all NGINX config files. Kept support for TLSv1.2 and added support for TLSv1.3. [Pull Request #2601](https://github.com/bigchaindb/bigchaindb/pull/2601) +Removed support for TLSv1 and TLSv1.1 in all NGINX config files. Kept support for TLSv1.2 and added support for TLSv1.3. [Pull Request #2601](https://github.com/planetmint/planetmint/pull/2601) ### Fixed -Fixed two issues with schema validation. Pull requests [#2606](https://github.com/bigchaindb/bigchaindb/pull/2606) & [#2607](https://github.com/bigchaindb/bigchaindb/pull/2607) +Fixed two issues with schema validation. Pull requests [#2606](https://github.com/planetmint/planetmint/pull/2606) & [#2607](https://github.com/planetmint/planetmint/pull/2607) ### External Contributors -[@gamjapark](https://github.com/gamjapark) and team translated all the [Planetmint root docs](https://docs.bigchaindb.com/en/latest/korean/index.html) into Korean. [Pull Request #2603](https://github.com/bigchaindb/bigchaindb/pull/2603) +[@gamjapark](https://github.com/gamjapark) and team translated all the [Planetmint root docs](https://docs.planetmint.com/en/latest/korean/index.html) into Korean. [Pull Request #2603](https://github.com/planetmint/planetmint/pull/2603) ## [2.0 Beta 8] - 2018-11-03 ### Changed -* Revised the [Simple Deployment Template](http://docs.bigchaindb.com/projects/server/en/latest/simple-deployment-template/index.html) in the docs. Added NGINX to the mix. Pull Requests [#2578](https://github.com/bigchaindb/bigchaindb/pull/2578) and [#2579](https://github.com/bigchaindb/bigchaindb/pull/2579) -* Revised `nginx/nginx.conf` to enable CORS. [Pull Request #2580](https://github.com/bigchaindb/bigchaindb/pull/2580) +* Revised the [Simple Deployment Template](http://docs.planetmint.com/projects/server/en/latest/simple-deployment-template/index.html) in the docs. Added NGINX to the mix. Pull Requests [#2578](https://github.com/planetmint/planetmint/pull/2578) and [#2579](https://github.com/planetmint/planetmint/pull/2579) +* Revised `nginx/nginx.conf` to enable CORS. [Pull Request #2580](https://github.com/planetmint/planetmint/pull/2580) ### Fixed -* Fixed a typo in the Kubernetes ConfigMap template. [Pull Request #2583](https://github.com/bigchaindb/bigchaindb/pull/2583) +* Fixed a typo in the Kubernetes ConfigMap template. [Pull Request #2583](https://github.com/planetmint/planetmint/pull/2583) ### External Contributors -[@gamjapark](https://github.com/gamjapark) translated the main `README.md` file into Korean. [Pull Request #2592](https://github.com/bigchaindb/bigchaindb/pull/2592) +[@gamjapark](https://github.com/gamjapark) translated the main `README.md` file into Korean. [Pull Request #2592](https://github.com/planetmint/planetmint/pull/2592) ## [2.0 Beta 7] - 2018-09-28 @@ -99,24 +99,24 @@ Tag name: v2.0.0b7 ### Added -Completed the implementation of chain-migration elections (BEP-42). Pull requests [#2553](https://github.com/bigchaindb/bigchaindb/pull/2553), [#2556](https://github.com/bigchaindb/bigchaindb/pull/2556), [#2558](https://github.com/bigchaindb/bigchaindb/pull/2558), [#2563](https://github.com/bigchaindb/bigchaindb/pull/2563) and [#2566](https://github.com/bigchaindb/bigchaindb/pull/2566) +Completed the implementation of chain-migration elections (BEP-42). Pull requests [#2553](https://github.com/planetmint/planetmint/pull/2553), [#2556](https://github.com/planetmint/planetmint/pull/2556), [#2558](https://github.com/planetmint/planetmint/pull/2558), [#2563](https://github.com/planetmint/planetmint/pull/2563) and [#2566](https://github.com/planetmint/planetmint/pull/2566) ### Changed -* Code that used the Python driver's (deprecated) transactions.send() method now uses its transactions.send_commit() method instead. [Pull request #2547](https://github.com/bigchaindb/bigchaindb/pull/2547) -* Code that implied pluggable "consensus" now implies pluggable transaction "validation" (a more accurate word). [Pull request #2561](https://github.com/bigchaindb/bigchaindb/pull/2561) +* Code that used the Python driver's (deprecated) transactions.send() method now uses its transactions.send_commit() method instead. [Pull request #2547](https://github.com/planetmint/planetmint/pull/2547) +* Code that implied pluggable "consensus" now implies pluggable transaction "validation" (a more accurate word). [Pull request #2561](https://github.com/planetmint/planetmint/pull/2561) ### Removed -Benchmark logs. [Pull request #2565](https://github.com/bigchaindb/bigchaindb/pull/2565) +Benchmark logs. [Pull request #2565](https://github.com/planetmint/planetmint/pull/2565) ### Fixed -A bug caused by an incorrect MongoDB query. [Pull request #2567](https://github.com/bigchaindb/bigchaindb/pull/2567) +A bug caused by an incorrect MongoDB query. [Pull request #2567](https://github.com/planetmint/planetmint/pull/2567) ### Notes -There's now better documentation about logs, log rotation, and the `server.bind` config setting. Pull requests [#2546](https://github.com/bigchaindb/bigchaindb/pull/2546) and [#2575](https://github.com/bigchaindb/bigchaindb/pull/2575) +There's now better documentation about logs, log rotation, and the `server.bind` config setting. Pull requests [#2546](https://github.com/planetmint/planetmint/pull/2546) and [#2575](https://github.com/planetmint/planetmint/pull/2575) ## [2.0 Beta 6] - 2018-09-17 @@ -124,49 +124,49 @@ Tag name: v2.0.0b6 ### Added -* [New documentation about privacy and handling private data](https://docs.bigchaindb.com/en/latest/private-data.html). [Pull request #2437](https://github.com/bigchaindb/bigchaindb/pull/2437) -* New documentation about log rotation. Also rotate Tendermint logs if started using Monit. [Pull request #2528](https://github.com/bigchaindb/bigchaindb/pull/2528) -* Began implementing one of the migration strategies outlined in [BEP-42](https://github.com/bigchaindb/BEPs/tree/master/42). That involved creating a more general-purpose election process and commands. Pull requests [#2488](https://github.com/bigchaindb/bigchaindb/pull/2488), [#2495](https://github.com/bigchaindb/bigchaindb/pull/2495), [#2498](https://github.com/bigchaindb/bigchaindb/pull/2498), [#2515](https://github.com/bigchaindb/bigchaindb/pull/2515), [#2535](https://github.com/bigchaindb/bigchaindb/pull/2535) -* Used memoization to avoid doing some validation checks multiple times. [Pull request #2490](https://github.com/bigchaindb/bigchaindb/pull/2490) -* Created an all-in-one Docker image containing Planetmint Server, Tendermint and MongoDB. It was created for a particular user and is not recommended for production use unless you really know what you're doing. [Pull request #2424](https://github.com/bigchaindb/bigchaindb/pull/2424) +* [New documentation about privacy and handling private data](https://docs.planetmint.com/en/latest/private-data.html). [Pull request #2437](https://github.com/planetmint/planetmint/pull/2437) +* New documentation about log rotation. Also rotate Tendermint logs if started using Monit. [Pull request #2528](https://github.com/planetmint/planetmint/pull/2528) +* Began implementing one of the migration strategies outlined in [BEP-42](https://github.com/planetmint/BEPs/tree/master/42). That involved creating a more general-purpose election process and commands. Pull requests [#2488](https://github.com/planetmint/planetmint/pull/2488), [#2495](https://github.com/planetmint/planetmint/pull/2495), [#2498](https://github.com/planetmint/planetmint/pull/2498), [#2515](https://github.com/planetmint/planetmint/pull/2515), [#2535](https://github.com/planetmint/planetmint/pull/2535) +* Used memoization to avoid doing some validation checks multiple times. [Pull request #2490](https://github.com/planetmint/planetmint/pull/2490) +* Created an all-in-one Docker image containing Planetmint Server, Tendermint and MongoDB. It was created for a particular user and is not recommended for production use unless you really know what you're doing. [Pull request #2424](https://github.com/planetmint/planetmint/pull/2424) ### Changed -* The supported versions of Tendermint are now hard-wired into Planetmint Server: it checks to see what version the connected Tendermint has, and if it's not compatible, Planetmint Server exits with an error message. [Pull request #2541](https://github.com/bigchaindb/bigchaindb/pull/2541) -* The docs no longer say to install the highest version of Tendermint: they say to install a specific version. [Pull request #2524](https://github.com/bigchaindb/bigchaindb/pull/2524) -* The setup docs include more recommended settings for `config.toml`. [Pull request #2516](https://github.com/bigchaindb/bigchaindb/pull/2516) -* The process to add, remove or update the voting power of a validator at run time (using the `bigchaindb upsert-validator` subcommands) was completely changed and is now fully working. See [issue #2372](https://github.com/bigchaindb/bigchaindb/issues/2372) and all the pull requests it references. Pull requests [#2439](https://github.com/bigchaindb/bigchaindb/pull/2439) and [#2440](https://github.com/bigchaindb/bigchaindb/pull/2440) -* The license on the documentation was changed from CC-BY-SA-4 to CC-BY-4. [Pull request #2427](https://github.com/bigchaindb/bigchaindb/pull/2427) -* Re-activated and/or updated some unit tests that had been deacivated during the migration to Tendermint. Pull requests [#2390](https://github.com/bigchaindb/bigchaindb/pull/2390), [#2415](https://github.com/bigchaindb/bigchaindb/pull/2415), [#2452](https://github.com/bigchaindb/bigchaindb/pull/24), [#2456](https://github.com/bigchaindb/bigchaindb/pull/2456) -* Updated RapidJSON to a newer, faster version. [Pull request #2470](https://github.com/bigchaindb/bigchaindb/pull/2470) -* The Java driver is now officially supported. [Pull request #2478](https://github.com/bigchaindb/bigchaindb/pull/2478) -* The MongoDB indexes on transaction id and block height were changed to be [unique indexes](https://docs.mongodb.com/manual/core/index-unique/). [Pull request #2492](https://github.com/bigchaindb/bigchaindb/pull/2492) -* Updated the required `cryptoconditions` package to a newer one. [Pull request #2494](https://github.com/bigchaindb/bigchaindb/pull/2494) +* The supported versions of Tendermint are now hard-wired into Planetmint Server: it checks to see what version the connected Tendermint has, and if it's not compatible, Planetmint Server exits with an error message. [Pull request #2541](https://github.com/planetmint/planetmint/pull/2541) +* The docs no longer say to install the highest version of Tendermint: they say to install a specific version. [Pull request #2524](https://github.com/planetmint/planetmint/pull/2524) +* The setup docs include more recommended settings for `config.toml`. [Pull request #2516](https://github.com/planetmint/planetmint/pull/2516) +* The process to add, remove or update the voting power of a validator at run time (using the `planetmint upsert-validator` subcommands) was completely changed and is now fully working. See [issue #2372](https://github.com/planetmint/planetmint/issues/2372) and all the pull requests it references. Pull requests [#2439](https://github.com/planetmint/planetmint/pull/2439) and [#2440](https://github.com/planetmint/planetmint/pull/2440) +* The license on the documentation was changed from CC-BY-SA-4 to CC-BY-4. [Pull request #2427](https://github.com/planetmint/planetmint/pull/2427) +* Re-activated and/or updated some unit tests that had been deacivated during the migration to Tendermint. Pull requests [#2390](https://github.com/planetmint/planetmint/pull/2390), [#2415](https://github.com/planetmint/planetmint/pull/2415), [#2452](https://github.com/planetmint/planetmint/pull/24), [#2456](https://github.com/planetmint/planetmint/pull/2456) +* Updated RapidJSON to a newer, faster version. [Pull request #2470](https://github.com/planetmint/planetmint/pull/2470) +* The Java driver is now officially supported. [Pull request #2478](https://github.com/planetmint/planetmint/pull/2478) +* The MongoDB indexes on transaction id and block height were changed to be [unique indexes](https://docs.mongodb.com/manual/core/index-unique/). [Pull request #2492](https://github.com/planetmint/planetmint/pull/2492) +* Updated the required `cryptoconditions` package to a newer one. [Pull request #2494](https://github.com/planetmint/planetmint/pull/2494) ### Removed * Removed some old code and tests. Pull requests - [#2374](https://github.com/bigchaindb/bigchaindb/pull/2374), - [#2452](https://github.com/bigchaindb/bigchaindb/pull/2452), - [#2474](https://github.com/bigchaindb/bigchaindb/pull/2474), - [#2476](https://github.com/bigchaindb/bigchaindb/pull/2476), - [#2491](https://github.com/bigchaindb/bigchaindb/pull/2491) + [#2374](https://github.com/planetmint/planetmint/pull/2374), + [#2452](https://github.com/planetmint/planetmint/pull/2452), + [#2474](https://github.com/planetmint/planetmint/pull/2474), + [#2476](https://github.com/planetmint/planetmint/pull/2476), + [#2491](https://github.com/planetmint/planetmint/pull/2491) ### Fixed -* Fixed the Events API so that it only sends valid transactions to subscribers. Also changed how it works internally, so now it is more reliable. [Pull request #2529](https://github.com/bigchaindb/bigchaindb/pull/2529) -* Fixed a bug where MongoDB database initialization would abort if a collection already existed. [Pull request #2520](https://github.com/bigchaindb/bigchaindb/pull/2520) -* Fixed a unit test that was failing randomly. [Pull request #2423](https://github.com/bigchaindb/bigchaindb/pull/2423) -* Fixed the validator curl port. [Pull request #2447](https://github.com/bigchaindb/bigchaindb/pull/2447) -* Fixed an error in the docs about the HTTP POST /transactions endpoint. [Pull request #2481](https://github.com/bigchaindb/bigchaindb/pull/2481) -* Fixed a unit test that could loop forever. [Pull requqest #2486](https://github.com/bigchaindb/bigchaindb/pull/2486) -* Fixed a bug when validating a CREATE + TRANSFER. [Pull request #2487](https://github.com/bigchaindb/bigchaindb/pull/2487) -* Fixed the HTTP response when posting a transaction in commit mode. [Pull request #2510](https://github.com/bigchaindb/bigchaindb/pull/2510) -* Fixed a crash that happened when attempting to restart Planetmint at Tendermint block height 1. [Pull request#2519](https://github.com/bigchaindb/bigchaindb/pull/2519) +* Fixed the Events API so that it only sends valid transactions to subscribers. Also changed how it works internally, so now it is more reliable. [Pull request #2529](https://github.com/planetmint/planetmint/pull/2529) +* Fixed a bug where MongoDB database initialization would abort if a collection already existed. [Pull request #2520](https://github.com/planetmint/planetmint/pull/2520) +* Fixed a unit test that was failing randomly. [Pull request #2423](https://github.com/planetmint/planetmint/pull/2423) +* Fixed the validator curl port. [Pull request #2447](https://github.com/planetmint/planetmint/pull/2447) +* Fixed an error in the docs about the HTTP POST /transactions endpoint. [Pull request #2481](https://github.com/planetmint/planetmint/pull/2481) +* Fixed a unit test that could loop forever. [Pull requqest #2486](https://github.com/planetmint/planetmint/pull/2486) +* Fixed a bug when validating a CREATE + TRANSFER. [Pull request #2487](https://github.com/planetmint/planetmint/pull/2487) +* Fixed the HTTP response when posting a transaction in commit mode. [Pull request #2510](https://github.com/planetmint/planetmint/pull/2510) +* Fixed a crash that happened when attempting to restart Planetmint at Tendermint block height 1. [Pull request#2519](https://github.com/planetmint/planetmint/pull/2519) ### External Contributors -@danacr - [Pull request #2447](https://github.com/bigchaindb/bigchaindb/pull/2447) +@danacr - [Pull request #2447](https://github.com/planetmint/planetmint/pull/2447) ### Notes @@ -178,11 +178,11 @@ Tag name: v2.0.0b5 ### Changed -* Supported version of Tendermint `0.22.3` -> `0.22.8`. [Pull request #2429](https://github.com/bigchaindb/bigchaindb/pull/2429). +* Supported version of Tendermint `0.22.3` -> `0.22.8`. [Pull request #2429](https://github.com/planetmint/planetmint/pull/2429). ### Fixed -* Stateful validation raises a DoubleSpend exception if there is any other transaction that spends the same output(s) even if it has the same transaction ID. [Pull request #2422](https://github.com/bigchaindb/bigchaindb/pull/2422). +* Stateful validation raises a DoubleSpend exception if there is any other transaction that spends the same output(s) even if it has the same transaction ID. [Pull request #2422](https://github.com/planetmint/planetmint/pull/2422). ## [2.0 Beta 4] - 2018-07-30 @@ -190,22 +190,22 @@ Tag name: v2.0.0b4 ### Added -- Added scripts for creating a configuration to manage processes with Monit. [Pull request #2410](https://github.com/bigchaindb/bigchaindb/pull/2410). +- Added scripts for creating a configuration to manage processes with Monit. [Pull request #2410](https://github.com/planetmint/planetmint/pull/2410). ### Fixed -- Redundant asset and metadata queries were removed. [Pull request #2409](https://github.com/bigchaindb/bigchaindb/pull/2409). -- Signal handling was fixed for Planetmint processes. [Pull request #2395](https://github.com/bigchaindb/bigchaindb/pull/2395). -- Some of the abruptly closed sockets that used to stay in memory are being cleaned up now. [Pull request 2408](https://github.com/bigchaindb/bigchaindb/pull/2408). -- Fixed the bug when WebSockets powering Events API became unresponsive. [Pull request #2413](https://github.com/bigchaindb/bigchaindb/pull/2413). +- Redundant asset and metadata queries were removed. [Pull request #2409](https://github.com/planetmint/planetmint/pull/2409). +- Signal handling was fixed for Planetmint processes. [Pull request #2395](https://github.com/planetmint/planetmint/pull/2395). +- Some of the abruptly closed sockets that used to stay in memory are being cleaned up now. [Pull request 2408](https://github.com/planetmint/planetmint/pull/2408). +- Fixed the bug when WebSockets powering Events API became unresponsive. [Pull request #2413](https://github.com/planetmint/planetmint/pull/2413). ### Notes: -* The instructions on how to write a BEP were simplified. [Pull request #2347](https://github.com/bigchaindb/bigchaindb/pull/2347). -* A section about troubleshooting was added to the network setup guide. [Pull request #2398](https://github.com/bigchaindb/bigchaindb/pull/2398). -* Some of the core code was given a better package structure. [Pull request #2401](https://github.com/bigchaindb/bigchaindb/pull/2401). -* Some of the previously disabled unit tests were re-enabled and updated. Pull requests [#2404](https://github.com/bigchaindb/bigchaindb/pull/2404) and [#2402](https://github.com/bigchaindb/bigchaindb/pull/2402). -* Some building blocks for dynamically adding new validators were introduced. [Pull request #2392](https://github.com/bigchaindb/bigchaindb/pull/2392). +* The instructions on how to write a BEP were simplified. [Pull request #2347](https://github.com/planetmint/planetmint/pull/2347). +* A section about troubleshooting was added to the network setup guide. [Pull request #2398](https://github.com/planetmint/planetmint/pull/2398). +* Some of the core code was given a better package structure. [Pull request #2401](https://github.com/planetmint/planetmint/pull/2401). +* Some of the previously disabled unit tests were re-enabled and updated. Pull requests [#2404](https://github.com/planetmint/planetmint/pull/2404) and [#2402](https://github.com/planetmint/planetmint/pull/2402). +* Some building blocks for dynamically adding new validators were introduced. [Pull request #2392](https://github.com/planetmint/planetmint/pull/2392). ## [2.0 Beta 3] - 2018-07-18 @@ -213,7 +213,7 @@ Tag name: v2.0.0b3 ### Fixed -Fixed a bug in transaction validation. For some more-complex situations, it would say that a valid transaction was invalid. This bug was actually fixed before; it was [issue #1271](https://github.com/bigchaindb/bigchaindb/issues/1271). The unit test for it was turned off while we integrated Tendermint. Then the query implementation code got changed, reintroducing the bug, but the unit test was off so the bug wasn't caught. When we turned the test back on, shortly after releasing Beta 2, it failed, unveiling the bug. [Pull request #2389](https://github.com/bigchaindb/bigchaindb/pull/2389) +Fixed a bug in transaction validation. For some more-complex situations, it would say that a valid transaction was invalid. This bug was actually fixed before; it was [issue #1271](https://github.com/planetmint/planetmint/issues/1271). The unit test for it was turned off while we integrated Tendermint. Then the query implementation code got changed, reintroducing the bug, but the unit test was off so the bug wasn't caught. When we turned the test back on, shortly after releasing Beta 2, it failed, unveiling the bug. [Pull request #2389](https://github.com/planetmint/planetmint/pull/2389) ## [2.0 Beta 2] - 2018-07-16 @@ -221,44 +221,44 @@ Tag name: v2.0.0b2 ### Added -* Added new configuration settings `tendermint.host` and `tendermint.port`. [Pull request #2342](https://github.com/bigchaindb/bigchaindb/pull/2342) -* Added tests to ensure that Planetmint gracefully handles "nasty" strings in keys and values. [Pull request #2334](https://github.com/bigchaindb/bigchaindb/pull/2334) -* Added a new logging handler to capture benchmark stats to a separate file. [Pull request #2349](https://github.com/bigchaindb/bigchaindb/pull/2349) +* Added new configuration settings `tendermint.host` and `tendermint.port`. [Pull request #2342](https://github.com/planetmint/planetmint/pull/2342) +* Added tests to ensure that Planetmint gracefully handles "nasty" strings in keys and values. [Pull request #2334](https://github.com/planetmint/planetmint/pull/2334) +* Added a new logging handler to capture benchmark stats to a separate file. [Pull request #2349](https://github.com/planetmint/planetmint/pull/2349) ### Changed -* Changed the names of Planetmint processes (Python processes) to include 'bigchaindb', so they are easier to spot and find. [Pull request #2354](https://github.com/bigchaindb/bigchaindb/pull/2354) -* Updated all code to support the latest version of Tendermint. Note that the Planetmint ABCI server now listens to port 26657 instead of 46657. Pull requests [#2375](https://github.com/bigchaindb/bigchaindb/pull/2375) and [#2380](https://github.com/bigchaindb/bigchaindb/pull/2380) +* Changed the names of Planetmint processes (Python processes) to include 'planetmint', so they are easier to spot and find. [Pull request #2354](https://github.com/planetmint/planetmint/pull/2354) +* Updated all code to support the latest version of Tendermint. Note that the Planetmint ABCI server now listens to port 26657 instead of 46657. Pull requests [#2375](https://github.com/planetmint/planetmint/pull/2375) and [#2380](https://github.com/planetmint/planetmint/pull/2380) ### Removed -Removed all support and code for the old backlog_reassign_delay setting. [Pull request #2332](https://github.com/bigchaindb/bigchaindb/pull/2332) +Removed all support and code for the old backlog_reassign_delay setting. [Pull request #2332](https://github.com/planetmint/planetmint/pull/2332) ### Fixed -* Fixed a bug that sometimes arose when using Docker Compose. (Tendermint would freeze.) [Pull request #2341](https://github.com/bigchaindb/bigchaindb/pull/2341) -* Fixed a bug in the code that creates a MongoDB index for the "id" in the transactions collection. It works now, and performance is improved. [Pull request #2378](https://github.com/bigchaindb/bigchaindb/pull/2378) -* The logging server would keep runnning in some tear-down scenarios. It doesn't do that any more. [Pull request #2304](https://github.com/bigchaindb/bigchaindb/pull/2304) +* Fixed a bug that sometimes arose when using Docker Compose. (Tendermint would freeze.) [Pull request #2341](https://github.com/planetmint/planetmint/pull/2341) +* Fixed a bug in the code that creates a MongoDB index for the "id" in the transactions collection. It works now, and performance is improved. [Pull request #2378](https://github.com/planetmint/planetmint/pull/2378) +* The logging server would keep runnning in some tear-down scenarios. It doesn't do that any more. [Pull request #2304](https://github.com/planetmint/planetmint/pull/2304) ### External Contributors -@hrntknr - [Pull request #2331](https://github.com/bigchaindb/bigchaindb/pull/2331) +@hrntknr - [Pull request #2331](https://github.com/planetmint/planetmint/pull/2331) ### Known Issues -The `bigchaindb upsert-validator` subcommand is not working yet, but a solution ([BEP-21](https://github.com/bigchaindb/BEPs/tree/master/21)) has been finalized and will be implemented before we release the final Planetmint 2.0. +The `planetmint upsert-validator` subcommand is not working yet, but a solution ([BEP-21](https://github.com/planetmint/BEPs/tree/master/21)) has been finalized and will be implemented before we release the final Planetmint 2.0. ### Notes * A lot of old/dead code was deleted. Pull requests -[#2319](https://github.com/bigchaindb/bigchaindb/pull/2319), -[#2338](https://github.com/bigchaindb/bigchaindb/pull/2338), -[#2357](https://github.com/bigchaindb/bigchaindb/pull/2357), -[#2365](https://github.com/bigchaindb/bigchaindb/pull/2365), -[#2366](https://github.com/bigchaindb/bigchaindb/pull/2366), -[#2368](https://github.com/bigchaindb/bigchaindb/pull/2368) and -[#2374](https://github.com/bigchaindb/bigchaindb/pull/2374) -* Improved the documentation page "How to setup a Planetmint Network". [Pull Request #2312](https://github.com/bigchaindb/bigchaindb/pull/2312) +[#2319](https://github.com/planetmint/planetmint/pull/2319), +[#2338](https://github.com/planetmint/planetmint/pull/2338), +[#2357](https://github.com/planetmint/planetmint/pull/2357), +[#2365](https://github.com/planetmint/planetmint/pull/2365), +[#2366](https://github.com/planetmint/planetmint/pull/2366), +[#2368](https://github.com/planetmint/planetmint/pull/2368) and +[#2374](https://github.com/planetmint/planetmint/pull/2374) +* Improved the documentation page "How to setup a Planetmint Network". [Pull Request #2312](https://github.com/planetmint/planetmint/pull/2312) ## [2.0 Beta 1] - 2018-06-01 @@ -266,18 +266,18 @@ Tag name: v2.0.0b1 ### Fixed -* Fixed a bug that arose with some code that treated transactions-waiting-for-block-inclusion as if they were already stored in MongoDB (i.e. already in a block). [Pull request #2318](https://github.com/bigchaindb/bigchaindb/pull/2318) -* If a user asked for a block and it happened to be an empty block, Planetmint returned 404 Not Found, as if the block did not exist. Now it returns a 200 OK with a block containing no transactions, i.e. an empty block. [Pull request #2321](https://github.com/bigchaindb/bigchaindb/pull/2321) +* Fixed a bug that arose with some code that treated transactions-waiting-for-block-inclusion as if they were already stored in MongoDB (i.e. already in a block). [Pull request #2318](https://github.com/planetmint/planetmint/pull/2318) +* If a user asked for a block and it happened to be an empty block, Planetmint returned 404 Not Found, as if the block did not exist. Now it returns a 200 OK with a block containing no transactions, i.e. an empty block. [Pull request #2321](https://github.com/planetmint/planetmint/pull/2321) ### Known Issues -* An issue was found with the `bigchaindb upsert-validator` command. A solution was proposed in [BEP-19](https://github.com/bigchaindb/BEPs/pull/45) and is being implemented in [pull request #2314](https://github.com/bigchaindb/bigchaindb/pull/2314) +* An issue was found with the `planetmint upsert-validator` command. A solution was proposed in [BEP-19](https://github.com/planetmint/BEPs/pull/45) and is being implemented in [pull request #2314](https://github.com/planetmint/planetmint/pull/2314) * If you run Planetmint locally using `make start` (i.e. using Docker Compose) and then you put the node under heavy write load, Tendermint can become unresponsive and running `make stop` can hang. * There seems to be one or more issues with Tendermint when it is put under heavy load (i.e. even when Planetmint isn't involved). See Tendermint issues [#1394](https://github.com/tendermint/tendermint/issues/1394), [#1642](https://github.com/tendermint/tendermint/issues/1642) and [#1661](https://github.com/tendermint/tendermint/issues/1661) ### Notes -* There's a [new docs page](https://docs.bigchaindb.com/projects/server/en/v2.0.0b1/simple-network-setup.html) about how to set up a network where each node uses a single virtual machine. +* There's a [new docs page](https://docs.planetmint.com/projects/server/en/v2.0.0b1/simple-network-setup.html) about how to set up a network where each node uses a single virtual machine. * We checked, and Planetmint 2.0 Beta 1 works with MongoDB 3.6 (and 3.4). * Support for RethinkDB is completely gone. @@ -287,11 +287,11 @@ Tag name: v2.0.0a6 ### Changed -Upgraded PyMongo to version 3.6 (which is compatible with MongoDB 3.6, 3.4 [and more](https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/#python-driver-compatibility)). [Pull request #2298](https://github.com/bigchaindb/bigchaindb/pull/2298) +Upgraded PyMongo to version 3.6 (which is compatible with MongoDB 3.6, 3.4 [and more](https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/#python-driver-compatibility)). [Pull request #2298](https://github.com/planetmint/planetmint/pull/2298) ### Fixed -When deploying a node using our Docker Compose file, it didn't expose port 46656, which is used by Tendermint for inter-node communications, so the node couldn't communicate with other nodes. We fixed that in [pull request #2299](https://github.com/bigchaindb/bigchaindb/pull/2299) +When deploying a node using our Docker Compose file, it didn't expose port 46656, which is used by Tendermint for inter-node communications, so the node couldn't communicate with other nodes. We fixed that in [pull request #2299](https://github.com/planetmint/planetmint/pull/2299) ### Notes @@ -303,7 +303,7 @@ Tag name: v2.0.0a5 ### Changed -To resolve [issue #2279](https://github.com/bigchaindb/bigchaindb/issues/2279), we made some changes to the `bigchaindb-abci` package (which is our fork of `py-abci`) and told Planetmint to use the new version (`bigchaindb-abci==0.4.5`). [Pull request #2281](https://github.com/bigchaindb/bigchaindb/pull/2281). +To resolve [issue #2279](https://github.com/planetmint/planetmint/issues/2279), we made some changes to the `bigchaindb-abci` package (which is our fork of `py-abci`) and told Planetmint to use the new version (`bigchaindb-abci==0.4.5`). [Pull request #2281](https://github.com/planetmint/planetmint/pull/2281). ## [2.0 Alpha 4] - 2018-05-09 @@ -311,15 +311,15 @@ Tag name: v2.0.0a4 ### Changed -The Kubernetes liveness probe for the Planetmint StatefulSet was improved to check the Tendermint /status endpoint in addition to the Tendermint /abci_info endpoint. [Pull request #2275](https://github.com/bigchaindb/bigchaindb/pull/2275) +The Kubernetes liveness probe for the Planetmint StatefulSet was improved to check the Tendermint /status endpoint in addition to the Tendermint /abci_info endpoint. [Pull request #2275](https://github.com/planetmint/planetmint/pull/2275) ### Fixed -[Pull request #2270](https://github.com/bigchaindb/bigchaindb/pull/2270) resolved [issue #2269](https://github.com/bigchaindb/bigchaindb/issues/2269). +[Pull request #2270](https://github.com/planetmint/planetmint/pull/2270) resolved [issue #2269](https://github.com/planetmint/planetmint/issues/2269). ### Notes -There's a new [page in the docs about storing files in Planetmint](https://docs.bigchaindb.com/en/latest/store-files.html). [Pull request #2259](https://github.com/bigchaindb/bigchaindb/pull/2259) +There's a new [page in the docs about storing files in Planetmint](https://docs.planetmint.com/en/latest/store-files.html). [Pull request #2259](https://github.com/planetmint/planetmint/pull/2259) ## [2.0 Alpha 3] - 2018-05-03 @@ -327,17 +327,17 @@ Tag name: v2.0.0a3 ### Changed -* Upgraded Planetmint Server code to use the latest version of Tendermint: version 0.19.2. Pull requests [#2249](https://github.com/bigchaindb/bigchaindb/pull/2249), [#2252](https://github.com/bigchaindb/bigchaindb/pull/2252) and [#2253](https://github.com/bigchaindb/bigchaindb/pull/2253) -* Made some fixes to `py-abci` (an external Python package) and used our fixed version with Planetmint. Those fixes resolved several known issues, including [issue #2182](https://github.com/bigchaindb/bigchaindb/issues/2182) and issues with large transactions in general. Note: At the time of writing, our fixes to `py-abci` hadn't been merged into the main `py-abci` repository or its latest release on PyPI; we were using our own special `bigchaindb-abci` package (which included our fixes). Pull requests [#2250](https://github.com/bigchaindb/bigchaindb/pull/2250) and [#2261](https://github.com/bigchaindb/bigchaindb/pull/2261) -* If Planetmint Server crashes and then comes back, Tendermint Core doesn't try to reconnect to it. That's just how Tendermint Core works. We revised our Kubernetes-based production deployment template to resolve that issue: Planetmint Server and Tendermint Core are now in the same Kubernetes StatefulSet; if the connection between them ever goes down, then Kubernetes restarts the whole StatefulSet. [Pull request #2242](https://github.com/bigchaindb/bigchaindb/pull/2242) +* Upgraded Planetmint Server code to use the latest version of Tendermint: version 0.19.2. Pull requests [#2249](https://github.com/planetmint/planetmint/pull/2249), [#2252](https://github.com/planetmint/planetmint/pull/2252) and [#2253](https://github.com/planetmint/planetmint/pull/2253) +* Made some fixes to `py-abci` (an external Python package) and used our fixed version with Planetmint. Those fixes resolved several known issues, including [issue #2182](https://github.com/planetmint/planetmint/issues/2182) and issues with large transactions in general. Note: At the time of writing, our fixes to `py-abci` hadn't been merged into the main `py-abci` repository or its latest release on PyPI; we were using our own special `bigchaindb-abci` package (which included our fixes). Pull requests [#2250](https://github.com/planetmint/planetmint/pull/2250) and [#2261](https://github.com/planetmint/planetmint/pull/2261) +* If Planetmint Server crashes and then comes back, Tendermint Core doesn't try to reconnect to it. That's just how Tendermint Core works. We revised our Kubernetes-based production deployment template to resolve that issue: Planetmint Server and Tendermint Core are now in the same Kubernetes StatefulSet; if the connection between them ever goes down, then Kubernetes restarts the whole StatefulSet. [Pull request #2242](https://github.com/planetmint/planetmint/pull/2242) ### Fixed -Re-enabled multi-threading. [Pull request #2258](https://github.com/bigchaindb/bigchaindb/pull/2258) +Re-enabled multi-threading. [Pull request #2258](https://github.com/planetmint/planetmint/pull/2258) ### Known Issues -Tendermint changed how it responds to a request to store data (via the [Tendermint Broadcast API](https://tendermint.com/docs/tendermint-core/using-tendermint.html#broadcast-api)) between version 0.12 and 0.19.2. We started modifying the code of Planetmint Server to account for those changes in responses (in [pull request #2239](https://github.com/bigchaindb/bigchaindb/pull/2239)), but we found that there's a difference between what the Tendermint documentation _says_ about those responses and how Tendermint actually responds. We need to determine Tendermint's intent before we can finalize that pull request. +Tendermint changed how it responds to a request to store data (via the [Tendermint Broadcast API](https://tendermint.com/docs/tendermint-core/using-tendermint.html#broadcast-api)) between version 0.12 and 0.19.2. We started modifying the code of Planetmint Server to account for those changes in responses (in [pull request #2239](https://github.com/planetmint/planetmint/pull/2239)), but we found that there's a difference between what the Tendermint documentation _says_ about those responses and how Tendermint actually responds. We need to determine Tendermint's intent before we can finalize that pull request. ### Notes @@ -349,11 +349,11 @@ Tag name: v2.0.0a2 ### Added -An implementation of [BEP-8 (Planetmint Enhancement Proposal #8)](https://github.com/bigchaindb/BEPs/tree/master/8), which makes sure a node can recover from a system fault (e.g. a crash) into a consistent state, i.e. a state where the data in the node's local MongoDB database is consistent with the data stored in the blockchain. Pull requests [#2135](https://github.com/bigchaindb/bigchaindb/pull/2135) and [#2207](https://github.com/bigchaindb/bigchaindb/pull/2207) +An implementation of [BEP-8 (Planetmint Enhancement Proposal #8)](https://github.com/planetmint/BEPs/tree/master/8), which makes sure a node can recover from a system fault (e.g. a crash) into a consistent state, i.e. a state where the data in the node's local MongoDB database is consistent with the data stored in the blockchain. Pull requests [#2135](https://github.com/planetmint/planetmint/pull/2135) and [#2207](https://github.com/planetmint/planetmint/pull/2207) ### Changed -When someone uses the HTTP API to send a new transaction to a Planetmint network using the [POST /api/v1/transactions?mode={mode}](https://docs.bigchaindb.com/projects/server/en/master/http-client-server-api.html#post--api-v1-transactions?mode=mode) endpoint, they now get back a more informative HTTP response, so they can better-understand what happened. This is only when mode is `commit` or `sync`, because `async` _means_ that the response is immediate, without waiting to see what happened to the transaction. [Pull request #2198](https://github.com/bigchaindb/bigchaindb/pull/2198) +When someone uses the HTTP API to send a new transaction to a Planetmint network using the [POST /api/v1/transactions?mode={mode}](https://docs.planetmint.com/projects/server/en/master/http-client-server-api.html#post--api-v1-transactions?mode=mode) endpoint, they now get back a more informative HTTP response, so they can better-understand what happened. This is only when mode is `commit` or `sync`, because `async` _means_ that the response is immediate, without waiting to see what happened to the transaction. [Pull request #2198](https://github.com/planetmint/planetmint/pull/2198) ### Known Issues @@ -366,15 +366,15 @@ Tag name: v2.0.0a1 There were _many_ changes between 1.3 and 2.0 Alpha, too many to list here. We wrote a series of blog posts to summarize most changes, especially those that affect end users and application developers: -* [Planetmint 2.0 is Byzantine Fault Tolerant](https://blog.bigchaindb.com/bigchaindb-2-0-is-byzantine-fault-tolerant-5ffdac96bc44) -* [Some HTTP API Changes in the Next Release](https://blog.bigchaindb.com/some-http-api-changes-in-the-next-release-49612a537b0c) -* [Three Transaction Model Changes in the Next Release](https://blog.bigchaindb.com/three-transaction-model-changes-in-the-next-release-dadbac50094a) -* [Changes to the Server Command Line Interface in Planetmint 2.0](https://blog.bigchaindb.com/changes-to-the-server-command-line-interface-in-bigchaindb-2-0-e1d6576e7155) +* [Planetmint 2.0 is Byzantine Fault Tolerant](https://blog.planetmint.com/planetmint-2-0-is-byzantine-fault-tolerant-5ffdac96bc44) +* [Some HTTP API Changes in the Next Release](https://blog.planetmint.com/some-http-api-changes-in-the-next-release-49612a537b0c) +* [Three Transaction Model Changes in the Next Release](https://blog.planetmint.com/three-transaction-model-changes-in-the-next-release-dadbac50094a) +* [Changes to the Server Command Line Interface in Planetmint 2.0](https://blog.planetmint.com/changes-to-the-server-command-line-interface-in-planetmint-2-0-e1d6576e7155) * _A forthcoming post about changes in Planetmint Server configuration settings_ ### External Contributors -* @r7vme contributed [pull request #1984](https://github.com/bigchaindb/bigchaindb/pull/1984) which fixed a bug in our Kubernetes-based production deployment template. +* @r7vme contributed [pull request #1984](https://github.com/planetmint/planetmint/pull/1984) which fixed a bug in our Kubernetes-based production deployment template. ### Known Issues @@ -387,28 +387,28 @@ We intend to resolve these issues before releasing the final Planetmint 2.0: Tag name: v1.3.0 ### Added -* Metadata full-text search. [Pull request #1812](https://github.com/bigchaindb/bigchaindb/pull/1812) +* Metadata full-text search. [Pull request #1812](https://github.com/planetmint/planetmint/pull/1812) ### Notes -* Improved documentation about blocks and votes. [Pull request #1855](https://github.com/bigchaindb/bigchaindb/pull/1855) +* Improved documentation about blocks and votes. [Pull request #1855](https://github.com/planetmint/planetmint/pull/1855) ## [1.2] - 2017-11-13 Tag name: v1.2.0 ### Added -* New and improved installation setup docs and code. Pull requests [#1775](https://github.com/bigchaindb/bigchaindb/pull/1775) and [#1785](https://github.com/bigchaindb/bigchaindb/pull/1785) -* New Planetmint configuration setting to set the port number of the log server: `log.port`. [Pull request #1796](https://github.com/bigchaindb/bigchaindb/pull/1796) -* New secondary index on `id` in the bigchain table. That will make some queries execute faster. [Pull request #1803](https://github.com/bigchaindb/bigchaindb/pull/1803) -* When using MongoDB, there are some restrictions on allowed names for keys (JSON keys). Those restrictions were always there but now Planetmint checks key names explicitly, rather than leaving that to MongoDB. Pull requests [#1807](https://github.com/bigchaindb/bigchaindb/pull/1807) and [#1811](https://github.com/bigchaindb/bigchaindb/pull/1811) -* When using MongoDB, there are some restrictions on the allowed values of "language" (if that key is used in the values of `metadata` or `asset.data`). Those restrictions were always there but now Planetmint checks the values explicitly, rather than leaving that to MongoDB. Pull requests [#1806](https://github.com/bigchaindb/bigchaindb/pull/1806) and [#1811](https://github.com/bigchaindb/bigchaindb/pull/1811) -* There's a new page in the root docs about permissions in Planetmint. [Pull request #1788](https://github.com/bigchaindb/bigchaindb/pull/1788) -* There's a new option in the `bigchaindb start` command: `bigchaindb start --no-init` will avoid doing `bigchaindb init` if it wasn't done already. [Pull request #1814](https://github.com/bigchaindb/bigchaindb/pull/1814) +* New and improved installation setup docs and code. Pull requests [#1775](https://github.com/planetmint/planetmint/pull/1775) and [#1785](https://github.com/planetmint/planetmint/pull/1785) +* New Planetmint configuration setting to set the port number of the log server: `log.port`. [Pull request #1796](https://github.com/planetmint/planetmint/pull/1796) +* New secondary index on `id` in the bigchain table. That will make some queries execute faster. [Pull request #1803](https://github.com/planetmint/planetmint/pull/1803) +* When using MongoDB, there are some restrictions on allowed names for keys (JSON keys). Those restrictions were always there but now Planetmint checks key names explicitly, rather than leaving that to MongoDB. Pull requests [#1807](https://github.com/planetmint/planetmint/pull/1807) and [#1811](https://github.com/planetmint/planetmint/pull/1811) +* When using MongoDB, there are some restrictions on the allowed values of "language" (if that key is used in the values of `metadata` or `asset.data`). Those restrictions were always there but now Planetmint checks the values explicitly, rather than leaving that to MongoDB. Pull requests [#1806](https://github.com/planetmint/planetmint/pull/1806) and [#1811](https://github.com/planetmint/planetmint/pull/1811) +* There's a new page in the root docs about permissions in Planetmint. [Pull request #1788](https://github.com/planetmint/planetmint/pull/1788) +* There's a new option in the `planetmint start` command: `planetmint start --no-init` will avoid doing `planetmint init` if it wasn't done already. [Pull request #1814](https://github.com/planetmint/planetmint/pull/1814) ### Fixed -* Fixed a bug where setting the log level in a Planetmint config file didn't have any effect. It does now. [Pull request #1797](https://github.com/bigchaindb/bigchaindb/pull/1797) -* The docs were wrong about there being no Ping/Pong support in the Events API. There is, so the docs were fixed. [Pull request #1799](https://github.com/bigchaindb/bigchaindb/pull/1799) -* Fixed an issue with closing WebSocket connections properly. [Pull request #1819](https://github.com/bigchaindb/bigchaindb/pull/1819) +* Fixed a bug where setting the log level in a Planetmint config file didn't have any effect. It does now. [Pull request #1797](https://github.com/planetmint/planetmint/pull/1797) +* The docs were wrong about there being no Ping/Pong support in the Events API. There is, so the docs were fixed. [Pull request #1799](https://github.com/planetmint/planetmint/pull/1799) +* Fixed an issue with closing WebSocket connections properly. [Pull request #1819](https://github.com/planetmint/planetmint/pull/1819) ### Notes * Many changes were made to the Kubernetes-based production deployment template and code. @@ -418,26 +418,26 @@ Tag name: v1.2.0 Tag name: v1.1.0 ### Added -* Support for server-side plugins that can add support for alternate event consumers (other than the WebSocket API). [Pull request #1707](https://github.com/bigchaindb/bigchaindb/pull/1707) -* New configuration settings to set the *advertised* wsserver scheme, host and port. (The *advertised* ones are the ones that external users use to connect to the WebSocket API.) [Pull request #1703](https://github.com/bigchaindb/bigchaindb/pull/1703) -* Support for secure (TLS) WebSocket connections. [Pull request #1619](https://github.com/bigchaindb/bigchaindb/pull/1619) -* A new page of documentation about the contents of a condition (inside a transaction). [Pull request #1668](https://github.com/bigchaindb/bigchaindb/pull/1668) +* Support for server-side plugins that can add support for alternate event consumers (other than the WebSocket API). [Pull request #1707](https://github.com/planetmint/planetmint/pull/1707) +* New configuration settings to set the *advertised* wsserver scheme, host and port. (The *advertised* ones are the ones that external users use to connect to the WebSocket API.) [Pull request #1703](https://github.com/planetmint/planetmint/pull/1703) +* Support for secure (TLS) WebSocket connections. [Pull request #1619](https://github.com/planetmint/planetmint/pull/1619) +* A new page of documentation about the contents of a condition (inside a transaction). [Pull request #1668](https://github.com/planetmint/planetmint/pull/1668) ### Changed -* We updated our definition of the **public API** (at the top of this document). [Pull request #1700](https://github.com/bigchaindb/bigchaindb/pull/1700) -* The HTTP API Logger now logs the request path and method as well. [Pull request #1644](https://github.com/bigchaindb/bigchaindb/pull/1644) +* We updated our definition of the **public API** (at the top of this document). [Pull request #1700](https://github.com/planetmint/planetmint/pull/1700) +* The HTTP API Logger now logs the request path and method as well. [Pull request #1644](https://github.com/planetmint/planetmint/pull/1644) ### External Contributors -* @carchrae - [Pull request #1731](https://github.com/bigchaindb/bigchaindb/pull/1731) -* @ivanbakel - [Pull request #1706](https://github.com/bigchaindb/bigchaindb/pull/1706) -* @ketanbhatt - Pull requests [#1643](https://github.com/bigchaindb/bigchaindb/pull/1643) and [#1644](https://github.com/bigchaindb/bigchaindb/pull/1644) +* @carchrae - [Pull request #1731](https://github.com/planetmint/planetmint/pull/1731) +* @ivanbakel - [Pull request #1706](https://github.com/planetmint/planetmint/pull/1706) +* @ketanbhatt - Pull requests [#1643](https://github.com/planetmint/planetmint/pull/1643) and [#1644](https://github.com/planetmint/planetmint/pull/1644) ### Notes * New drivers & tools from our community: - * [Java driver](https://github.com/authenteq/java-bigchaindb-driver), by [Authenteq](https://authenteq.com/) - * [Ruby library](https://rubygems.org/gems/bigchaindb), by @nileshtrivedi + * [Java driver](https://github.com/authenteq/java-planetmint-driver), by [Authenteq](https://authenteq.com/) + * [Ruby library](https://rubygems.org/gems/planetmint), by @nileshtrivedi * Many improvements to our production deployment template (which uses Kubernetes). -* The production deployment template for the multi-node case was out of date. We updated that and verified it. [Pull request #1713](https://github.com/bigchaindb/bigchaindb/pull/1713) +* The production deployment template for the multi-node case was out of date. We updated that and verified it. [Pull request #1713](https://github.com/planetmint/planetmint/pull/1713) ## [1.0.1] - 2017-07-13 @@ -445,14 +445,14 @@ Tag name: v1.0.1 ### Fixed * Various issues in the Quickstart page. Pull requests - [#1641](https://github.com/bigchaindb/bigchaindb/pull/1641) and - [#1648](https://github.com/bigchaindb/bigchaindb/pull/1648). + [#1641](https://github.com/planetmint/planetmint/pull/1641) and + [#1648](https://github.com/planetmint/planetmint/pull/1648). * Changefeed hanging when MongoDB primary node is turned off. - [Pull request #1638](https://github.com/bigchaindb/bigchaindb/pull/1638). + [Pull request #1638](https://github.com/planetmint/planetmint/pull/1638). * Missing `assets` tables for RethinkDB backend. - [Pull request #1646](https://github.com/bigchaindb/bigchaindb/pull/1646). + [Pull request #1646](https://github.com/planetmint/planetmint/pull/1646). * Cryptoconditions version mismatch. - [Pull request #1659](https://github.com/bigchaindb/bigchaindb/pull/1659). + [Pull request #1659](https://github.com/planetmint/planetmint/pull/1659). ## [1.0.0] - 2017-07-05 @@ -462,13 +462,13 @@ Tag name: v1.0.0 ### Changed * The file name of the upgrade guide changed from `docs/upgrade-guides/v0.10-->v1.0.md` to `docs/upgrade-guides/v0.10-v1.0.md`. -* In `transaction.inputs[n].fulfills`, `output` was renamed to `output_index`. [Pull Request #1596](https://github.com/bigchaindb/bigchaindb/pull/1596) -* In `transaction.outputs[n].condition.details`, 1) `signature` was removed (from signature conditions) and 2) `subfulfillments` was renamed to `subconditions` (in threshold conditions). [Pull Request #1589](https://github.com/bigchaindb/bigchaindb/pull/1589) -* Refined transaction schema validation to check that the `transaction.outputs[n].condition.uri` corresponds to a condition that Planetmint Server 1.0.0 actually supports. [Pull Request #1597](https://github.com/bigchaindb/bigchaindb/pull/1597) -* Before, GET requests (to the HTTP API) with header `Content-Type: 'application/json'` would get a response with the message, "The browser (or proxy) sent a request that this server could not understand." Now, if a GET request includes a `Content-Type` header, that header gets deleted (i.e. ignored). [Pull Request #1630](https://github.com/bigchaindb/bigchaindb/pull/1630) +* In `transaction.inputs[n].fulfills`, `output` was renamed to `output_index`. [Pull Request #1596](https://github.com/planetmint/planetmint/pull/1596) +* In `transaction.outputs[n].condition.details`, 1) `signature` was removed (from signature conditions) and 2) `subfulfillments` was renamed to `subconditions` (in threshold conditions). [Pull Request #1589](https://github.com/planetmint/planetmint/pull/1589) +* Refined transaction schema validation to check that the `transaction.outputs[n].condition.uri` corresponds to a condition that Planetmint Server 1.0.0 actually supports. [Pull Request #1597](https://github.com/planetmint/planetmint/pull/1597) +* Before, GET requests (to the HTTP API) with header `Content-Type: 'application/json'` would get a response with the message, "The browser (or proxy) sent a request that this server could not understand." Now, if a GET request includes a `Content-Type` header, that header gets deleted (i.e. ignored). [Pull Request #1630](https://github.com/planetmint/planetmint/pull/1630) ### Fixed -* If an end user sends a transaction with `operation` equal to `GENESIS`, it will be rejected as invalid. [Pull Request #1612](https://github.com/bigchaindb/bigchaindb/pull/1612) +* If an end user sends a transaction with `operation` equal to `GENESIS`, it will be rejected as invalid. [Pull Request #1612](https://github.com/planetmint/planetmint/pull/1612) ## [1.0.0rc1] - 2017-06-23 @@ -476,54 +476,54 @@ Tag name: v1.0.0rc1 ### Added * Support for secure TLS/SSL communication between MongoDB and {Planetmint, MongoDB Backup Agent, MongoDB Monitoring Agent}. Pull Requests -[#1456](https://github.com/bigchaindb/bigchaindb/pull/1456), -[#1497](https://github.com/bigchaindb/bigchaindb/pull/1497), -[#1510](https://github.com/bigchaindb/bigchaindb/pull/1510), -[#1536](https://github.com/bigchaindb/bigchaindb/pull/1536), -[#1551](https://github.com/bigchaindb/bigchaindb/pull/1551) and -[#1552](https://github.com/bigchaindb/bigchaindb/pull/1552). -* Text search support (only if using MongoDB). Pull Requests [#1469](https://github.com/bigchaindb/bigchaindb/pull/1469) and [#1471](https://github.com/bigchaindb/bigchaindb/pull/1471) -* The `database.connection_timeout` configuration setting now works with RethinkDB too. [#1512](https://github.com/bigchaindb/bigchaindb/pull/1512) -* New code and tools for benchmarking CREATE transactions. [Pull Request #1511](https://github.com/bigchaindb/bigchaindb/pull/1511) +[#1456](https://github.com/planetmint/planetmint/pull/1456), +[#1497](https://github.com/planetmint/planetmint/pull/1497), +[#1510](https://github.com/planetmint/planetmint/pull/1510), +[#1536](https://github.com/planetmint/planetmint/pull/1536), +[#1551](https://github.com/planetmint/planetmint/pull/1551) and +[#1552](https://github.com/planetmint/planetmint/pull/1552). +* Text search support (only if using MongoDB). Pull Requests [#1469](https://github.com/planetmint/planetmint/pull/1469) and [#1471](https://github.com/planetmint/planetmint/pull/1471) +* The `database.connection_timeout` configuration setting now works with RethinkDB too. [#1512](https://github.com/planetmint/planetmint/pull/1512) +* New code and tools for benchmarking CREATE transactions. [Pull Request #1511](https://github.com/planetmint/planetmint/pull/1511) ### Changed -* There's an upgrade guide in `docs/upgrade-guides/v0.10-->v1.0.md`. It only covers changes to the transaction model and HTTP API. If that file hasn't been merged yet, see [Pull Request #1547](https://github.com/bigchaindb/bigchaindb/pull/1547) -* Cryptographic signatures now sign the whole (serialized) transaction body, including the transaction ID, but with all `"fulfillment"` values changed to `None`. [Pull Request #1225](https://github.com/bigchaindb/bigchaindb/pull/1225) -* In transactions, the value of `"amount"` must be a string. (Before, it was supposed to be a number.) [Pull Request #1286](https://github.com/bigchaindb/bigchaindb/pull/1286) -* In `setup.py`, the "Development Status" (as reported on PyPI) was changed from Alpha to Beta. [Pull Request #1437](https://github.com/bigchaindb/bigchaindb/pull/1437) -* If you explicitly specify a config file, e.g. `bigchaindb -c path/to/config start` and that file can't be found, then Planetmint Server will fail with a helpful error message. [Pull Request #1486](https://github.com/bigchaindb/bigchaindb/pull/1486) -* Reduced the response time on the HTTP API endpoint to get all the unspent outputs associated with a given public key (a.k.a. "fast unspents"). [Pull Request #1411](https://github.com/bigchaindb/bigchaindb/pull/1411) -* Internally, the value of an asset's `"data"` is now stored in a separate assets table. This enabled the new text search. Each asset data is stored along with the associated CREATE transaction ID (asset ID). That data gets written when the containing block gets written to the bigchain table. [Pull Request #1460](https://github.com/bigchaindb/bigchaindb/pull/1460) -* Schema validation was sped up by switching to `rapidjson-schema`. [Pull Request #1494](https://github.com/bigchaindb/bigchaindb/pull/1494) -* If a node comes back from being down for a while, it will resume voting on blocks in the order determined by the MongoDB oplog, in the case of MongoDB. (In the case of RethinkDB, blocks missed in the changefeed will not be voted on.) [Pull Request #1389](https://github.com/bigchaindb/bigchaindb/pull/1389) -* Parallelized transaction schema validation in the vote pipeline. [Pull Request #1492](https://github.com/bigchaindb/bigchaindb/pull/1492) -* `asset.data` or `asset.id` are now *required* in a CREATE or TRANSFER transaction, respectively. [Pull Request #1518](https://github.com/bigchaindb/bigchaindb/pull/1518) -* The HTTP response body, in the response to the `GET /` and the `GET /api/v1` endpoints, was changed substantially. [Pull Request #1529](https://github.com/bigchaindb/bigchaindb/pull/1529) -* Changed the HTTP `GET /api/v1/transactions/{transaction_id}` endpoint. It now only returns the transaction if it's in a valid block. It also returns a new header with a relative link to a status monitor. [Pull Request #1543](https://github.com/bigchaindb/bigchaindb/pull/1543) -* All instances of `txid` and `tx_id` were replaced with `transaction_id`, in the transaction model and the HTTP API. [Pull Request #1532](https://github.com/bigchaindb/bigchaindb/pull/1532) -* The hostname and port were removed from all URLs in all HTTP API responses. [Pull Request #1538](https://github.com/bigchaindb/bigchaindb/pull/1538) -* Relative links were replaced with JSON objects in HTTP API responses. [Pull Request #1541](https://github.com/bigchaindb/bigchaindb/pull/1541) -* In the outputs endpoint of the HTTP API, the query parameter `unspent` was changed to `spent` (so no more double negatives). If that query parameter isn't included, then all outputs matching the specificed public key will be returned. If `spent=true`, then only the spent outputs will be returned. If `spent=false`, then only the unspent outputs will be returned. [Pull Request #1545](https://github.com/bigchaindb/bigchaindb/pull/1545) -* The supported crypto-conditions changed from version 01 of the crypto-conditions spec to version 02. [Pull Request #1562](https://github.com/bigchaindb/bigchaindb/pull/1562) -* The value of "version" inside a transaction must now be "1.0". (Before, it could be "0.anything".) [Pull Request #1574](https://github.com/bigchaindb/bigchaindb/pull/1574) +* There's an upgrade guide in `docs/upgrade-guides/v0.10-->v1.0.md`. It only covers changes to the transaction model and HTTP API. If that file hasn't been merged yet, see [Pull Request #1547](https://github.com/planetmint/planetmint/pull/1547) +* Cryptographic signatures now sign the whole (serialized) transaction body, including the transaction ID, but with all `"fulfillment"` values changed to `None`. [Pull Request #1225](https://github.com/planetmint/planetmint/pull/1225) +* In transactions, the value of `"amount"` must be a string. (Before, it was supposed to be a number.) [Pull Request #1286](https://github.com/planetmint/planetmint/pull/1286) +* In `setup.py`, the "Development Status" (as reported on PyPI) was changed from Alpha to Beta. [Pull Request #1437](https://github.com/planetmint/planetmint/pull/1437) +* If you explicitly specify a config file, e.g. `planetmint -c path/to/config start` and that file can't be found, then Planetmint Server will fail with a helpful error message. [Pull Request #1486](https://github.com/planetmint/planetmint/pull/1486) +* Reduced the response time on the HTTP API endpoint to get all the unspent outputs associated with a given public key (a.k.a. "fast unspents"). [Pull Request #1411](https://github.com/planetmint/planetmint/pull/1411) +* Internally, the value of an asset's `"data"` is now stored in a separate assets table. This enabled the new text search. Each asset data is stored along with the associated CREATE transaction ID (asset ID). That data gets written when the containing block gets written to the bigchain table. [Pull Request #1460](https://github.com/planetmint/planetmint/pull/1460) +* Schema validation was sped up by switching to `rapidjson-schema`. [Pull Request #1494](https://github.com/planetmint/planetmint/pull/1494) +* If a node comes back from being down for a while, it will resume voting on blocks in the order determined by the MongoDB oplog, in the case of MongoDB. (In the case of RethinkDB, blocks missed in the changefeed will not be voted on.) [Pull Request #1389](https://github.com/planetmint/planetmint/pull/1389) +* Parallelized transaction schema validation in the vote pipeline. [Pull Request #1492](https://github.com/planetmint/planetmint/pull/1492) +* `asset.data` or `asset.id` are now *required* in a CREATE or TRANSFER transaction, respectively. [Pull Request #1518](https://github.com/planetmint/planetmint/pull/1518) +* The HTTP response body, in the response to the `GET /` and the `GET /api/v1` endpoints, was changed substantially. [Pull Request #1529](https://github.com/planetmint/planetmint/pull/1529) +* Changed the HTTP `GET /api/v1/transactions/{transaction_id}` endpoint. It now only returns the transaction if it's in a valid block. It also returns a new header with a relative link to a status monitor. [Pull Request #1543](https://github.com/planetmint/planetmint/pull/1543) +* All instances of `txid` and `tx_id` were replaced with `transaction_id`, in the transaction model and the HTTP API. [Pull Request #1532](https://github.com/planetmint/planetmint/pull/1532) +* The hostname and port were removed from all URLs in all HTTP API responses. [Pull Request #1538](https://github.com/planetmint/planetmint/pull/1538) +* Relative links were replaced with JSON objects in HTTP API responses. [Pull Request #1541](https://github.com/planetmint/planetmint/pull/1541) +* In the outputs endpoint of the HTTP API, the query parameter `unspent` was changed to `spent` (so no more double negatives). If that query parameter isn't included, then all outputs matching the specificed public key will be returned. If `spent=true`, then only the spent outputs will be returned. If `spent=false`, then only the unspent outputs will be returned. [Pull Request #1545](https://github.com/planetmint/planetmint/pull/1545) +* The supported crypto-conditions changed from version 01 of the crypto-conditions spec to version 02. [Pull Request #1562](https://github.com/planetmint/planetmint/pull/1562) +* The value of "version" inside a transaction must now be "1.0". (Before, it could be "0.anything".) [Pull Request #1574](https://github.com/planetmint/planetmint/pull/1574) ### Removed -* The `server.threads` configuration setting (for the Gunicorn HTTP server) was removed from the default set of Planetmint configuration settings. [Pull Request #1488](https://github.com/bigchaindb/bigchaindb/pull/1488) +* The `server.threads` configuration setting (for the Gunicorn HTTP server) was removed from the default set of Planetmint configuration settings. [Pull Request #1488](https://github.com/planetmint/planetmint/pull/1488) ### Fixed -* The `GET /api/v1/outputs` endpoint was failing for some transactions with threshold conditions. Fixed in [Pull Request #1450](https://github.com/bigchaindb/bigchaindb/pull/1450) +* The `GET /api/v1/outputs` endpoint was failing for some transactions with threshold conditions. Fixed in [Pull Request #1450](https://github.com/planetmint/planetmint/pull/1450) ### External Contributors -* @elopio - Pull Requests [#1415](https://github.com/bigchaindb/bigchaindb/pull/1415) and [#1491](https://github.com/bigchaindb/bigchaindb/pull/1491) -* @CsterKuroi - [Pull Request #1447](https://github.com/bigchaindb/bigchaindb/pull/1447) -* @tdsgit - [Pull Request #1512](https://github.com/bigchaindb/bigchaindb/pull/1512) -* @lavinasachdev3 - [Pull Request #1357](https://github.com/bigchaindb/bigchaindb/pull/1357) +* @elopio - Pull Requests [#1415](https://github.com/planetmint/planetmint/pull/1415) and [#1491](https://github.com/planetmint/planetmint/pull/1491) +* @CsterKuroi - [Pull Request #1447](https://github.com/planetmint/planetmint/pull/1447) +* @tdsgit - [Pull Request #1512](https://github.com/planetmint/planetmint/pull/1512) +* @lavinasachdev3 - [Pull Request #1357](https://github.com/planetmint/planetmint/pull/1357) ### Notes -* We dropped support for Python 3.4. [Pull Request #1564](https://github.com/bigchaindb/bigchaindb/pull/1564) +* We dropped support for Python 3.4. [Pull Request #1564](https://github.com/planetmint/planetmint/pull/1564) * There were many improvements to our Kubernetes-based production deployment template (and the associated documentaiton). -* There is now a [Planetmint Ruby driver](https://github.com/LicenseRocks/bigchaindb_ruby), created by @addywaddy at [license.rocks](https://github.com/bigchaindb/bigchaindb/pull/1437). -* The [Planetmint JavaScript driver](https://github.com/bigchaindb/js-bigchaindb-driver) was moved to a different GitHub repo and is now officially maintained by the Planetmint team. +* There is now a [Planetmint Ruby driver](https://github.com/LicenseRocks/planetmint_ruby), created by @addywaddy at [license.rocks](https://github.com/planetmint/planetmint/pull/1437). +* The [Planetmint JavaScript driver](https://github.com/planetmint/js-planetmint-driver) was moved to a different GitHub repo and is now officially maintained by the Planetmint team. * We continue to recommend using MongoDB. ## [0.10.3] - 2017-06-29 @@ -532,89 +532,89 @@ Tag name: v0.10.3 ## Fixed * Pin minor+ version of `cryptoconditions` to avoid upgrading to a non compatible version. -[commit 97268a5](https://github.com/bigchaindb/bigchaindb/commit/97268a577bf27942a87d8eb838f4816165c84fd5) +[commit 97268a5](https://github.com/planetmint/planetmint/commit/97268a577bf27942a87d8eb838f4816165c84fd5) ## [0.10.2] - 2017-05-16 Tag name: v0.10.2 ### Added * Add Cross Origin Resource Sharing (CORS) support for the HTTP API. - [Commit 6cb7596](https://github.com/bigchaindb/bigchaindb/commit/6cb75960b05403c77bdae0fd327612482589efcb) + [Commit 6cb7596](https://github.com/planetmint/planetmint/commit/6cb75960b05403c77bdae0fd327612482589efcb) ### Fixed * Fixed `streams_v1` API link in response to `GET /api/v1`. - [Pull Request #1466](https://github.com/bigchaindb/bigchaindb/pull/1466) + [Pull Request #1466](https://github.com/planetmint/planetmint/pull/1466) * Fixed mismatch between docs and implementation for `GET /blocks?status=` endpoint. The `status` query parameter is now case insensitive. - [Pull Request #1464](https://github.com/bigchaindb/bigchaindb/pull/1464) + [Pull Request #1464](https://github.com/planetmint/planetmint/pull/1464) ## [0.10.1] - 2017-04-19 Tag name: v0.10.1 ### Added -* Documentation for the Planetmint settings `wsserver.host` and `wsserver.port`. [Pull Request #1408](https://github.com/bigchaindb/bigchaindb/pull/1408) +* Documentation for the Planetmint settings `wsserver.host` and `wsserver.port`. [Pull Request #1408](https://github.com/planetmint/planetmint/pull/1408) ### Fixed -* Fixed `Dockerfile`, which was failing to build. It now starts `FROM python:3.6` (instead of `FROM ubuntu:xenial`). [Pull Request #1410](https://github.com/bigchaindb/bigchaindb/pull/1410) -* Fixed the `Makefile` so that `release` depends on `dist`. [Pull Request #1405](https://github.com/bigchaindb/bigchaindb/pull/1405) +* Fixed `Dockerfile`, which was failing to build. It now starts `FROM python:3.6` (instead of `FROM ubuntu:xenial`). [Pull Request #1410](https://github.com/planetmint/planetmint/pull/1410) +* Fixed the `Makefile` so that `release` depends on `dist`. [Pull Request #1405](https://github.com/planetmint/planetmint/pull/1405) ## [0.10.0] - 2017-04-18 Tag name: v0.10.0 ### Added -* Improved logging. Added logging to file. Added `--log-level` option to `bigchaindb start` command. Added new logging configuration settings. Pull Requests -[#1285](https://github.com/bigchaindb/bigchaindb/pull/1285), -[#1307](https://github.com/bigchaindb/bigchaindb/pull/1307), -[#1324](https://github.com/bigchaindb/bigchaindb/pull/1324), -[#1326](https://github.com/bigchaindb/bigchaindb/pull/1326), -[#1327](https://github.com/bigchaindb/bigchaindb/pull/1327), -[#1330](https://github.com/bigchaindb/bigchaindb/pull/1330), -[#1365](https://github.com/bigchaindb/bigchaindb/pull/1365), -[#1394](https://github.com/bigchaindb/bigchaindb/pull/1394), -[#1396](https://github.com/bigchaindb/bigchaindb/pull/1396), -[#1398](https://github.com/bigchaindb/bigchaindb/pull/1398) and -[#1402](https://github.com/bigchaindb/bigchaindb/pull/1402) +* Improved logging. Added logging to file. Added `--log-level` option to `planetmint start` command. Added new logging configuration settings. Pull Requests +[#1285](https://github.com/planetmint/planetmint/pull/1285), +[#1307](https://github.com/planetmint/planetmint/pull/1307), +[#1324](https://github.com/planetmint/planetmint/pull/1324), +[#1326](https://github.com/planetmint/planetmint/pull/1326), +[#1327](https://github.com/planetmint/planetmint/pull/1327), +[#1330](https://github.com/planetmint/planetmint/pull/1330), +[#1365](https://github.com/planetmint/planetmint/pull/1365), +[#1394](https://github.com/planetmint/planetmint/pull/1394), +[#1396](https://github.com/planetmint/planetmint/pull/1396), +[#1398](https://github.com/planetmint/planetmint/pull/1398) and +[#1402](https://github.com/planetmint/planetmint/pull/1402) * Events API using WebSocket protocol. Pull Requests -[#1086](https://github.com/bigchaindb/bigchaindb/pull/1086), -[#1347](https://github.com/bigchaindb/bigchaindb/pull/1347), -[#1349](https://github.com/bigchaindb/bigchaindb/pull/1349), -[#1356](https://github.com/bigchaindb/bigchaindb/pull/1356), -[#1368](https://github.com/bigchaindb/bigchaindb/pull/1368), -[#1401](https://github.com/bigchaindb/bigchaindb/pull/1401) and -[#1403](https://github.com/bigchaindb/bigchaindb/pull/1403) +[#1086](https://github.com/planetmint/planetmint/pull/1086), +[#1347](https://github.com/planetmint/planetmint/pull/1347), +[#1349](https://github.com/planetmint/planetmint/pull/1349), +[#1356](https://github.com/planetmint/planetmint/pull/1356), +[#1368](https://github.com/planetmint/planetmint/pull/1368), +[#1401](https://github.com/planetmint/planetmint/pull/1401) and +[#1403](https://github.com/planetmint/planetmint/pull/1403) * Initial support for using SSL with MongoDB (work in progress). Pull Requests -[#1299](https://github.com/bigchaindb/bigchaindb/pull/1299) and -[#1348](https://github.com/bigchaindb/bigchaindb/pull/1348) +[#1299](https://github.com/planetmint/planetmint/pull/1299) and +[#1348](https://github.com/planetmint/planetmint/pull/1348) ### Changed -* The main Planetmint Dockerfile (and its generated Docker image) now contains only Planetmint Server. (It used to contain both Planetmint Server and RethinkDB.) You must now run MongoDB or RethinkDB in a separate Docker container. [Pull Request #1174](https://github.com/bigchaindb/bigchaindb/pull/1174) -* Made separate schemas for CREATE and TRANSFER transactions. [Pull Request #1257](https://github.com/bigchaindb/bigchaindb/pull/1257) -* When signing transactions with threshold conditions, we now sign all subconditions for a public key. [Pull Request #1294](https://github.com/bigchaindb/bigchaindb/pull/1294) -* Many changes to the voting-related code, including how we validate votes and prevent duplicate votes by the same node. Pull Requests [#1215](https://github.com/bigchaindb/bigchaindb/pull/1215) and [#1258](https://github.com/bigchaindb/bigchaindb/pull/1258) +* The main Planetmint Dockerfile (and its generated Docker image) now contains only Planetmint Server. (It used to contain both Planetmint Server and RethinkDB.) You must now run MongoDB or RethinkDB in a separate Docker container. [Pull Request #1174](https://github.com/planetmint/planetmint/pull/1174) +* Made separate schemas for CREATE and TRANSFER transactions. [Pull Request #1257](https://github.com/planetmint/planetmint/pull/1257) +* When signing transactions with threshold conditions, we now sign all subconditions for a public key. [Pull Request #1294](https://github.com/planetmint/planetmint/pull/1294) +* Many changes to the voting-related code, including how we validate votes and prevent duplicate votes by the same node. Pull Requests [#1215](https://github.com/planetmint/planetmint/pull/1215) and [#1258](https://github.com/planetmint/planetmint/pull/1258) ### Removed -* Removed the `bigchaindb load` command. Pull Requests -[#1261](https://github.com/bigchaindb/bigchaindb/pull/1261), -[#1273](https://github.com/bigchaindb/bigchaindb/pull/1273) and -[#1301](https://github.com/bigchaindb/bigchaindb/pull/1301) -* Removed old `/speed-tests` and `/benchmarking-tests` directories. [Pull Request #1359](https://github.com/bigchaindb/bigchaindb/pull/1359) +* Removed the `planetmint load` command. Pull Requests +[#1261](https://github.com/planetmint/planetmint/pull/1261), +[#1273](https://github.com/planetmint/planetmint/pull/1273) and +[#1301](https://github.com/planetmint/planetmint/pull/1301) +* Removed old `/speed-tests` and `/benchmarking-tests` directories. [Pull Request #1359](https://github.com/planetmint/planetmint/pull/1359) ### Fixed -* Fixed the URL of the Planetmint docs returned by the HTTP API. [Pull Request #1178](https://github.com/bigchaindb/bigchaindb/pull/1178) -* Fixed the MongoDB changefeed: it wasn't reporting update operations. [Pull Request #1193](https://github.com/bigchaindb/bigchaindb/pull/1193) +* Fixed the URL of the Planetmint docs returned by the HTTP API. [Pull Request #1178](https://github.com/planetmint/planetmint/pull/1178) +* Fixed the MongoDB changefeed: it wasn't reporting update operations. [Pull Request #1193](https://github.com/planetmint/planetmint/pull/1193) * Fixed the block-creation process: it wasn't checking if the transaction was previously included in: - * a valid block. [Pull Request #1208](https://github.com/bigchaindb/bigchaindb/pull/1208) - * the block-under-construction. Pull Requests [#1237](https://github.com/bigchaindb/bigchaindb/issues/1237) and [#1377](https://github.com/bigchaindb/bigchaindb/issues/1377) + * a valid block. [Pull Request #1208](https://github.com/planetmint/planetmint/pull/1208) + * the block-under-construction. Pull Requests [#1237](https://github.com/planetmint/planetmint/issues/1237) and [#1377](https://github.com/planetmint/planetmint/issues/1377) ### External Contributors In alphabetical order by GitHub username: -* @anryko - [Pull Request #1277](https://github.com/bigchaindb/bigchaindb/pull/1277) -* @anujism - [Pull Request #1366](https://github.com/bigchaindb/bigchaindb/pull/1366) -* @jackric - [Pull Request #1365](https://github.com/bigchaindb/bigchaindb/pull/1365) -* @lavinasachdev3 - [Pull Request #1358](https://github.com/bigchaindb/bigchaindb/pull/1358) -* @morrme - [Pull Request #1340](https://github.com/bigchaindb/bigchaindb/pull/1340) -* @tomconte - [Pull Request #1299](https://github.com/bigchaindb/bigchaindb/pull/1299) -* @tymlez - Pull Requests [#1108](https://github.com/bigchaindb/bigchaindb/pull/1108) & [#1209](https://github.com/bigchaindb/bigchaindb/pull/1209) +* @anryko - [Pull Request #1277](https://github.com/planetmint/planetmint/pull/1277) +* @anujism - [Pull Request #1366](https://github.com/planetmint/planetmint/pull/1366) +* @jackric - [Pull Request #1365](https://github.com/planetmint/planetmint/pull/1365) +* @lavinasachdev3 - [Pull Request #1358](https://github.com/planetmint/planetmint/pull/1358) +* @morrme - [Pull Request #1340](https://github.com/planetmint/planetmint/pull/1340) +* @tomconte - [Pull Request #1299](https://github.com/planetmint/planetmint/pull/1299) +* @tymlez - Pull Requests [#1108](https://github.com/planetmint/planetmint/pull/1108) & [#1209](https://github.com/planetmint/planetmint/pull/1209) ### Notes * MongoDB is now the recommended database backend (not RethinkDB). @@ -645,7 +645,7 @@ Fixed HTTP API 500 error on `GET /outputs`: issues #1200 and #1231. Tag name: v0.9.2 ### Fixed -Pin `python-rapidjson` library in `setup.py` to prevent `bigchaindb`'s +Pin `python-rapidjson` library in `setup.py` to prevent `planetmint`'s installation to fail due to https://github.com/python-rapidjson/python-rapidjson/issues/62. @@ -653,7 +653,7 @@ https://github.com/python-rapidjson/python-rapidjson/issues/62. Tag name: v0.9.1 ### Fixed -* Fixed bug in how the transaction `VERSION` string was calculated from the Planetmint Server `__short_version__` string. [Pull Request #1160](https://github.com/bigchaindb/bigchaindb/pull/1160) +* Fixed bug in how the transaction `VERSION` string was calculated from the Planetmint Server `__short_version__` string. [Pull Request #1160](https://github.com/planetmint/planetmint/pull/1160) ## [0.9.0] - 2017-02-06 @@ -663,34 +663,34 @@ It has been more than two months since the v0.8.0 release, so there have been _m ### Added - Support for MongoDB as a backend database. -- Some configuration settings and `bigchaindb` command-line commands were added. In particular, one can specify the database backend (`rethinkdb` or `mongodb`). For MongoDB, one can specify the name of the replicaset. Also for MongoDB, there are new command-line commands to add and remove hosts from the replicaset. See [the Settings & CLI docs](https://docs.bigchaindb.com/projects/server/en/v0.9.0/server-reference/index.html). -- Transaction schema validation. The transaction schema is also used to auto-generate some docs. [Pull Request #880](https://github.com/bigchaindb/bigchaindb/pull/880) -- Vote schema validation. The vote schema is also used to auto-generate some docs. [Pull Request #865](https://github.com/bigchaindb/bigchaindb/pull/865) -- New `ENABLE_WEB_ADMIN` setting in the AWS deployment configuration file. [Pull Request #1015](https://github.com/bigchaindb/bigchaindb/pull/1015) +- Some configuration settings and `planetmint` command-line commands were added. In particular, one can specify the database backend (`rethinkdb` or `mongodb`). For MongoDB, one can specify the name of the replicaset. Also for MongoDB, there are new command-line commands to add and remove hosts from the replicaset. See [the Settings & CLI docs](https://docs.planetmint.com/projects/server/en/v0.9.0/server-reference/index.html). +- Transaction schema validation. The transaction schema is also used to auto-generate some docs. [Pull Request #880](https://github.com/planetmint/planetmint/pull/880) +- Vote schema validation. The vote schema is also used to auto-generate some docs. [Pull Request #865](https://github.com/planetmint/planetmint/pull/865) +- New `ENABLE_WEB_ADMIN` setting in the AWS deployment configuration file. [Pull Request #1015](https://github.com/planetmint/planetmint/pull/1015) ### Changed -- The transaction model has changed substantially. @libscott wrote a blog post about the changes and it will be published soon on [the Planetmint Blog](https://blog.bigchaindb.com/). Also, see [the docs about the transaction model](https://docs.bigchaindb.com/projects/server/en/v0.9.0/data-models/transaction-model.html). -- The HTTP API has changed substantially. @diminator wrote a blog post about the changes and it will be published soon on [the Planetmint Blog](https://blog.bigchaindb.com/). Also, see [the docs about the vote model](https://docs.bigchaindb.com/projects/server/en/v0.9.0/data-models/vote-model.html). +- The transaction model has changed substantially. @libscott wrote a blog post about the changes and it will be published soon on [the Planetmint Blog](https://blog.planetmint.com/). Also, see [the docs about the transaction model](https://docs.planetmint.com/projects/server/en/v0.9.0/data-models/transaction-model.html). +- The HTTP API has changed substantially. @diminator wrote a blog post about the changes and it will be published soon on [the Planetmint Blog](https://blog.planetmint.com/). Also, see [the docs about the vote model](https://docs.planetmint.com/projects/server/en/v0.9.0/data-models/vote-model.html). - All RethinkDB-specific database calls were replaced with abstract calls to a backend database. -- Some improvements to the Dockerfile, e.g. Pull Requests [#1011](https://github.com/bigchaindb/bigchaindb/pull/1011) and [#1121](https://github.com/bigchaindb/bigchaindb/pull/1121) +- Some improvements to the Dockerfile, e.g. Pull Requests [#1011](https://github.com/planetmint/planetmint/pull/1011) and [#1121](https://github.com/planetmint/planetmint/pull/1121) - Many improvements to the tests - We standardized on supporting Ubuntu 16.04 for now (but Planetmint Server also works on similar Linux distros). ### Removed -- `api_endpoint` was removed from the Planetmint configuration settings. (It was never used anyway.) [Pull Request #821](https://github.com/bigchaindb/bigchaindb/pull/821) -- Removed all remaining StatsD monitoring code, configuration settings, docs, etc. (We'll add another monitoring solution in the future.) [Pull Request #1138](https://github.com/bigchaindb/bigchaindb/pull/1138) +- `api_endpoint` was removed from the Planetmint configuration settings. (It was never used anyway.) [Pull Request #821](https://github.com/planetmint/planetmint/pull/821) +- Removed all remaining StatsD monitoring code, configuration settings, docs, etc. (We'll add another monitoring solution in the future.) [Pull Request #1138](https://github.com/planetmint/planetmint/pull/1138) ### Fixed -- Fixed a memory (RAM) overflow problem when under heavy load by bounding the size of the queue at the entrance to the block pipeline. [Pull Request #908](https://github.com/bigchaindb/bigchaindb/pull/908) -- Fixed some logic in block validation. [Pull Request #1130](https://github.com/bigchaindb/bigchaindb/pull/1130) +- Fixed a memory (RAM) overflow problem when under heavy load by bounding the size of the queue at the entrance to the block pipeline. [Pull Request #908](https://github.com/planetmint/planetmint/pull/908) +- Fixed some logic in block validation. [Pull Request #1130](https://github.com/planetmint/planetmint/pull/1130) ### External Contributors -- @amirelemam - [Pull Request #762](https://github.com/bigchaindb/bigchaindb/pull/762) (closed but used as the basis for [Pull Request #1074](https://github.com/bigchaindb/bigchaindb/pull/1074)) -- @utarl - [Pull Request #1019](https://github.com/bigchaindb/bigchaindb/pull/1019) +- @amirelemam - [Pull Request #762](https://github.com/planetmint/planetmint/pull/762) (closed but used as the basis for [Pull Request #1074](https://github.com/planetmint/planetmint/pull/1074)) +- @utarl - [Pull Request #1019](https://github.com/planetmint/planetmint/pull/1019) ### Notes - There were many additions and changes to the documentation. Fun fact: The JSON in the HTTP API docs is now auto-generated to be consistent with the current code. -- There's a draft spec for a Planetmint Event Stream API and we welcome your feedback. See [Pull Request #1086](https://github.com/bigchaindb/bigchaindb/pull/1086) +- There's a draft spec for a Planetmint Event Stream API and we welcome your feedback. See [Pull Request #1086](https://github.com/planetmint/planetmint/pull/1086) ## [0.8.2] - 2017-01-27 @@ -698,7 +698,7 @@ Tag name: v0.8.2 ### Fixed - Fix spend input twice in same transaction - (https://github.com/bigchaindb/bigchaindb/issues/1099). + (https://github.com/planetmint/planetmint/issues/1099). ## [0.8.1] - 2017-01-16 @@ -716,62 +716,62 @@ Tag name: v0.8.1 Tag name: v0.8.0 ### Added -- The big new thing in version 0.8.0 is support for divisible assets, i.e. assets like carrots or thumbtacks, where the initial CREATE transaction can register/create some amount (e.g. 542 carrots), the first TRANSFER transaction can split that amount across multiple owners, and so on. [Pull Request #794](https://github.com/bigchaindb/bigchaindb/pull/794) -- Wrote a formal schema for the JSON structure of transactions. [Pull Request #798](https://github.com/bigchaindb/bigchaindb/pull/798) -- New configuration parameter: `backlog_reassign_delay`. [Pull Request #883](https://github.com/bigchaindb/bigchaindb/pull/883) +- The big new thing in version 0.8.0 is support for divisible assets, i.e. assets like carrots or thumbtacks, where the initial CREATE transaction can register/create some amount (e.g. 542 carrots), the first TRANSFER transaction can split that amount across multiple owners, and so on. [Pull Request #794](https://github.com/planetmint/planetmint/pull/794) +- Wrote a formal schema for the JSON structure of transactions. [Pull Request #798](https://github.com/planetmint/planetmint/pull/798) +- New configuration parameter: `backlog_reassign_delay`. [Pull Request #883](https://github.com/planetmint/planetmint/pull/883) ### Changed -- CREATE transactions must now be signed by all `owners_before` (rather than by a federation node). [Pull Request #794](https://github.com/bigchaindb/bigchaindb/pull/794) -- The user-provided timestamp was removed from the transaction data model (schema). [Pull Request #817](https://github.com/bigchaindb/bigchaindb/pull/817) -- `get_transaction()` will now return a transaction from the backlog, even if there are copies of the transaction in invalid blocks. [Pull Request #793](https://github.com/bigchaindb/bigchaindb/pull/793) +- CREATE transactions must now be signed by all `owners_before` (rather than by a federation node). [Pull Request #794](https://github.com/planetmint/planetmint/pull/794) +- The user-provided timestamp was removed from the transaction data model (schema). [Pull Request #817](https://github.com/planetmint/planetmint/pull/817) +- `get_transaction()` will now return a transaction from the backlog, even if there are copies of the transaction in invalid blocks. [Pull Request #793](https://github.com/planetmint/planetmint/pull/793) - Several pull requests to introduce a generalized database interface, to move RethinkDB calls into a separate implementation of that interface, and to work on a new MongoDB implementation of that interface. Pull Requests -[#754](https://github.com/bigchaindb/bigchaindb/pull/754), -[#783](https://github.com/bigchaindb/bigchaindb/pull/783), -[#799](https://github.com/bigchaindb/bigchaindb/pull/799), -[#806](https://github.com/bigchaindb/bigchaindb/pull/806), -[#809](https://github.com/bigchaindb/bigchaindb/pull/809), -[#853](https://github.com/bigchaindb/bigchaindb/pull/853) -- Renamed "verifying key" to "public key". Renamed "signing key" to "private key". Renamed "vk" to "pk". [Pull Request #807](https://github.com/bigchaindb/bigchaindb/pull/807) -- `get_transaction_by_asset_id` now ignores invalid transactions. [Pull Request #810](https://github.com/bigchaindb/bigchaindb/pull/810) -- `get_transaction_by_metadata_id` now ignores invalid transactions. [Pull Request #811](https://github.com/bigchaindb/bigchaindb/pull/811) +[#754](https://github.com/planetmint/planetmint/pull/754), +[#783](https://github.com/planetmint/planetmint/pull/783), +[#799](https://github.com/planetmint/planetmint/pull/799), +[#806](https://github.com/planetmint/planetmint/pull/806), +[#809](https://github.com/planetmint/planetmint/pull/809), +[#853](https://github.com/planetmint/planetmint/pull/853) +- Renamed "verifying key" to "public key". Renamed "signing key" to "private key". Renamed "vk" to "pk". [Pull Request #807](https://github.com/planetmint/planetmint/pull/807) +- `get_transaction_by_asset_id` now ignores invalid transactions. [Pull Request #810](https://github.com/planetmint/planetmint/pull/810) +- `get_transaction_by_metadata_id` now ignores invalid transactions. [Pull Request #811](https://github.com/planetmint/planetmint/pull/811) - Updates to the configs and scripts for deploying a test network on AWS. The example config file deploys virtual machines running Ubuntu 16.04 now. Pull Requests -[#771](https://github.com/bigchaindb/bigchaindb/pull/771), -[#813](https://github.com/bigchaindb/bigchaindb/pull/813) -- Changed logging of transactions on block creation so now it just says the length of the list of transactions, rather than listing all the transactions. [Pull Request #861](https://github.com/bigchaindb/bigchaindb/pull/861) +[#771](https://github.com/planetmint/planetmint/pull/771), +[#813](https://github.com/planetmint/planetmint/pull/813) +- Changed logging of transactions on block creation so now it just says the length of the list of transactions, rather than listing all the transactions. [Pull Request #861](https://github.com/planetmint/planetmint/pull/861) ### Fixed -- Equality checks with AssetLinks. [Pull Request #825](https://github.com/bigchaindb/bigchaindb/pull/825) -- Bug in `bigchaindb load`. [Pull Request #824](https://github.com/bigchaindb/bigchaindb/pull/824) -- Two issues found with timestamp indexes. [Pull Request #816](https://github.com/bigchaindb/bigchaindb/pull/816) -- Hard-coded `backlog_reassign_delay`. [Pull Request #854](https://github.com/bigchaindb/bigchaindb/pull/854) -- Race condition in `test_stale_monitor.py`. [Pull Request #846](https://github.com/bigchaindb/bigchaindb/pull/846) -- When creating a signed vote, decode the vote signature to a `str`. [Pull Request #869](https://github.com/bigchaindb/bigchaindb/pull/869) -- Bug in AWS deployment scripts. Setting `BIND_HTTP_TO_LOCALHOST` to `False` didn't actually work. It does now. [Pull Request #870](https://github.com/bigchaindb/bigchaindb/pull/870) +- Equality checks with AssetLinks. [Pull Request #825](https://github.com/planetmint/planetmint/pull/825) +- Bug in `planetmint load`. [Pull Request #824](https://github.com/planetmint/planetmint/pull/824) +- Two issues found with timestamp indexes. [Pull Request #816](https://github.com/planetmint/planetmint/pull/816) +- Hard-coded `backlog_reassign_delay`. [Pull Request #854](https://github.com/planetmint/planetmint/pull/854) +- Race condition in `test_stale_monitor.py`. [Pull Request #846](https://github.com/planetmint/planetmint/pull/846) +- When creating a signed vote, decode the vote signature to a `str`. [Pull Request #869](https://github.com/planetmint/planetmint/pull/869) +- Bug in AWS deployment scripts. Setting `BIND_HTTP_TO_LOCALHOST` to `False` didn't actually work. It does now. [Pull Request #870](https://github.com/planetmint/planetmint/pull/870) ### External Contributors -- @najlachamseddine - [Pull Request #528](https://github.com/bigchaindb/bigchaindb/pull/528) -- @ChristianGaertner - [Pull Request #659](https://github.com/bigchaindb/bigchaindb/pull/659) -- @MinchinWeb - [Pull Request #695](https://github.com/bigchaindb/bigchaindb/pull/695) -- @ckeyer - [Pull Request #785](https://github.com/bigchaindb/bigchaindb/pull/785) +- @najlachamseddine - [Pull Request #528](https://github.com/planetmint/planetmint/pull/528) +- @ChristianGaertner - [Pull Request #659](https://github.com/planetmint/planetmint/pull/659) +- @MinchinWeb - [Pull Request #695](https://github.com/planetmint/planetmint/pull/695) +- @ckeyer - [Pull Request #785](https://github.com/planetmint/planetmint/pull/785) ### Notes - @ChristianGaertner added a Python style checker (Flake8) to Travis CI, so external contributors should be aware that the Python code in their pull requests will be checked. See [our Python Style Guide](PYTHON_STYLE_GUIDE.md). - Several additions and changes to the documentation, e.g. Pull Requests -[#690](https://github.com/bigchaindb/bigchaindb/pull/690), -[#764](https://github.com/bigchaindb/bigchaindb/pull/764), -[#766](https://github.com/bigchaindb/bigchaindb/pull/766), -[#769](https://github.com/bigchaindb/bigchaindb/pull/769), -[#777](https://github.com/bigchaindb/bigchaindb/pull/777), -[#800](https://github.com/bigchaindb/bigchaindb/pull/800), -[#801](https://github.com/bigchaindb/bigchaindb/pull/801), -[#802](https://github.com/bigchaindb/bigchaindb/pull/802), -[#803](https://github.com/bigchaindb/bigchaindb/pull/803), -[#819](https://github.com/bigchaindb/bigchaindb/pull/819), -[#827](https://github.com/bigchaindb/bigchaindb/pull/827), -[#859](https://github.com/bigchaindb/bigchaindb/pull/859), -[#872](https://github.com/bigchaindb/bigchaindb/pull/872), -[#882](https://github.com/bigchaindb/bigchaindb/pull/882), -[#883](https://github.com/bigchaindb/bigchaindb/pull/883) +[#690](https://github.com/planetmint/planetmint/pull/690), +[#764](https://github.com/planetmint/planetmint/pull/764), +[#766](https://github.com/planetmint/planetmint/pull/766), +[#769](https://github.com/planetmint/planetmint/pull/769), +[#777](https://github.com/planetmint/planetmint/pull/777), +[#800](https://github.com/planetmint/planetmint/pull/800), +[#801](https://github.com/planetmint/planetmint/pull/801), +[#802](https://github.com/planetmint/planetmint/pull/802), +[#803](https://github.com/planetmint/planetmint/pull/803), +[#819](https://github.com/planetmint/planetmint/pull/819), +[#827](https://github.com/planetmint/planetmint/pull/827), +[#859](https://github.com/planetmint/planetmint/pull/859), +[#872](https://github.com/planetmint/planetmint/pull/872), +[#882](https://github.com/planetmint/planetmint/pull/882), +[#883](https://github.com/planetmint/planetmint/pull/883) ## [0.7.0] - 2016-10-28 @@ -780,62 +780,62 @@ Tag name: v0.7.0 committed: Oct 28, 2016, 4:00 PM GMT+2 ### Added -- Stale transactions in the `backlog` table now get reassigned to another node (for inclusion in a new block): [Pull Request #359](https://github.com/bigchaindb/bigchaindb/pull/359) -- Many improvements to make the database connection more robust: [Pull Request #623](https://github.com/bigchaindb/bigchaindb/pull/623) -- The new `--dev-allow-temp-keypair` option on `bigchaindb start` will generate a temporary keypair if no keypair is found. The `Dockerfile` was updated to use this. [Pull Request #635](https://github.com/bigchaindb/bigchaindb/pull/635) +- Stale transactions in the `backlog` table now get reassigned to another node (for inclusion in a new block): [Pull Request #359](https://github.com/planetmint/planetmint/pull/359) +- Many improvements to make the database connection more robust: [Pull Request #623](https://github.com/planetmint/planetmint/pull/623) +- The new `--dev-allow-temp-keypair` option on `planetmint start` will generate a temporary keypair if no keypair is found. The `Dockerfile` was updated to use this. [Pull Request #635](https://github.com/planetmint/planetmint/pull/635) - The AWS deployment scripts now allow you to: - - specify the AWS security group as a configuration parameter: [Pull Request #620](https://github.com/bigchaindb/bigchaindb/pull/620) - - tell RethinkDB to bind HTTP to localhost (a more secure setup; now the default in the example config file): [Pull Request #666](https://github.com/bigchaindb/bigchaindb/pull/666) + - specify the AWS security group as a configuration parameter: [Pull Request #620](https://github.com/planetmint/planetmint/pull/620) + - tell RethinkDB to bind HTTP to localhost (a more secure setup; now the default in the example config file): [Pull Request #666](https://github.com/planetmint/planetmint/pull/666) ### Changed -- Integrated the new `Transaction` model. This was a **big** change; 49 files changed. [Pull Request #641](https://github.com/bigchaindb/bigchaindb/pull/641) -- Merged "common" code (used by Planetmint Server and the Python driver), which used to be in its own repository (`bigchaindb/bigchaindb-common`), into the main `bigchaindb/bigchaindb` repository (this one): [Pull Request #742](https://github.com/bigchaindb/bigchaindb/pull/742) -- Integrated the new digital asset model. This changed the data structure of a transaction and will make it easier to support divisible assets in the future. [Pull Request #680](https://github.com/bigchaindb/bigchaindb/pull/680) -- Transactions are now deleted from the `backlog` table _after_ a block containing them is written to the `bigchain` table: [Pull Request #609](https://github.com/bigchaindb/bigchaindb/pull/609) -- Changed the example AWS deployment configuration file: [Pull Request #665](https://github.com/bigchaindb/bigchaindb/pull/665) -- Support for version 0.5.0 of the `cryptoconditions` Python package. Note that this means you must now install `ffi.h` (e.g. `sudo apt-get install libffi-dev` on Ubuntu). See Pull Requests [#685](https://github.com/bigchaindb/bigchaindb/pull/685) and [#698](https://github.com/bigchaindb/bigchaindb/pull/698) -- Updated some database access code: Pull Requests [#676](https://github.com/bigchaindb/bigchaindb/pull/676) and [#701](https://github.com/bigchaindb/bigchaindb/pull/701) +- Integrated the new `Transaction` model. This was a **big** change; 49 files changed. [Pull Request #641](https://github.com/planetmint/planetmint/pull/641) +- Merged "common" code (used by Planetmint Server and the Python driver), which used to be in its own repository (`planetmint/planetmint-common`), into the main `planetmint/planetmint` repository (this one): [Pull Request #742](https://github.com/planetmint/planetmint/pull/742) +- Integrated the new digital asset model. This changed the data structure of a transaction and will make it easier to support divisible assets in the future. [Pull Request #680](https://github.com/planetmint/planetmint/pull/680) +- Transactions are now deleted from the `backlog` table _after_ a block containing them is written to the `bigchain` table: [Pull Request #609](https://github.com/planetmint/planetmint/pull/609) +- Changed the example AWS deployment configuration file: [Pull Request #665](https://github.com/planetmint/planetmint/pull/665) +- Support for version 0.5.0 of the `cryptoconditions` Python package. Note that this means you must now install `ffi.h` (e.g. `sudo apt-get install libffi-dev` on Ubuntu). See Pull Requests [#685](https://github.com/planetmint/planetmint/pull/685) and [#698](https://github.com/planetmint/planetmint/pull/698) +- Updated some database access code: Pull Requests [#676](https://github.com/planetmint/planetmint/pull/676) and [#701](https://github.com/planetmint/planetmint/pull/701) ### Fixed - Internally, when a transaction is in the `backlog` table, it carries some extra book-keeping fields: 1. an `assignment_timestamp` (i.e. the time when it was assigned to a node), which is used to determine if it has gone stale. 2. an `assignee`: the public key of the node it was assigned to. -- The `assignment_timestamp` wasn't removed before writing the transaction to a block. That was fixed in [Pull Request #627](https://github.com/bigchaindb/bigchaindb/pull/627) -- The `assignment_timestamp` and `assignee` weren't removed in the response to an HTTP API request sent to the `/api/v1/transactions/` endpoint. That was fixed in [Pull Request #646](https://github.com/bigchaindb/bigchaindb/pull/646) -- When validating a TRANSFER transaction, if any fulfillment refers to a transaction that's _not_ in a valid block, then the transaction isn't valid. This wasn't checked before but it is now. [Pull Request #629](https://github.com/bigchaindb/bigchaindb/pull/629) +- The `assignment_timestamp` wasn't removed before writing the transaction to a block. That was fixed in [Pull Request #627](https://github.com/planetmint/planetmint/pull/627) +- The `assignment_timestamp` and `assignee` weren't removed in the response to an HTTP API request sent to the `/api/v1/transactions/` endpoint. That was fixed in [Pull Request #646](https://github.com/planetmint/planetmint/pull/646) +- When validating a TRANSFER transaction, if any fulfillment refers to a transaction that's _not_ in a valid block, then the transaction isn't valid. This wasn't checked before but it is now. [Pull Request #629](https://github.com/planetmint/planetmint/pull/629) ### External Contributors -- @MinchinWeb - [Pull Request #696](https://github.com/bigchaindb/bigchaindb/pull/696) +- @MinchinWeb - [Pull Request #696](https://github.com/planetmint/planetmint/pull/696) ### Notes -- We made a small change to how we do version labeling. Going forward, we will have the version label set to 0.X.Y.dev in the master branch as we work on what will eventually be released as version 0.X.Y. The version number will only be changed to 0.X.Y just before the release. This version labeling scheme began with [Pull Request #752](https://github.com/bigchaindb/bigchaindb/pull/752) +- We made a small change to how we do version labeling. Going forward, we will have the version label set to 0.X.Y.dev in the master branch as we work on what will eventually be released as version 0.X.Y. The version number will only be changed to 0.X.Y just before the release. This version labeling scheme began with [Pull Request #752](https://github.com/planetmint/planetmint/pull/752) - Several additions and changes to the documentation, e.g. Pull Requests -[#618](https://github.com/bigchaindb/bigchaindb/pull/618), -[#621](https://github.com/bigchaindb/bigchaindb/pull/621), -[#625](https://github.com/bigchaindb/bigchaindb/pull/625), -[#645](https://github.com/bigchaindb/bigchaindb/pull/645), -[#647](https://github.com/bigchaindb/bigchaindb/pull/647), -[#648](https://github.com/bigchaindb/bigchaindb/pull/648), -[#650](https://github.com/bigchaindb/bigchaindb/pull/650), -[#651](https://github.com/bigchaindb/bigchaindb/pull/651), -[#653](https://github.com/bigchaindb/bigchaindb/pull/653), -[#655](https://github.com/bigchaindb/bigchaindb/pull/655), -[#656](https://github.com/bigchaindb/bigchaindb/pull/656), -[#657](https://github.com/bigchaindb/bigchaindb/pull/657), -[#667](https://github.com/bigchaindb/bigchaindb/pull/667), -[#668](https://github.com/bigchaindb/bigchaindb/pull/668), -[#669](https://github.com/bigchaindb/bigchaindb/pull/669), -[#673](https://github.com/bigchaindb/bigchaindb/pull/673), -[#678](https://github.com/bigchaindb/bigchaindb/pull/678), -[#684](https://github.com/bigchaindb/bigchaindb/pull/684), -[#688](https://github.com/bigchaindb/bigchaindb/pull/688), -[#699](https://github.com/bigchaindb/bigchaindb/pull/699), -[#705](https://github.com/bigchaindb/bigchaindb/pull/705), -[#737](https://github.com/bigchaindb/bigchaindb/pull/737), -[#748](https://github.com/bigchaindb/bigchaindb/pull/748), -[#753](https://github.com/bigchaindb/bigchaindb/pull/753), -[#757](https://github.com/bigchaindb/bigchaindb/pull/757), -[#759](https://github.com/bigchaindb/bigchaindb/pull/759), and more +[#618](https://github.com/planetmint/planetmint/pull/618), +[#621](https://github.com/planetmint/planetmint/pull/621), +[#625](https://github.com/planetmint/planetmint/pull/625), +[#645](https://github.com/planetmint/planetmint/pull/645), +[#647](https://github.com/planetmint/planetmint/pull/647), +[#648](https://github.com/planetmint/planetmint/pull/648), +[#650](https://github.com/planetmint/planetmint/pull/650), +[#651](https://github.com/planetmint/planetmint/pull/651), +[#653](https://github.com/planetmint/planetmint/pull/653), +[#655](https://github.com/planetmint/planetmint/pull/655), +[#656](https://github.com/planetmint/planetmint/pull/656), +[#657](https://github.com/planetmint/planetmint/pull/657), +[#667](https://github.com/planetmint/planetmint/pull/667), +[#668](https://github.com/planetmint/planetmint/pull/668), +[#669](https://github.com/planetmint/planetmint/pull/669), +[#673](https://github.com/planetmint/planetmint/pull/673), +[#678](https://github.com/planetmint/planetmint/pull/678), +[#684](https://github.com/planetmint/planetmint/pull/684), +[#688](https://github.com/planetmint/planetmint/pull/688), +[#699](https://github.com/planetmint/planetmint/pull/699), +[#705](https://github.com/planetmint/planetmint/pull/705), +[#737](https://github.com/planetmint/planetmint/pull/737), +[#748](https://github.com/planetmint/planetmint/pull/748), +[#753](https://github.com/planetmint/planetmint/pull/753), +[#757](https://github.com/planetmint/planetmint/pull/757), +[#759](https://github.com/planetmint/planetmint/pull/759), and more ## [0.6.0] - 2016-09-01 @@ -844,42 +844,42 @@ Tag name: v0.6.0 committed: Sep 1, 2016, 2:15 PM GMT+2 ### Added -- Support for multiple operations in the ChangeFeed class: [Pull Request #569](https://github.com/bigchaindb/bigchaindb/pull/569) +- Support for multiple operations in the ChangeFeed class: [Pull Request #569](https://github.com/planetmint/planetmint/pull/569) - Instructions, templates and code for deploying a starter node on AWS using Terraform and Ansible: Pull Requests -[#572](https://github.com/bigchaindb/bigchaindb/pull/572), -[#589](https://github.com/bigchaindb/bigchaindb/pull/589), -[#600](https://github.com/bigchaindb/bigchaindb/pull/600), -[#605](https://github.com/bigchaindb/bigchaindb/pull/605), -[#610](https://github.com/bigchaindb/bigchaindb/pull/610) -- Check that the majority of votes on a block agree on the previous block. If they don't, consider the block invalid. [Pull Request #565](https://github.com/bigchaindb/bigchaindb/pull/565) +[#572](https://github.com/planetmint/planetmint/pull/572), +[#589](https://github.com/planetmint/planetmint/pull/589), +[#600](https://github.com/planetmint/planetmint/pull/600), +[#605](https://github.com/planetmint/planetmint/pull/605), +[#610](https://github.com/planetmint/planetmint/pull/610) +- Check that the majority of votes on a block agree on the previous block. If they don't, consider the block invalid. [Pull Request #565](https://github.com/planetmint/planetmint/pull/565) ### Changed -- Set RethinkDB `read-mode='majority'` everywhere: [Pull Request #497](https://github.com/bigchaindb/bigchaindb/pull/497) -- Ported election logic and voting logic to the new pipeline architecture: Pull Requests [#510](https://github.com/bigchaindb/bigchaindb/pull/510) and [#515](https://github.com/bigchaindb/bigchaindb/pull/515) -- Moved the transaction (model) `version` inside the `transaction` (in the transaction data model): [Pull Request #518](https://github.com/bigchaindb/bigchaindb/pull/518) -- Changed how the Planetmint config file (JSON) gets written so it's easier for humans to read: [Pull Request #522](https://github.com/bigchaindb/bigchaindb/pull/522) -- Improved and expanded the GET/POST endpoints for transactions (in the HTTP API): [Pull Request #563](https://github.com/bigchaindb/bigchaindb/pull/563) -- Changed the AWS cluster deployment scripts so that the deployer now generates their keypair locally, rather than having Amazon do it: [Pull Request #567](https://github.com/bigchaindb/bigchaindb/pull/567) -- When a transaction is retrieved by `get_transaction`, a `validity` field is added with a value one of `valid`, `undecided`, or `backlog`: [Pull Request #574](https://github.com/bigchaindb/bigchaindb/pull/574) -- Renamed `current_owners` and `new_owners` (in the data models) to `owners_before` and `owners_after`, respectively (i.e. before/after *the transaction*): [Pull Request #578](https://github.com/bigchaindb/bigchaindb/pull/578) -- Use `flask_restful` and class-based views for realizing the HTTP API: [Pull Request #588](https://github.com/bigchaindb/bigchaindb/pull/588) +- Set RethinkDB `read-mode='majority'` everywhere: [Pull Request #497](https://github.com/planetmint/planetmint/pull/497) +- Ported election logic and voting logic to the new pipeline architecture: Pull Requests [#510](https://github.com/planetmint/planetmint/pull/510) and [#515](https://github.com/planetmint/planetmint/pull/515) +- Moved the transaction (model) `version` inside the `transaction` (in the transaction data model): [Pull Request #518](https://github.com/planetmint/planetmint/pull/518) +- Changed how the Planetmint config file (JSON) gets written so it's easier for humans to read: [Pull Request #522](https://github.com/planetmint/planetmint/pull/522) +- Improved and expanded the GET/POST endpoints for transactions (in the HTTP API): [Pull Request #563](https://github.com/planetmint/planetmint/pull/563) +- Changed the AWS cluster deployment scripts so that the deployer now generates their keypair locally, rather than having Amazon do it: [Pull Request #567](https://github.com/planetmint/planetmint/pull/567) +- When a transaction is retrieved by `get_transaction`, a `validity` field is added with a value one of `valid`, `undecided`, or `backlog`: [Pull Request #574](https://github.com/planetmint/planetmint/pull/574) +- Renamed `current_owners` and `new_owners` (in the data models) to `owners_before` and `owners_after`, respectively (i.e. before/after *the transaction*): [Pull Request #578](https://github.com/planetmint/planetmint/pull/578) +- Use `flask_restful` and class-based views for realizing the HTTP API: [Pull Request #588](https://github.com/planetmint/planetmint/pull/588) ### Fixed -- Fixed the confusing error message when there was a syntax error in the Planetmint config file: [Pull Request #531](https://github.com/bigchaindb/bigchaindb/pull/531) -- Fixed `write_transaction` so it no longer has the side effect of adding `assignee` to a transaction that is being processed: [Pull Request #606](https://github.com/bigchaindb/bigchaindb/pull/606) +- Fixed the confusing error message when there was a syntax error in the Planetmint config file: [Pull Request #531](https://github.com/planetmint/planetmint/pull/531) +- Fixed `write_transaction` so it no longer has the side effect of adding `assignee` to a transaction that is being processed: [Pull Request #606](https://github.com/planetmint/planetmint/pull/606) ### External Contributors -- @eladve - [Pull Request #518](https://github.com/bigchaindb/bigchaindb/pull/518) -- @d01phin - Pull Requests [#522](https://github.com/bigchaindb/bigchaindb/pull/522) and [#531](https://github.com/bigchaindb/bigchaindb/pull/531) -- @Kentoseth - [Pull Request #537](https://github.com/bigchaindb/bigchaindb/pull/537) +- @eladve - [Pull Request #518](https://github.com/planetmint/planetmint/pull/518) +- @d01phin - Pull Requests [#522](https://github.com/planetmint/planetmint/pull/522) and [#531](https://github.com/planetmint/planetmint/pull/531) +- @Kentoseth - [Pull Request #537](https://github.com/planetmint/planetmint/pull/537) ### Notes - Several additions and changes to the documentation, e.g. Pull Requests -[#523](https://github.com/bigchaindb/bigchaindb/pull/523), -[#532](https://github.com/bigchaindb/bigchaindb/pull/532), -[#537](https://github.com/bigchaindb/bigchaindb/pull/537), -[#539](https://github.com/bigchaindb/bigchaindb/pull/539), -[#610](https://github.com/bigchaindb/bigchaindb/pull/610), and more +[#523](https://github.com/planetmint/planetmint/pull/523), +[#532](https://github.com/planetmint/planetmint/pull/532), +[#537](https://github.com/planetmint/planetmint/pull/537), +[#539](https://github.com/planetmint/planetmint/pull/539), +[#610](https://github.com/planetmint/planetmint/pull/610), and more ## [0.5.1] - 2016-07-29 @@ -888,40 +888,40 @@ Tag name: v0.5.1 committed: Jul 29, 2016, 2:38 PM GMT+2 ### Added -- New third table, the 'votes' table: [Pull Request #379](https://github.com/bigchaindb/bigchaindb/pull/379) -- Added `get_tx_by_payload_uuid()` including index: [Pull Request #411](https://github.com/bigchaindb/bigchaindb/pull/411) -- Ability to deploy a test cluster on AWS using Amazon Elastic Block Store (EBS) for storage: [Pull Request #469](https://github.com/bigchaindb/bigchaindb/pull/469) -- Ability to add different-size payloads to transactions when filling the backlog for benchmarking: [Pull Request #273](https://github.com/bigchaindb/bigchaindb/pull/273) +- New third table, the 'votes' table: [Pull Request #379](https://github.com/planetmint/planetmint/pull/379) +- Added `get_tx_by_payload_uuid()` including index: [Pull Request #411](https://github.com/planetmint/planetmint/pull/411) +- Ability to deploy a test cluster on AWS using Amazon Elastic Block Store (EBS) for storage: [Pull Request #469](https://github.com/planetmint/planetmint/pull/469) +- Ability to add different-size payloads to transactions when filling the backlog for benchmarking: [Pull Request #273](https://github.com/planetmint/planetmint/pull/273) ### Changed -- Votes are no longer appended to the blocks inside the 'bigchain' table. They're now written to their own table, the 'votes' table: [Pull Request #379](https://github.com/bigchaindb/bigchaindb/pull/379) -- Refactored how blocks get constructed using the new approach to doing multiprocessing, using the `multipipes` package: [Pull Request #484](https://github.com/bigchaindb/bigchaindb/pull/484) -- Changed all queries to use `read_mode='majority'`: [Pull Request #497](https://github.com/bigchaindb/bigchaindb/pull/497) -- Revised how base software gets deployed on AWS instances: [Pull Request #478](https://github.com/bigchaindb/bigchaindb/pull/478) -- Refactored `db.utils.init()`: [Pull Request #471](https://github.com/bigchaindb/bigchaindb/pull/471) +- Votes are no longer appended to the blocks inside the 'bigchain' table. They're now written to their own table, the 'votes' table: [Pull Request #379](https://github.com/planetmint/planetmint/pull/379) +- Refactored how blocks get constructed using the new approach to doing multiprocessing, using the `multipipes` package: [Pull Request #484](https://github.com/planetmint/planetmint/pull/484) +- Changed all queries to use `read_mode='majority'`: [Pull Request #497](https://github.com/planetmint/planetmint/pull/497) +- Revised how base software gets deployed on AWS instances: [Pull Request #478](https://github.com/planetmint/planetmint/pull/478) +- Refactored `db.utils.init()`: [Pull Request #471](https://github.com/planetmint/planetmint/pull/471) ### External Contributors -- @shauns - [Pull Request #411](https://github.com/bigchaindb/bigchaindb/pull/411) -- @lonelypeanut - [Pull Request #479](https://github.com/bigchaindb/bigchaindb/pull/479) -- @lluminita - Pull Requests [#435](https://github.com/bigchaindb/bigchaindb/pull/435) & [#471](https://github.com/bigchaindb/bigchaindb/pull/471) +- @shauns - [Pull Request #411](https://github.com/planetmint/planetmint/pull/411) +- @lonelypeanut - [Pull Request #479](https://github.com/planetmint/planetmint/pull/479) +- @lluminita - Pull Requests [#435](https://github.com/planetmint/planetmint/pull/435) & [#471](https://github.com/planetmint/planetmint/pull/471) ### Notes - Several additions and changes to the documentation: Pull Requests -[#416](https://github.com/bigchaindb/bigchaindb/pull/416), -[#417](https://github.com/bigchaindb/bigchaindb/pull/417), -[#418](https://github.com/bigchaindb/bigchaindb/pull/418), -[#420](https://github.com/bigchaindb/bigchaindb/pull/420), -[#421](https://github.com/bigchaindb/bigchaindb/pull/421), -[#422](https://github.com/bigchaindb/bigchaindb/pull/422), -[#423](https://github.com/bigchaindb/bigchaindb/pull/423), -[#425](https://github.com/bigchaindb/bigchaindb/pull/425), -[#428](https://github.com/bigchaindb/bigchaindb/pull/428), -[#430](https://github.com/bigchaindb/bigchaindb/pull/430), -[#431](https://github.com/bigchaindb/bigchaindb/pull/431), -[#435](https://github.com/bigchaindb/bigchaindb/pull/435), -[#442](https://github.com/bigchaindb/bigchaindb/pull/442), -[#472](https://github.com/bigchaindb/bigchaindb/pull/472), -[#481](https://github.com/bigchaindb/bigchaindb/pull/481) +[#416](https://github.com/planetmint/planetmint/pull/416), +[#417](https://github.com/planetmint/planetmint/pull/417), +[#418](https://github.com/planetmint/planetmint/pull/418), +[#420](https://github.com/planetmint/planetmint/pull/420), +[#421](https://github.com/planetmint/planetmint/pull/421), +[#422](https://github.com/planetmint/planetmint/pull/422), +[#423](https://github.com/planetmint/planetmint/pull/423), +[#425](https://github.com/planetmint/planetmint/pull/425), +[#428](https://github.com/planetmint/planetmint/pull/428), +[#430](https://github.com/planetmint/planetmint/pull/430), +[#431](https://github.com/planetmint/planetmint/pull/431), +[#435](https://github.com/planetmint/planetmint/pull/435), +[#442](https://github.com/planetmint/planetmint/pull/442), +[#472](https://github.com/planetmint/planetmint/pull/472), +[#481](https://github.com/planetmint/planetmint/pull/481) ## [0.5.0] - 2016-07-04 @@ -930,23 +930,23 @@ Tag name: v0.5.0 committed: July 4, 2016, 1:07 PM GMT+2 ### Added -- New `bigchaindb set-replicas` subcommand: [Pull Request #392](https://github.com/bigchaindb/bigchaindb/pull/392) -- Informative JSON message when one makes a request to the root endpoint of the HTTP client-server API: [Pull Request #367](https://github.com/bigchaindb/bigchaindb/pull/367) -- Return HTTP response code 404 when a transaction is not found: [Pull Request #369](https://github.com/bigchaindb/bigchaindb/pull/369) +- New `planetmint set-replicas` subcommand: [Pull Request #392](https://github.com/planetmint/planetmint/pull/392) +- Informative JSON message when one makes a request to the root endpoint of the HTTP client-server API: [Pull Request #367](https://github.com/planetmint/planetmint/pull/367) +- Return HTTP response code 404 when a transaction is not found: [Pull Request #369](https://github.com/planetmint/planetmint/pull/369) ### Changed -- Changed the order in which configuration settings get their values. If a setting is set by an environment variable, then that value will be _the_ value, regardless of whether another value is set in a local config file. Also added a method to programattically update the config settings. [Pull Request #395](https://github.com/bigchaindb/bigchaindb/pull/395) -- Changed the definition of `util.sign_tx()`. It now has a third, optional argument: a Bigchain instance. [Pull Request #410](https://github.com/bigchaindb/bigchaindb/pull/410) +- Changed the order in which configuration settings get their values. If a setting is set by an environment variable, then that value will be _the_ value, regardless of whether another value is set in a local config file. Also added a method to programattically update the config settings. [Pull Request #395](https://github.com/planetmint/planetmint/pull/395) +- Changed the definition of `util.sign_tx()`. It now has a third, optional argument: a Bigchain instance. [Pull Request #410](https://github.com/planetmint/planetmint/pull/410) ### Notes - Several additions and changes to the documentation: Pull Requests -[#388](https://github.com/bigchaindb/bigchaindb/pull/388), -[#393](https://github.com/bigchaindb/bigchaindb/pull/393), -[#397](https://github.com/bigchaindb/bigchaindb/pull/397), -[#402](https://github.com/bigchaindb/bigchaindb/pull/402), -[#403](https://github.com/bigchaindb/bigchaindb/pull/403), -[#406](https://github.com/bigchaindb/bigchaindb/pull/406), -[#408](https://github.com/bigchaindb/bigchaindb/pull/408) +[#388](https://github.com/planetmint/planetmint/pull/388), +[#393](https://github.com/planetmint/planetmint/pull/393), +[#397](https://github.com/planetmint/planetmint/pull/397), +[#402](https://github.com/planetmint/planetmint/pull/402), +[#403](https://github.com/planetmint/planetmint/pull/403), +[#406](https://github.com/planetmint/planetmint/pull/406), +[#408](https://github.com/planetmint/planetmint/pull/408) ## [0.4.2] - 2016-06-15 @@ -955,11 +955,11 @@ Tag name: v0.4.2 committed: June 15, 2016, 1:42 PM GMT+2 ### Added -- Report the Planetmint version number when starting Planetmint: [Pull Request #385](https://github.com/bigchaindb/bigchaindb/pull/385) +- Report the Planetmint version number when starting Planetmint: [Pull Request #385](https://github.com/planetmint/planetmint/pull/385) ### Changed -- Round timestamps to a precision of one second, and replace payload hash with payload UUID in transactions: [Pull Request #384](https://github.com/bigchaindb/bigchaindb/pull/384) -- Updated cryptoconditions API usage: [Pull Request #373](https://github.com/bigchaindb/bigchaindb/pull/373) +- Round timestamps to a precision of one second, and replace payload hash with payload UUID in transactions: [Pull Request #384](https://github.com/planetmint/planetmint/pull/384) +- Updated cryptoconditions API usage: [Pull Request #373](https://github.com/planetmint/planetmint/pull/373) ## [0.4.1] - 2016-06-13 @@ -968,22 +968,22 @@ Tag name: v0.4.1 committed: June 13, 2016, 9:52 AM GMT+2 ### Added -- Revert `bigchain` deletes: [Pull Request #330](https://github.com/bigchaindb/bigchaindb/pull/330) +- Revert `bigchain` deletes: [Pull Request #330](https://github.com/planetmint/planetmint/pull/330) ### Changed -- Use inverted threshold condition instead of negative weights for escrow: [Pull Request #355](https://github.com/bigchaindb/bigchaindb/pull/355) +- Use inverted threshold condition instead of negative weights for escrow: [Pull Request #355](https://github.com/planetmint/planetmint/pull/355) ### Fixed -- Removed duplicate `pytest` in `setup.py`: [Pull Request #365](https://github.com/bigchaindb/bigchaindb/pull/365) +- Removed duplicate `pytest` in `setup.py`: [Pull Request #365](https://github.com/planetmint/planetmint/pull/365) ### Notes - There were several additions and changes to the documentation: Pull Requests -[#343](https://github.com/bigchaindb/bigchaindb/pull/343), -[#363](https://github.com/bigchaindb/bigchaindb/pull/363), -[#364](https://github.com/bigchaindb/bigchaindb/pull/364), -[#366](https://github.com/bigchaindb/bigchaindb/pull/366), -[#370](https://github.com/bigchaindb/bigchaindb/pull/370), -[#372](https://github.com/bigchaindb/bigchaindb/pull/372) +[#343](https://github.com/planetmint/planetmint/pull/343), +[#363](https://github.com/planetmint/planetmint/pull/363), +[#364](https://github.com/planetmint/planetmint/pull/364), +[#366](https://github.com/planetmint/planetmint/pull/366), +[#370](https://github.com/planetmint/planetmint/pull/370), +[#372](https://github.com/planetmint/planetmint/pull/372) ## [0.4.0] - 2016-05-27 @@ -992,32 +992,32 @@ Tag name: v0.4.0 committed: May 27, 2016, 1:42 PM GMT+2 ### Added -- Support for escrow (possible because of two other new things: cryptoconditions with inverters, and a timeout condition): [Pull Request #329](https://github.com/bigchaindb/bigchaindb/pull/329) -- Caching of calls to `load_consensus_plugin()`, using [`@lru_cache`](https://docs.python.org/3/library/functools.html#functools.lru_cache). This speeds up the instantiation of `Bigchain` objects and greatly improves overall performance. [Pull Request #271](https://github.com/bigchaindb/bigchaindb/pull/271) -- New `Dockerfile-dev` Docker file to make it easier for developers to _develop_ Planetmint with Docker. One can run all unit tests with Docker again. [Pull Request #313](https://github.com/bigchaindb/bigchaindb/pull/313) -- Transactions in invalid blocks are copied to the backlog: [Pull Request #221](https://github.com/bigchaindb/bigchaindb/pull/221). -- Queries to the bigchain table now ignore invalid blocks: [Pull Request #324](https://github.com/bigchaindb/bigchaindb/issues/324) -- Use secondary index on get_transaction: [Pull Request #324](https://github.com/bigchaindb/bigchaindb/issues/324) -- New `bigchaindb` command to set the number of RethinkDB shards (in both tables): [Pull Request #258](https://github.com/bigchaindb/bigchaindb/pull/258) -- Better handling of an outdated `setuptools`: [Pull Request #279](https://github.com/bigchaindb/bigchaindb/pull/279) +- Support for escrow (possible because of two other new things: cryptoconditions with inverters, and a timeout condition): [Pull Request #329](https://github.com/planetmint/planetmint/pull/329) +- Caching of calls to `load_consensus_plugin()`, using [`@lru_cache`](https://docs.python.org/3/library/functools.html#functools.lru_cache). This speeds up the instantiation of `Bigchain` objects and greatly improves overall performance. [Pull Request #271](https://github.com/planetmint/planetmint/pull/271) +- New `Dockerfile-dev` Docker file to make it easier for developers to _develop_ Planetmint with Docker. One can run all unit tests with Docker again. [Pull Request #313](https://github.com/planetmint/planetmint/pull/313) +- Transactions in invalid blocks are copied to the backlog: [Pull Request #221](https://github.com/planetmint/planetmint/pull/221). +- Queries to the bigchain table now ignore invalid blocks: [Pull Request #324](https://github.com/planetmint/planetmint/issues/324) +- Use secondary index on get_transaction: [Pull Request #324](https://github.com/planetmint/planetmint/issues/324) +- New `planetmint` command to set the number of RethinkDB shards (in both tables): [Pull Request #258](https://github.com/planetmint/planetmint/pull/258) +- Better handling of an outdated `setuptools`: [Pull Request #279](https://github.com/planetmint/planetmint/pull/279) ### Changed -- The block processes now use GroupProcess: [Pull Request #267](https://github.com/bigchaindb/bigchaindb/pull/267) -- Replaced the `json` Python package with `rapidjson` (a Python wrapper for a fast JSON parser/generator written in C++), to speed up JSON serialization and deserialization: [Pull Request #318](https://github.com/bigchaindb/bigchaindb/pull/318) -- Overhauled `ROADMAP.md` and moved it to [the bigchaindb/org repository](https://github.com/bigchaindb/org): Pull Requests -[#282](https://github.com/bigchaindb/bigchaindb/pull/282), -[#306](https://github.com/bigchaindb/bigchaindb/pull/306), -[#308](https://github.com/bigchaindb/bigchaindb/pull/308), -[#325](https://github.com/bigchaindb/bigchaindb/pull/325) -- AWS deployment has better support for [New Relic Server Monitoring](https://newrelic.com/server-monitoring): [Pull Request #316](https://github.com/bigchaindb/bigchaindb/pull/316) -- AWS deployment script now reads from a configuration file: [Pull Request #291](https://github.com/bigchaindb/bigchaindb/pull/291) -- AWS deployment script doesn't auto-start the Planetmint servers anymore: [Pull Request #257](https://github.com/bigchaindb/bigchaindb/pull/257) +- The block processes now use GroupProcess: [Pull Request #267](https://github.com/planetmint/planetmint/pull/267) +- Replaced the `json` Python package with `rapidjson` (a Python wrapper for a fast JSON parser/generator written in C++), to speed up JSON serialization and deserialization: [Pull Request #318](https://github.com/planetmint/planetmint/pull/318) +- Overhauled `ROADMAP.md` and moved it to [the planetmint/org repository](https://github.com/planetmint/org): Pull Requests +[#282](https://github.com/planetmint/planetmint/pull/282), +[#306](https://github.com/planetmint/planetmint/pull/306), +[#308](https://github.com/planetmint/planetmint/pull/308), +[#325](https://github.com/planetmint/planetmint/pull/325) +- AWS deployment has better support for [New Relic Server Monitoring](https://newrelic.com/server-monitoring): [Pull Request #316](https://github.com/planetmint/planetmint/pull/316) +- AWS deployment script now reads from a configuration file: [Pull Request #291](https://github.com/planetmint/planetmint/pull/291) +- AWS deployment script doesn't auto-start the Planetmint servers anymore: [Pull Request #257](https://github.com/planetmint/planetmint/pull/257) ### Fixed -- Bug related to transaction malleability: [Pull Request #281](https://github.com/bigchaindb/bigchaindb/pull/281) +- Bug related to transaction malleability: [Pull Request #281](https://github.com/planetmint/planetmint/pull/281) ### Notes -You can now see a big-picture view of all Planetmint repositories on [a waffle.io board](https://waffle.io/bigchaindb/org). +You can now see a big-picture view of all Planetmint repositories on [a waffle.io board](https://waffle.io/planetmint/org). ## [0.3.0] - 2016-05-03 @@ -1026,14 +1026,14 @@ Tag name: v0.3.0 committed: May 3, 2016, 11:52 AM GMT+2 ### Added -- Crypto-conditions specs according to the Interledger protocol: [Pull Request #174](https://github.com/bigchaindb/bigchaindb/pull/174) -- Added support for anonymous hashlocked conditions and fulfillments: [Pull Request #211](https://github.com/bigchaindb/bigchaindb/pull/211) +- Crypto-conditions specs according to the Interledger protocol: [Pull Request #174](https://github.com/planetmint/planetmint/pull/174) +- Added support for anonymous hashlocked conditions and fulfillments: [Pull Request #211](https://github.com/planetmint/planetmint/pull/211) ### Changed -- Several improvements to the AWS deployment scripts: [Pull Request #227](https://github.com/bigchaindb/bigchaindb/pull/227) +- Several improvements to the AWS deployment scripts: [Pull Request #227](https://github.com/planetmint/planetmint/pull/227) ### Fixed -- Bug related to block validation: [Pull Request #233](https://github.com/bigchaindb/bigchaindb/pull/233) +- Bug related to block validation: [Pull Request #233](https://github.com/planetmint/planetmint/pull/233) ### Notes This release completely refactored the structure of the transactions and broke compatibility with older versions @@ -1049,43 +1049,43 @@ Tag name: v0.2.0 committed: April 26, 2016, 11:09 AM GMT+2 ### Added -- Ability to use environment variables to set (or partially set) configuration settings: [Pull Request #153](https://github.com/bigchaindb/bigchaindb/pull/153) -- `bigchaindb --export-my-pubkey`: [Pull Request #186](https://github.com/bigchaindb/bigchaindb/pull/186) -- `bigchaindb --version`, and one central source for the current version (`version.py`): [Pull Request #208](https://github.com/bigchaindb/bigchaindb/pull/208) +- Ability to use environment variables to set (or partially set) configuration settings: [Pull Request #153](https://github.com/planetmint/planetmint/pull/153) +- `planetmint --export-my-pubkey`: [Pull Request #186](https://github.com/planetmint/planetmint/pull/186) +- `planetmint --version`, and one central source for the current version (`version.py`): [Pull Request #208](https://github.com/planetmint/planetmint/pull/208) - AWS deployment scripts: Pull Requests -[#160](https://github.com/bigchaindb/bigchaindb/pull/160), -[#166](https://github.com/bigchaindb/bigchaindb/pull/166), -[#172](https://github.com/bigchaindb/bigchaindb/pull/172), -[#203](https://github.com/bigchaindb/bigchaindb/pull/203) -- `codecov.yml`: [Pull Request #161](https://github.com/bigchaindb/bigchaindb/pull/161) -- `CHANGELOG.md` (this file): [Pull Request #117](https://github.com/bigchaindb/bigchaindb/pull/117) +[#160](https://github.com/planetmint/planetmint/pull/160), +[#166](https://github.com/planetmint/planetmint/pull/166), +[#172](https://github.com/planetmint/planetmint/pull/172), +[#203](https://github.com/planetmint/planetmint/pull/203) +- `codecov.yml`: [Pull Request #161](https://github.com/planetmint/planetmint/pull/161) +- `CHANGELOG.md` (this file): [Pull Request #117](https://github.com/planetmint/planetmint/pull/117) - Signatures using Ed25519: Pull Requests -[#138](https://github.com/bigchaindb/bigchaindb/pull/138), -[#152](https://github.com/bigchaindb/bigchaindb/pull/152) -- Multisig support: [Pull Request #107](https://github.com/bigchaindb/bigchaindb/pull/107) +[#138](https://github.com/planetmint/planetmint/pull/138), +[#152](https://github.com/planetmint/planetmint/pull/152) +- Multisig support: [Pull Request #107](https://github.com/planetmint/planetmint/pull/107) - HTTP Server & Web API: Pull Requests -[#102](https://github.com/bigchaindb/bigchaindb/pull/102), -[#150](https://github.com/bigchaindb/bigchaindb/pull/150), -[#155](https://github.com/bigchaindb/bigchaindb/pull/155), -[#183](https://github.com/bigchaindb/bigchaindb/pull/183) -- Python driver/SDK/API: [Pull Request #102](https://github.com/bigchaindb/bigchaindb/pull/102) -- Python Style Guide: [Pull Request #89](https://github.com/bigchaindb/bigchaindb/pull/89) +[#102](https://github.com/planetmint/planetmint/pull/102), +[#150](https://github.com/planetmint/planetmint/pull/150), +[#155](https://github.com/planetmint/planetmint/pull/155), +[#183](https://github.com/planetmint/planetmint/pull/183) +- Python driver/SDK/API: [Pull Request #102](https://github.com/planetmint/planetmint/pull/102) +- Python Style Guide: [Pull Request #89](https://github.com/planetmint/planetmint/pull/89) - Monitoring & dashboard tools: Pull Requests -[#72](https://github.com/bigchaindb/bigchaindb/pull/72), -[#181](https://github.com/bigchaindb/bigchaindb/pull/181) +[#72](https://github.com/planetmint/planetmint/pull/72), +[#181](https://github.com/planetmint/planetmint/pull/181) ### Changed -- Rewrote [`README.md`](README.md) into four sets of links: Pull Requests [#80](https://github.com/bigchaindb/bigchaindb/pull/80) and [#115](https://github.com/bigchaindb/bigchaindb/pull/115) +- Rewrote [`README.md`](README.md) into four sets of links: Pull Requests [#80](https://github.com/planetmint/planetmint/pull/80) and [#115](https://github.com/planetmint/planetmint/pull/115) ### Fixed -- Bug related to config overwrite: [Pull Request #97](https://github.com/bigchaindb/bigchaindb/pull/97) -- Bug related to running the `bigchaindb-benchmark load` on docker [Pull Request #225](https://github.com/bigchaindb/bigchaindb/pull/225) +- Bug related to config overwrite: [Pull Request #97](https://github.com/planetmint/planetmint/pull/97) +- Bug related to running the `planetmint-benchmark load` on docker [Pull Request #225](https://github.com/planetmint/planetmint/pull/225) ## External Contributors - [@thedoctor](https://github.com/thedoctor): Pull Requests -[#99](https://github.com/bigchaindb/bigchaindb/pull/99), -[#136](https://github.com/bigchaindb/bigchaindb/pull/136) -- [@roderik](https://github.com/roderik): [Pull Request #162](https://github.com/bigchaindb/bigchaindb/pull/162) +[#99](https://github.com/planetmint/planetmint/pull/99), +[#136](https://github.com/planetmint/planetmint/pull/136) +- [@roderik](https://github.com/roderik): [Pull Request #162](https://github.com/planetmint/planetmint/pull/162) ## [0.1.5] - 2016-04-20 @@ -1094,7 +1094,7 @@ Tag name: v0.1.5 committed: April 20, 2016, 3:31 PM GMT+2 ### Fixed -- [Issue #71](https://github.com/bigchaindb/bigchaindb/issues/71) (Voter is not validating blocks correctly when checking for double spends) in [Pull Request #76](https://github.com/bigchaindb/bigchaindb/pull/76) +- [Issue #71](https://github.com/planetmint/planetmint/issues/71) (Voter is not validating blocks correctly when checking for double spends) in [Pull Request #76](https://github.com/planetmint/planetmint/pull/76) ## [0.1.4] - 2016-02-22 @@ -1106,8 +1106,8 @@ committed: Feb 22, 2016, 11:51 AM GMT+1 - Added to `classifiers` to setup.py ### Changed -- Allow running pytest tests in parallel (using [xdist](http://pytest.org/latest/xdist.html)): [Pull Request #65](https://github.com/bigchaindb/bigchaindb/pull/65) -- Allow non-interactive first start: [Pull Request #64](https://github.com/bigchaindb/bigchaindb/pull/64) to resolve [Issue #58](https://github.com/bigchaindb/bigchaindb/issues/58) +- Allow running pytest tests in parallel (using [xdist](http://pytest.org/latest/xdist.html)): [Pull Request #65](https://github.com/planetmint/planetmint/pull/65) +- Allow non-interactive first start: [Pull Request #64](https://github.com/planetmint/planetmint/pull/64) to resolve [Issue #58](https://github.com/planetmint/planetmint/issues/58) ## [0.1.3] - 2016-02-16 @@ -1128,7 +1128,7 @@ committed Feb 15, 2016, 2:23 PM GMT+1 - Various tests ### Fixed -- Fix exception when running `start`: [Pull Request #32](https://github.com/bigchaindb/bigchaindb/pull/32) resolved [Issue #35] +- Fix exception when running `start`: [Pull Request #32](https://github.com/planetmint/planetmint/pull/32) resolved [Issue #35] ## [0.1.1] - 2016-02-15 Tag name: v0.1.1 @@ -1136,14 +1136,14 @@ Tag name: v0.1.1 committed Feb 15, 2016, 10:48 AM GMT+1 ### Added -- "release 0.1.1": [Pull Request #37](https://github.com/bigchaindb/bigchaindb/pull/37) +- "release 0.1.1": [Pull Request #37](https://github.com/planetmint/planetmint/pull/37) ### Removed -- `tox.ini` [Pull Request #18](https://github.com/bigchaindb/bigchaindb/pull/18) -- `requirements.txt` in the root directory, and the entire `requirements/` directory: [Pull Request #14](https://github.com/bigchaindb/bigchaindb/pull/14) +- `tox.ini` [Pull Request #18](https://github.com/planetmint/planetmint/pull/18) +- `requirements.txt` in the root directory, and the entire `requirements/` directory: [Pull Request #14](https://github.com/planetmint/planetmint/pull/14) ### Fixed -- Hotfix for AttributeError, fixed [Issue #27](https://github.com/bigchaindb/bigchaindb/issues/27) +- Hotfix for AttributeError, fixed [Issue #27](https://github.com/planetmint/planetmint/issues/27) ## [0.1.0] - 2016-02-10 @@ -1154,7 +1154,7 @@ committed Feb 10, 2016, 10:04 PM GMT+1 The first public release of Planetmint, including: - Initial Planetmint Server code, including many tests and some code for benchmarking. -- Initial documentation (in `bigchaindb/docs`). +- Initial documentation (in `planetmint/docs`). - Initial `README.md`, `ROADMAP.md`, `CODE_OF_CONDUCT.md`, and `CONTRIBUTING.md`. - Packaging for PyPI, including `setup.py` and `setup.cfg`. - Initial `Dockerfile` and `docker-compose.yml` (for deployment using Docker and Docker Compose). diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index bca9eab..5667f9d 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -42,7 +42,7 @@ This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Instances of abusive, harassing, or otherwise unacceptable behavior directed at yourself or another community member may be -reported by contacting a project maintainer at [contact@bigchaindb.com](mailto:contact@bigchaindb.com). All +reported by contacting a project maintainer at [contact@planetmint.com](mailto:contact@planetmint.com). All complaints will be reviewed and investigated and will result in a response that is appropriate to the circumstances. Maintainers are obligated to maintain confidentiality with regard to the reporter of an diff --git a/Dockerfile b/Dockerfile index 677aa1c..2d81f6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,12 +13,12 @@ RUN apt-get -qq update \ VOLUME ["/data", "/certs"] ENV PYTHONUNBUFFERED 0 -ENV PLANETMINT_CONFIG_PATH /data/.bigchaindb +ENV PLANETMINT_CONFIG_PATH /data/.planetmint ENV PLANETMINT_SERVER_BIND 0.0.0.0:9984 ENV PLANETMINT_WSSERVER_HOST 0.0.0.0 ENV PLANETMINT_WSSERVER_SCHEME ws ENV PLANETMINT_WSSERVER_ADVERTISED_HOST 0.0.0.0 ENV PLANETMINT_WSSERVER_ADVERTISED_SCHEME ws ENV PLANETMINT_WSSERVER_ADVERTISED_PORT 9985 -ENTRYPOINT ["bigchaindb"] +ENTRYPOINT ["planetmint"] CMD ["start"] diff --git a/Dockerfile-alpine b/Dockerfile-alpine index 6663deb..59da072 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -27,4 +27,4 @@ ENV PLANETMINT_WSSERVER_ADVERTISED_SCHEME ws ENV PLANETMINT_TENDERMINT_PORT 26657 ARG backend -RUN bigchaindb -y configure "$backend" \ No newline at end of file +RUN planetmint -y configure "$backend" \ No newline at end of file diff --git a/LICENSES.md b/LICENSES.md index 5dc2736..63608dd 100644 --- a/LICENSES.md +++ b/LICENSES.md @@ -5,8 +5,8 @@ For all the code and documentation in this repository, the copyright is owned by one or more of the following: - Planetmint GmbH -- A Planetmint contributor who agreed to a Planetmint Contributor License Agreement (CLA) with Planetmint GmbH. (See [BEP-16](https://github.com/bigchaindb/BEPs/tree/master/16).) -- A Planetmint contributor who signed off on the Developer Certificate of Origin (DCO) for all their contributions. (See [BEP-24](https://github.com/bigchaindb/BEPs/tree/master/24).) +- A Planetmint contributor who agreed to a Planetmint Contributor License Agreement (CLA) with Planetmint GmbH. (See [BEP-16](https://github.com/planetmint/BEPs/tree/master/16).) +- A Planetmint contributor who signed off on the Developer Certificate of Origin (DCO) for all their contributions. (See [BEP-24](https://github.com/planetmint/BEPs/tree/master/24).) - (Rarely, see the **Exceptions Section** below) A third pary who licensed the code in question under an open source license. ## Code Licenses diff --git a/PYTHON_STYLE_GUIDE.md b/PYTHON_STYLE_GUIDE.md index b84b40b..65ffaf3 100644 --- a/PYTHON_STYLE_GUIDE.md +++ b/PYTHON_STYLE_GUIDE.md @@ -16,7 +16,7 @@ Our starting point is [PEP8](https://www.python.org/dev/peps/pep-0008/), the sta Planetmint uses Python 3.5+, so you can ignore all PEP8 guidelines specific to Python 2. We use [pre-commit](http://pre-commit.com/) to check some of the rules below before every commit but not everything is realized yet. -The hooks we use can be found in the [.pre-commit-config.yaml](https://github.com/bigchaindb/bigchaindb/blob/master/.pre-commit-config.yaml) file. +The hooks we use can be found in the [.pre-commit-config.yaml](https://github.com/planetmint/planetmint/blob/master/.pre-commit-config.yaml) file. ### Python Docstrings @@ -86,12 +86,12 @@ we use the `format()` version. The [official Python documentation says](https:// We use [Flake8](http://flake8.pycqa.org/en/latest/index.html) to check our Python code style. Once you have it installed, you can run it using: ```text -flake8 --max-line-length 119 bigchaindb/ +flake8 --max-line-length 119 planetmint/ ``` ## Writing and Running (Python) Tests -The content of this section was moved to [`bigchaindb/tests/README.md`](https://github.com/bigchaindb/bigchaindb/blob/master/tests/README.md). +The content of this section was moved to [`planetmint/tests/README.md`](https://github.com/planetmint/planetmint/blob/master/tests/README.md). Note: We automatically run all tests on all pull requests (using Travis CI), so you should definitely run all tests locally before you submit a pull request. See the above-linked README file for instructions. diff --git a/README.md b/README.md index ac7b9b5..0745b0b 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,12 @@ Code is Apache-2.0 and docs are CC-BY-4.0 so show the latest GitHub release instead. ---> -[![Codecov branch](https://img.shields.io/codecov/c/github/bigchaindb/bigchaindb/master.svg)](https://codecov.io/github/bigchaindb/bigchaindb?branch=master) -[![Latest release](https://img.shields.io/github/release/bigchaindb/bigchaindb/all.svg)](https://github.com/bigchaindb/bigchaindb/releases) -[![Status on PyPI](https://img.shields.io/pypi/status/bigchaindb.svg)](https://pypi.org/project/Planetmint/) -[![Travis branch](https://img.shields.io/travis/bigchaindb/bigchaindb/master.svg)](https://travis-ci.com/bigchaindb/bigchaindb) -[![Documentation Status](https://readthedocs.org/projects/bigchaindb-server/badge/?version=latest)](https://docs.bigchaindb.com/projects/server/en/latest/) -[![Join the chat at https://gitter.im/bigchaindb/bigchaindb](https://badges.gitter.im/bigchaindb/bigchaindb.svg)](https://gitter.im/bigchaindb/bigchaindb?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Codecov branch](https://img.shields.io/codecov/c/github/planetmint/planetmint/master.svg)](https://codecov.io/github/planetmint/planetmint?branch=master) +[![Latest release](https://img.shields.io/github/release/planetmint/planetmint/all.svg)](https://github.com/planetmint/planetmint/releases) +[![Status on PyPI](https://img.shields.io/pypi/status/planetmint.svg)](https://pypi.org/project/Planetmint/) +[![Travis branch](https://img.shields.io/travis/planetmint/planetmint/master.svg)](https://travis-ci.com/planetmint/planetmint) +[![Documentation Status](https://readthedocs.org/projects/planetmint-server/badge/?version=latest)](https://docs.planetmint.com/projects/server/en/latest/) +[![Join the chat at https://gitter.im/planetmint/planetmint](https://badges.gitter.im/planetmint/planetmint.svg)](https://gitter.im/planetmint/planetmint?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) # Planetmint Server @@ -23,17 +23,17 @@ Planetmint is the blockchain database. This repository is for _BigchainDB Server ## The Basics -* [Try the Quickstart](https://docs.bigchaindb.com/projects/server/en/latest/quickstart.html) -* [Read the Planetmint 2.0 whitepaper](https://www.bigchaindb.com/whitepaper/) -* [Check out the _Hitchiker's Guide to BigchainDB_](https://www.bigchaindb.com/developers/guide/) +* [Try the Quickstart](https://docs.planetmint.com/projects/server/en/latest/quickstart.html) +* [Read the Planetmint 2.0 whitepaper](https://www.planetmint.com/whitepaper/) +* [Check out the _Hitchiker's Guide to BigchainDB_](https://www.planetmint.com/developers/guide/) ## Run and Test Planetmint Server from the `master` Branch Running and testing the latest version of Planetmint Server is easy. Make sure you have a recent version of [Docker Compose](https://docs.docker.com/compose/install/) installed. When you are ready, fire up a terminal and run: ```text -git clone https://github.com/bigchaindb/bigchaindb.git -cd bigchaindb +git clone https://github.com/planetmint/planetmint.git +cd planetmint make run ``` @@ -55,23 +55,23 @@ To view all commands available, run `make`. ## Links for Everyone -* [Planetmint.com](https://www.bigchaindb.com/) - the main Planetmint website, including newsletter signup -* [Roadmap](https://github.com/bigchaindb/org/blob/master/ROADMAP.md) -* [Blog](https://medium.com/the-bigchaindb-blog) +* [Planetmint.com](https://www.planetmint.com/) - the main Planetmint website, including newsletter signup +* [Roadmap](https://github.com/planetmint/org/blob/master/ROADMAP.md) +* [Blog](https://medium.com/the-planetmint-blog) * [Twitter](https://twitter.com/Planetmint) ## Links for Developers -* [All Planetmint Documentation](https://docs.bigchaindb.com/en/latest/) -* [Planetmint Server Documentation](https://docs.bigchaindb.com/projects/server/en/latest/index.html) +* [All Planetmint Documentation](https://docs.planetmint.com/en/latest/) +* [Planetmint Server Documentation](https://docs.planetmint.com/projects/server/en/latest/index.html) * [CONTRIBUTING.md](.github/CONTRIBUTING.md) - how to contribute * [Community guidelines](CODE_OF_CONDUCT.md) -* [Open issues](https://github.com/bigchaindb/bigchaindb/issues) -* [Open pull requests](https://github.com/bigchaindb/bigchaindb/pulls) -* [Gitter chatroom](https://gitter.im/bigchaindb/bigchaindb) +* [Open issues](https://github.com/planetmint/planetmint/issues) +* [Open pull requests](https://github.com/planetmint/planetmint/pulls) +* [Gitter chatroom](https://gitter.im/planetmint/planetmint) ## Legal * [Licenses](LICENSES.md) - open source & open content -* [Imprint](https://www.bigchaindb.com/imprint/) -* [Contact Us](https://www.bigchaindb.com/contact/) +* [Imprint](https://www.planetmint.com/imprint/) +* [Contact Us](https://www.planetmint.com/contact/) diff --git a/README_cn.md b/README_cn.md index 8385ace..8c1cb8c 100644 --- a/README_cn.md +++ b/README_cn.md @@ -10,12 +10,12 @@ Code is Apache-2.0 and docs are CC-BY-4.0 so show the latest GitHub release instead. ---> -[![Codecov branch](https://img.shields.io/codecov/c/github/bigchaindb/bigchaindb/master.svg)](https://codecov.io/github/bigchaindb/bigchaindb?branch=master) -[![Latest release](https://img.shields.io/github/release/bigchaindb/bigchaindb/all.svg)](https://github.com/bigchaindb/bigchaindb/releases) -[![Status on PyPI](https://img.shields.io/pypi/status/bigchaindb.svg)](https://pypi.org/project/Planetmint/) -[![Travis branch](https://img.shields.io/travis/bigchaindb/bigchaindb/master.svg)](https://travis-ci.com/bigchaindb/bigchaindb) -[![Documentation Status](https://readthedocs.org/projects/bigchaindb-server/badge/?version=latest)](https://docs.bigchaindb.com/projects/server/en/latest/) -[![Join the chat at https://gitter.im/bigchaindb/bigchaindb](https://badges.gitter.im/bigchaindb/bigchaindb.svg)](https://gitter.im/bigchaindb/bigchaindb?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Codecov branch](https://img.shields.io/codecov/c/github/planetmint/planetmint/master.svg)](https://codecov.io/github/planetmint/planetmint?branch=master) +[![Latest release](https://img.shields.io/github/release/planetmint/planetmint/all.svg)](https://github.com/planetmint/planetmint/releases) +[![Status on PyPI](https://img.shields.io/pypi/status/planetmint.svg)](https://pypi.org/project/Planetmint/) +[![Travis branch](https://img.shields.io/travis/planetmint/planetmint/master.svg)](https://travis-ci.com/planetmint/planetmint) +[![Documentation Status](https://readthedocs.org/projects/planetmint-server/badge/?version=latest)](https://docs.planetmint.com/projects/server/en/latest/) +[![Join the chat at https://gitter.im/planetmint/planetmint](https://badges.gitter.im/planetmint/planetmint.svg)](https://gitter.im/planetmint/planetmint?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) # Planetmint 服务器 @@ -23,17 +23,17 @@ Planetmint 是区块链数据库. 这是 _BigchainDB 服务器_ 的仓库. ## 基础知识 -* [尝试快速开始](https://docs.bigchaindb.com/projects/server/en/latest/quickstart.html) -* [阅读 Planetmint 2.0 白皮书](https://www.bigchaindb.com/whitepaper/) -* [查阅漫游指南](https://www.bigchaindb.com/developers/guide/) +* [尝试快速开始](https://docs.planetmint.com/projects/server/en/latest/quickstart.html) +* [阅读 Planetmint 2.0 白皮书](https://www.planetmint.com/whitepaper/) +* [查阅漫游指南](https://www.planetmint.com/developers/guide/) ## 运行和测试 `master` 分支的 Planetmint 服务器 运行和测试最新版本的 Planetmint 服务器非常简单. 确认你有安装最新版本的 [Docker Compose](https://docs.docker.com/compose/install/). 当你准备好了, 打开一个终端并运行: ```text -git clone https://github.com/bigchaindb/bigchaindb.git -cd bigchaindb +git clone https://github.com/planetmint/planetmint.git +cd planetmint make run ``` @@ -55,23 +55,23 @@ Planetmint 应该可以通过 `http://localhost:9984/` 访问. ## 一般人员链接 -* [Planetmint.com](https://www.bigchaindb.com/) - Planetmint 主网站, 包括新闻订阅 -* [路线图](https://github.com/bigchaindb/org/blob/master/ROADMAP.md) -* [博客](https://medium.com/the-bigchaindb-blog) +* [Planetmint.com](https://www.planetmint.com/) - Planetmint 主网站, 包括新闻订阅 +* [路线图](https://github.com/planetmint/org/blob/master/ROADMAP.md) +* [博客](https://medium.com/the-planetmint-blog) * [推特](https://twitter.com/Planetmint) ## 开发人员链接 -* [所有的 Planetmint 文档](https://docs.bigchaindb.com/en/latest/) -* [Planetmint 服务器 文档](https://docs.bigchaindb.com/projects/server/en/latest/index.html) +* [所有的 Planetmint 文档](https://docs.planetmint.com/en/latest/) +* [Planetmint 服务器 文档](https://docs.planetmint.com/projects/server/en/latest/index.html) * [CONTRIBUTING.md](.github/CONTRIBUTING.md) - how to contribute * [社区指南](CODE_OF_CONDUCT.md) -* [公开问题](https://github.com/bigchaindb/bigchaindb/issues) -* [公开的 pull request](https://github.com/bigchaindb/bigchaindb/pulls) -* [Gitter 聊天室](https://gitter.im/bigchaindb/bigchaindb) +* [公开问题](https://github.com/planetmint/planetmint/issues) +* [公开的 pull request](https://github.com/planetmint/planetmint/pulls) +* [Gitter 聊天室](https://gitter.im/planetmint/planetmint) ## 法律声明 * [许可](LICENSES.md) - 开源代码 & 开源内容 -* [印记](https://www.bigchaindb.com/imprint/) -* [联系我们](https://www.bigchaindb.com/contact/) +* [印记](https://www.planetmint.com/imprint/) +* [联系我们](https://www.planetmint.com/contact/) diff --git a/README_kor.md b/README_kor.md index c4f440f..2982e51 100644 --- a/README_kor.md +++ b/README_kor.md @@ -1,9 +1,9 @@ -[![Codecov branch](https://img.shields.io/codecov/c/github/bigchaindb/bigchaindb/master.svg)](https://codecov.io/github/bigchaindb/bigchaindb?branch=master) -[![Latest release](https://img.shields.io/github/release/bigchaindb/bigchaindb/all.svg)](https://github.com/bigchaindb/bigchaindb/releases) -[![Status on PyPI](https://img.shields.io/pypi/status/bigchaindb.svg)](https://pypi.org/project/Planetmint/) -[![Travis branch](https://img.shields.io/travis/bigchaindb/bigchaindb/master.svg)](https://travis-ci.org/bigchaindb/bigchaindb) -[![Documentation Status](https://readthedocs.org/projects/bigchaindb-server/badge/?version=latest)](https://docs.bigchaindb.com/projects/server/en/latest/) -[![Join the chat at https://gitter.im/bigchaindb/bigchaindb](https://badges.gitter.im/bigchaindb/bigchaindb.svg)](https://gitter.im/bigchaindb/bigchaindb?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Codecov branch](https://img.shields.io/codecov/c/github/planetmint/planetmint/master.svg)](https://codecov.io/github/planetmint/planetmint?branch=master) +[![Latest release](https://img.shields.io/github/release/planetmint/planetmint/all.svg)](https://github.com/planetmint/planetmint/releases) +[![Status on PyPI](https://img.shields.io/pypi/status/planetmint.svg)](https://pypi.org/project/Planetmint/) +[![Travis branch](https://img.shields.io/travis/planetmint/planetmint/master.svg)](https://travis-ci.org/planetmint/planetmint) +[![Documentation Status](https://readthedocs.org/projects/planetmint-server/badge/?version=latest)](https://docs.planetmint.com/projects/server/en/latest/) +[![Join the chat at https://gitter.im/planetmint/planetmint](https://badges.gitter.im/planetmint/planetmint.svg)](https://gitter.im/planetmint/planetmint?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) # Planetmint 서버 @@ -11,17 +11,17 @@ BigchaingDB는 블록체인 데이터베이스입니다. 이 저장소는 _Bigch ### 기본 사항 -* [빠른 시작 사용해보기](https://docs.bigchaindb.com/projects/server/en/latest/quickstart.html) -* [Planetmint 2.0 백서 읽기](https://www.bigchaindb.com/whitepaper/) -* [BigchainDB에 대한 _Hitchiker's Guide_를 확인십시오.](https://www.bigchaindb.com/developers/guide/) +* [빠른 시작 사용해보기](https://docs.planetmint.com/projects/server/en/latest/quickstart.html) +* [Planetmint 2.0 백서 읽기](https://www.planetmint.com/whitepaper/) +* [BigchainDB에 대한 _Hitchiker's Guide_를 확인십시오.](https://www.planetmint.com/developers/guide/) ### `master` Branch에서 Planetmint 서버 실행 및 테스트 BigchaingDB 서버의 최신 버전을 실행하고 테스트하는 것은 어렵지 않습니다. [Docker Compose](https://docs.docker.com/compose/install/)의 최신 버전이 설치되어 있는지 확인하십시오. 준비가 되었다면, 터미널에서 다음을 실행하십시오. ```text -git clone https://github.com/bigchaindb/bigchaindb.git -cd bigchaindb +git clone https://github.com/planetmint/planetmint.git +cd planetmint make run ``` @@ -43,23 +43,23 @@ make run ### 모두를 위한 링크들 -* [Planetmint.com ](https://www.bigchaindb.com/)- 뉴스 레터 가입을 포함하는 Planetmint 주요 웹 사이트 -* [로드맵](https://github.com/bigchaindb/org/blob/master/ROADMAP.md) -* [블로그](https://medium.com/the-bigchaindb-blog) +* [Planetmint.com ](https://www.planetmint.com/)- 뉴스 레터 가입을 포함하는 Planetmint 주요 웹 사이트 +* [로드맵](https://github.com/planetmint/org/blob/master/ROADMAP.md) +* [블로그](https://medium.com/the-planetmint-blog) * [트위터](https://twitter.com/Planetmint) ### 개발자들을 위한 링크들 -* [모든 Planetmint 문서](https://docs.bigchaindb.com/en/latest/) -* [Planetmint 서버 문서](https://docs.bigchaindb.com/projects/server/en/latest/index.html) -* [CONTRIBUTING.md](https://github.com/bigchaindb/bigchaindb/blob/master/.github/CONTRIBUTING.md) - 기여를 하는 방법 -* [커뮤니티 가이드라인](https://github.com/bigchaindb/bigchaindb/blob/master/CODE_OF_CONDUCT.md) -* [이슈 작성](https://github.com/bigchaindb/bigchaindb/issues) -* [pull request 하기](https://github.com/bigchaindb/bigchaindb/pulls) -* [Gitter 채팅방](https://gitter.im/bigchaindb/bigchaindb) +* [모든 Planetmint 문서](https://docs.planetmint.com/en/latest/) +* [Planetmint 서버 문서](https://docs.planetmint.com/projects/server/en/latest/index.html) +* [CONTRIBUTING.md](https://github.com/planetmint/planetmint/blob/master/.github/CONTRIBUTING.md) - 기여를 하는 방법 +* [커뮤니티 가이드라인](https://github.com/planetmint/planetmint/blob/master/CODE_OF_CONDUCT.md) +* [이슈 작성](https://github.com/planetmint/planetmint/issues) +* [pull request 하기](https://github.com/planetmint/planetmint/pulls) +* [Gitter 채팅방](https://gitter.im/planetmint/planetmint) ### 합법 -* [라이선스](https://github.com/bigchaindb/bigchaindb/blob/master/LICENSES.md) - 오픈 소스 & 오픈 콘텐츠 -* [발행](https://www.bigchaindb.com/imprint/) -* [연락처](https://www.bigchaindb.com/contact/) +* [라이선스](https://github.com/planetmint/planetmint/blob/master/LICENSES.md) - 오픈 소스 & 오픈 콘텐츠 +* [발행](https://www.planetmint.com/imprint/) +* [연락처](https://www.planetmint.com/contact/) diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md index 117e407..6abc4fe 100644 --- a/RELEASE_PROCESS.md +++ b/RELEASE_PROCESS.md @@ -25,7 +25,7 @@ to [regular semantic versioning](http://semver.org/), but there's no hyphen, e.g We use `0.9` and `0.9.0` as example version and short-version values below. You should replace those with the correct values for your new version. -We follow [BEP-1](https://github.com/bigchaindb/BEPs/tree/master/1), which is our variant of C4, the Collective Code Construction Contract, so a release is just a [tagged commit](https://git-scm.com/book/en/v2/Git-Basics-Tagging) on the `master` branch, i.e. a label for a particular Git commit. +We follow [BEP-1](https://github.com/planetmint/BEPs/tree/master/1), which is our variant of C4, the Collective Code Construction Contract, so a release is just a [tagged commit](https://git-scm.com/book/en/v2/Git-Basics-Tagging) on the `master` branch, i.e. a label for a particular Git commit. The following steps are what we do to release a new version of _BigchainDB Server_. The steps to release the Python Driver are similar but not the same. @@ -37,13 +37,13 @@ The following steps are what we do to release a new version of _BigchainDB Serve - Update all Docker image tags in all Kubernetes YAML files (in the `k8s/` directory). For example, in the files: - - `k8s/bigchaindb/bigchaindb-ss.yaml` and - - `k8s/dev-setup/bigchaindb.yaml` + - `k8s/planetmint/planetmint-ss.yaml` and + - `k8s/dev-setup/planetmint.yaml` - find the line of the form `image: bigchaindb/bigchaindb:0.8.1` and change the version number to the new version number, e.g. `0.9.0`. (This is the Docker image that Kubernetes should pull from Docker Hub.) + find the line of the form `image: planetmint/planetmint:0.8.1` and change the version number to the new version number, e.g. `0.9.0`. (This is the Docker image that Kubernetes should pull from Docker Hub.) Keep in mind that this is a _Docker image tag_ so our naming convention is a bit different; see Note 2 in the **Notes** section above. - - In `bigchaindb/version.py`: + - In `planetmint/version.py`: - update `__version__` to e.g. `0.9.0` (with no `.dev` on the end) - update `__short_version__` to e.g. `0.9` (with no `.dev` on the end) - In the docs about installing Planetmint (and Tendermint), and in the associated scripts, recommend/install a version of Tendermint that _actually works_ with the soon-to-be-released version of Planetmint. You can find all such references by doing a search for the previously-recommended version number, such as `0.31.5`. @@ -51,7 +51,7 @@ The following steps are what we do to release a new version of _BigchainDB Serve 2. **Wait for all the tests to pass!** 3. Merge the pull request into the `master` branch. -4. Go to the [bigchaindb/bigchaindb Releases page on GitHub](https://github.com/bigchaindb/bigchaindb/releases) +4. Go to the [planetmint/planetmint Releases page on GitHub](https://github.com/planetmint/planetmint/releases) and click the "Draft a new release" button. 5. Fill in the details: - **Tag version:** version number preceded by `v`, e.g. `v0.9.1` @@ -59,9 +59,9 @@ The following steps are what we do to release a new version of _BigchainDB Serve - **Title:** Same as tag version above, e.g `v0.9.1` - **Description:** The body of the changelog entry (Added, Changed, etc.) 6. Click "Publish release" to publish the release on GitHub. -7. On your local computer, make sure you're on the `master` branch and that it's up-to-date with the `master` branch in the bigchaindb/bigchaindb repository (e.g. `git pull upstream master`). We're going to use that to push a new `bigchaindb` package to PyPI. +7. On your local computer, make sure you're on the `master` branch and that it's up-to-date with the `master` branch in the planetmint/planetmint repository (e.g. `git pull upstream master`). We're going to use that to push a new `planetmint` package to PyPI. 8. Make sure you have a `~/.pypirc` file containing credentials for PyPI. -9. Do `make release` to build and publish the new `bigchaindb` package on PyPI. For this step you need to have `twine` installed. If you get an error like `Makefile:135: recipe for target 'clean-pyc' failed` then try doing +9. Do `make release` to build and publish the new `planetmint` package on PyPI. For this step you need to have `twine` installed. If you get an error like `Makefile:135: recipe for target 'clean-pyc' failed` then try doing ```text sudo chown -R $(whoami):$(whoami) . ``` @@ -80,8 +80,8 @@ The following steps are what we do to release a new version of _BigchainDB Serve 3. Scroll to the bottom of the page and click "Save". 11. Go to [Docker Hub](https://hub.docker.com/) and sign in, then: - Click on "Organizations" - - Click on "bigchaindb" - - Click on "bigchaindb/bigchaindb" + - Click on "planetmint" + - Click on "planetmint/planetmint" - Click on "Build Settings" - Find the row where "Docker Tag Name" equals `latest` and change the value of "Name" to the name (Git tag) diff --git a/ROADMAP.md b/ROADMAP.md index ba00fd0..17b95dc 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -7,8 +7,8 @@ Code is Apache-2.0 and docs are CC-BY-4.0 # Planetmint Roadmap -We moved the Planetmint Roadmap to the bigchaindb/org repository; see: +We moved the Planetmint Roadmap to the planetmint/org repository; see: -[https://github.com/bigchaindb/org/blob/master/ROADMAP.md](https://github.com/bigchaindb/org/blob/master/ROADMAP.md) +[https://github.com/planetmint/org/blob/master/ROADMAP.md](https://github.com/planetmint/org/blob/master/ROADMAP.md) (We kept this file here to avoid breaking some links.) diff --git a/acceptance/python/Dockerfile b/acceptance/python/Dockerfile index 144fe64..20740a7 100644 --- a/acceptance/python/Dockerfile +++ b/acceptance/python/Dockerfile @@ -5,5 +5,5 @@ RUN pip install --upgrade \ pycco \ websocket-client~=0.47.0 \ pytest~=3.0 \ - bigchaindb-driver~=0.6.2 \ + planetmint-driver~=0.6.2 \ blns diff --git a/acceptance/python/src/test_basic.py b/acceptance/python/src/test_basic.py index 263dc1b..5312717 100644 --- a/acceptance/python/src/test_basic.py +++ b/acceptance/python/src/test_basic.py @@ -16,7 +16,7 @@ # the remote system, and also checking the `outputs` of a given public key. # # This acceptance test is a rip-off of our -# [tutorial](https://docs.bigchaindb.com/projects/py-driver/en/latest/usage.html). +# [tutorial](https://docs.planetmint.com/projects/py-driver/en/latest/usage.html). # ## Imports # We need some utils from the `os` package, we will interact with @@ -24,7 +24,7 @@ import os # For this test case we import and use the Python Driver. -from bigchaindb_driver import BigchainDB +from bigchaindb_driver import Planetmint from bigchaindb_driver.crypto import generate_keypair @@ -34,7 +34,7 @@ def test_basic(): # connect to localhost, but you can override this value using the env variable # called `PLANETMINT_ENDPOINT`, a valid value must include the schema: # `https://example.com:9984` - bdb = BigchainDB(os.environ.get('PLANETMINT_ENDPOINT')) + bdb = Planetmint(os.environ.get('PLANETMINT_ENDPOINT')) # ## Create keypairs # This test requires the interaction between two actors with their own keypair. diff --git a/acceptance/python/src/test_divisible_asset.py b/acceptance/python/src/test_divisible_asset.py index d02ac2b..f8df966 100644 --- a/acceptance/python/src/test_divisible_asset.py +++ b/acceptance/python/src/test_divisible_asset.py @@ -17,7 +17,7 @@ # of a given transaction. # # This integration test is a rip-off of our -# [tutorial](https://docs.bigchaindb.com/projects/py-driver/en/latest/usage.html). +# [tutorial](https://docs.planetmint.com/projects/py-driver/en/latest/usage.html). # ## Imports # We need some utils from the `os` package, we will interact with @@ -29,7 +29,7 @@ import pytest from bigchaindb_driver.exceptions import BadRequest # For this test case we import and use the Python Driver. -from bigchaindb_driver import BigchainDB +from bigchaindb_driver import Planetmint from bigchaindb_driver.crypto import generate_keypair @@ -37,7 +37,7 @@ def test_divisible_assets(): # ## Set up a connection to Planetmint # Check [test_basic.py](./test_basic.html) to get some more details # about the endpoint. - bdb = BigchainDB(os.environ.get('PLANETMINT_ENDPOINT')) + bdb = Planetmint(os.environ.get('PLANETMINT_ENDPOINT')) # Oh look, it is Alice again and she brought her friend Bob along. alice, bob = generate_keypair(), generate_keypair() diff --git a/acceptance/python/src/test_double_spend.py b/acceptance/python/src/test_double_spend.py index 66a2467..8125d8e 100644 --- a/acceptance/python/src/test_double_spend.py +++ b/acceptance/python/src/test_double_spend.py @@ -12,12 +12,12 @@ from threading import Thread import queue import bigchaindb_driver.exceptions -from bigchaindb_driver import BigchainDB +from bigchaindb_driver import Planetmint from bigchaindb_driver.crypto import generate_keypair def test_double_create(): - bdb = BigchainDB(os.environ.get('PLANETMINT_ENDPOINT')) + bdb = Planetmint(os.environ.get('PLANETMINT_ENDPOINT')) alice = generate_keypair() results = queue.Queue() diff --git a/acceptance/python/src/test_multiple_owners.py b/acceptance/python/src/test_multiple_owners.py index f407c7d..13a3a87 100644 --- a/acceptance/python/src/test_multiple_owners.py +++ b/acceptance/python/src/test_multiple_owners.py @@ -17,7 +17,7 @@ # of a given transaction. # # This integration test is a rip-off of our -# [tutorial](https://docs.bigchaindb.com/projects/py-driver/en/latest/usage.html). +# [tutorial](https://docs.planetmint.com/projects/py-driver/en/latest/usage.html). # ## Imports # We need some utils from the `os` package, we will interact with @@ -25,7 +25,7 @@ import os # For this test case we import and use the Python Driver. -from bigchaindb_driver import BigchainDB +from bigchaindb_driver import Planetmint from bigchaindb_driver.crypto import generate_keypair @@ -33,7 +33,7 @@ def test_multiple_owners(): # ## Set up a connection to Planetmint # Check [test_basic.py](./test_basic.html) to get some more details # about the endpoint. - bdb = BigchainDB(os.environ.get('PLANETMINT_ENDPOINT')) + bdb = Planetmint(os.environ.get('PLANETMINT_ENDPOINT')) # Hey Alice and Bob, nice to see you again! alice, bob = generate_keypair(), generate_keypair() diff --git a/acceptance/python/src/test_naughty_strings.py b/acceptance/python/src/test_naughty_strings.py index f0e92d4..8d2aa45 100644 --- a/acceptance/python/src/test_naughty_strings.py +++ b/acceptance/python/src/test_naughty_strings.py @@ -24,7 +24,7 @@ from blns import blns import pytest # For this test case we import and use the Python Driver. -from bigchaindb_driver import BigchainDB +from bigchaindb_driver import Planetmint from bigchaindb_driver.crypto import generate_keypair from bigchaindb_driver.exceptions import BadRequest @@ -36,7 +36,7 @@ def send_naughty_tx(asset, metadata): # ## Set up a connection to Planetmint # Check [test_basic.py](./test_basic.html) to get some more details # about the endpoint. - bdb = BigchainDB(os.environ.get('PLANETMINT_ENDPOINT')) + bdb = Planetmint(os.environ.get('PLANETMINT_ENDPOINT')) # Here's Alice. alice = generate_keypair() diff --git a/acceptance/python/src/test_stream.py b/acceptance/python/src/test_stream.py index c82f43d..31690a4 100644 --- a/acceptance/python/src/test_stream.py +++ b/acceptance/python/src/test_stream.py @@ -27,7 +27,7 @@ from uuid import uuid4 # [websocket](https://github.com/websocket-client/websocket-client) module from websocket import create_connection -from bigchaindb_driver import BigchainDB +from bigchaindb_driver import Planetmint from bigchaindb_driver.crypto import generate_keypair @@ -40,7 +40,7 @@ def test_stream(): # *That's pretty bad, but let's do like this for now.* WS_ENDPOINT = 'ws://{}:9985/api/v1/streams/valid_transactions'.format(BDB_ENDPOINT.rsplit(':')[0]) - bdb = BigchainDB(BDB_ENDPOINT) + bdb = Planetmint(BDB_ENDPOINT) # Hello to Alice again, she is pretty active in those tests, good job # Alice! diff --git a/codecov.yml b/codecov.yml index 6966641..c7101a1 100644 --- a/codecov.yml +++ b/codecov.yml @@ -25,7 +25,7 @@ coverage: ignore: # files and folders that will be removed during processing - "docs/*" - "tests/*" - - "bigchaindb/version.py" + - "planetmint/version.py" - "k8s/*" comment: diff --git a/docs/README.md b/docs/README.md index 15c3175..3e3d0c7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -5,7 +5,7 @@ SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) Code is Apache-2.0 and docs are CC-BY-4.0 ---> -- [Documentation on ReadTheDocs](http://bigchaindb.readthedocs.org/) +- [Documentation on ReadTheDocs](http://planetmint.readthedocs.org/) - [Planetmint Upgrade Guides](upgrade-guides/) # The Planetmint Documentation Strategy diff --git a/docs/root/make.bat b/docs/root/make.bat index 7f41e02..f16aa07 100644 --- a/docs/root/make.bat +++ b/docs/root/make.bat @@ -127,9 +127,9 @@ if "%1" == "qthelp" ( echo. echo.Build finished; now you can run "qcollectiongenerator" with the ^ .qhcp project file in %BUILDDIR%/qthelp, like this: - echo.^> qcollectiongenerator %BUILDDIR%\qthelp\bigchaindb.qhcp + echo.^> qcollectiongenerator %BUILDDIR%\qthelp\planetmint.qhcp echo.To view the help file: - echo.^> assistant -collectionFile %BUILDDIR%\qthelp\bigchaindb.ghc + echo.^> assistant -collectionFile %BUILDDIR%\qthelp\planetmint.ghc goto end ) diff --git a/docs/root/source/about-bigchaindb.rst b/docs/root/source/about-bigchaindb.rst index d72bd64..d693992 100644 --- a/docs/root/source/about-bigchaindb.rst +++ b/docs/root/source/about-bigchaindb.rst @@ -35,7 +35,7 @@ Planetmint can store data of any kind, but it's designed to be particularly good .. note:: - We used the word "owners" somewhat loosely above. A more accurate word might be fulfillers, signers, controllers, or transfer-enablers. See the section titled **A Note about Owners** in the relevant `Planetmint Transactions Spec `_. + We used the word "owners" somewhat loosely above. A more accurate word might be fulfillers, signers, controllers, or transfer-enablers. See the section titled **A Note about Owners** in the relevant `Planetmint Transactions Spec `_. # Production-Ready? @@ -52,7 +52,7 @@ A system could store data off-chain, e.g. in a third-party database, document st - Keep track of who has read permissions (or other permissions) in a third-party system. An example of how this could be done is described below. - Keep a permanent record of all requests made to the third-party system. - Store hashes of documents-stored-elsewhere, so that a change in any document can be detected. -- Record all handshake-establishing requests and responses between two off-chain parties (e.g. a Diffie-Hellman key exchange), so as to prove that they established an encrypted tunnel (without giving readers access to that tunnel). There are more details about this idea in `the Privacy Protocols repository `_. +- Record all handshake-establishing requests and responses between two off-chain parties (e.g. a Diffie-Hellman key exchange), so as to prove that they established an encrypted tunnel (without giving readers access to that tunnel). There are more details about this idea in `the Privacy Protocols repository `_. A simple way to record who has read permission on a particular document would be for the third-party system (“DocPile”) to store a CREATE transaction in a Planetmint network for every document+user pair, to indicate that that user has read permissions for that document. The transaction could be signed by DocPile (or maybe by a document owner, as a variation). The asset data field would contain 1) the unique ID of the user and 2) the unique ID of the document. The one output on the CREATE transaction would only be transferable/spendable by DocPile (or, again, a document owner). diff --git a/docs/root/source/basic-usage.md b/docs/root/source/basic-usage.md index 62b5078..1d5f4ce 100644 --- a/docs/root/source/basic-usage.md +++ b/docs/root/source/basic-usage.md @@ -17,7 +17,7 @@ two kinds: CREATE transactions and TRANSFER transactions. You can view the transaction specifications in Github, which describe transaction components and the conditions they have to fulfill in order to be valid. -[Planetmint Transactions Specs](https://github.com/bigchaindb/BEPs/tree/master/13/) +[Planetmint Transactions Specs](https://github.com/planetmint/BEPs/tree/master/13/) ### CREATE Transactions @@ -44,7 +44,7 @@ Planetmint supports a variety of conditions. For details, see the section titled **Transaction Components: Conditions** in the relevant -[Planetmint Transactions Spec](https://github.com/bigchaindb/BEPs/tree/master/13/). +[Planetmint Transactions Spec](https://github.com/planetmint/BEPs/tree/master/13/). ![Example Planetmint CREATE transaction](./_static/CREATE_example.png) @@ -58,7 +58,7 @@ Loosely speaking, that list might be interpreted as the list of "owners." A more accurate word might be fulfillers, signers, controllers, or transfer-enablers. See the section titled **A Note about Owners** -in the relevant [Planetmint Transactions Spec](https://github.com/bigchaindb/BEPs/tree/master/13/). +in the relevant [Planetmint Transactions Spec](https://github.com/planetmint/BEPs/tree/master/13/). A CREATE transaction must be signed by all the owners. (If you're looking for that signature, @@ -120,7 +120,7 @@ of the outgoing paperclips (100). When a node is asked to check if a transaction is valid, it checks several things. We documented those things in a post on *The Planetmint Blog*: -["What is a Valid Transaction in Planetmint?"](https://blog.bigchaindb.com/what-is-a-valid-transaction-in-bigchaindb-9a1a075a9598) +["What is a Valid Transaction in Planetmint?"](https://blog.planetmint.com/what-is-a-valid-transaction-in-planetmint-9a1a075a9598) (Note: That post was about Planetmint Server v1.0.0.) ### Example Transactions diff --git a/docs/root/source/conf.py b/docs/root/source/conf.py index 24728ee..b4a419d 100644 --- a/docs/root/source/conf.py +++ b/docs/root/source/conf.py @@ -79,13 +79,13 @@ def get_old_new(url, old, new): filename = wget.download(url) rename(old, new) -get_old_new('https://raw.githubusercontent.com/bigchaindb/bigchaindb/master/CODE_OF_CONDUCT.md', +get_old_new('https://raw.githubusercontent.com/planetmint/planetmint/master/CODE_OF_CONDUCT.md', 'CODE_OF_CONDUCT.md', 'contributing/cross-project-policies/code-of-conduct.md') -get_old_new('https://raw.githubusercontent.com/bigchaindb/bigchaindb/master/RELEASE_PROCESS.md', +get_old_new('https://raw.githubusercontent.com/planetmint/planetmint/master/RELEASE_PROCESS.md', 'RELEASE_PROCESS.md', 'contributing/cross-project-policies/release-process.md') -get_old_new('https://raw.githubusercontent.com/bigchaindb/bigchaindb/master/PYTHON_STYLE_GUIDE.md', +get_old_new('https://raw.githubusercontent.com/planetmint/planetmint/master/PYTHON_STYLE_GUIDE.md', 'PYTHON_STYLE_GUIDE.md', 'contributing/cross-project-policies/python-style-guide.md') suppress_warnings = ['misc.highlighting_failure'] @@ -372,7 +372,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - (master_doc, 'bigchaindb', 'Planetmint Documentation', + (master_doc, 'planetmint', 'Planetmint Documentation', [author], 1) ] diff --git a/docs/root/source/contributing/cross-project-policies/code-of-conduct.md b/docs/root/source/contributing/cross-project-policies/code-of-conduct.md index 4dff95c..bca9eab 100644 --- a/docs/root/source/contributing/cross-project-policies/code-of-conduct.md +++ b/docs/root/source/contributing/cross-project-policies/code-of-conduct.md @@ -1,6 +1,6 @@ diff --git a/docs/root/source/contributing/cross-project-policies/python-style-guide.md b/docs/root/source/contributing/cross-project-policies/python-style-guide.md index 5cdb39b..b84b40b 100644 --- a/docs/root/source/contributing/cross-project-policies/python-style-guide.md +++ b/docs/root/source/contributing/cross-project-policies/python-style-guide.md @@ -1,6 +1,6 @@ @@ -13,7 +13,7 @@ This guide starts out with our general Python coding style guidelines and ends w Our starting point is [PEP8](https://www.python.org/dev/peps/pep-0008/), the standard "Style Guide for Python Code." Many Python IDEs will check your code against PEP8. (Note that PEP8 isn't frozen; it actually changes over time, but slowly.) -BigchainDB uses Python 3.5+, so you can ignore all PEP8 guidelines specific to Python 2. +Planetmint uses Python 3.5+, so you can ignore all PEP8 guidelines specific to Python 2. We use [pre-commit](http://pre-commit.com/) to check some of the rules below before every commit but not everything is realized yet. The hooks we use can be found in the [.pre-commit-config.yaml](https://github.com/bigchaindb/bigchaindb/blob/master/.pre-commit-config.yaml) file. @@ -30,7 +30,7 @@ PEP8 says some things about docstrings, but not what to put in them or how to st PEP8 has some [maximum line length guidelines](https://www.python.org/dev/peps/pep-0008/#id17), starting with "Limit all lines to a maximum of 79 characters" but "for flowing long blocks of text with fewer structural restrictions (docstrings or comments), the line length should be limited to 72 characters." -We discussed this at length, and it seems that the consensus is: _try_ to keep line lengths less than 79/72 characters, unless you have a special situation where longer lines would improve readability. (The basic reason is that 79/72 works for everyone, and BigchainDB is an open source project.) As a hard limit, keep all lines less than 119 characters (which is the width of GitHub code review). +We discussed this at length, and it seems that the consensus is: _try_ to keep line lengths less than 79/72 characters, unless you have a special situation where longer lines would improve readability. (The basic reason is that 79/72 works for everyone, and Planetmint is an open source project.) As a hard limit, keep all lines less than 119 characters (which is the width of GitHub code review). ### Single or Double Quotes? diff --git a/docs/root/source/contributing/cross-project-policies/release-process.md b/docs/root/source/contributing/cross-project-policies/release-process.md index 84e1924..117e407 100644 --- a/docs/root/source/contributing/cross-project-policies/release-process.md +++ b/docs/root/source/contributing/cross-project-policies/release-process.md @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ Code is Apache-2.0 and docs are CC-BY-4.0 ## Notes -BigchainDB follows +Planetmint follows [the Python form of Semantic Versioning](https://packaging.python.org/tutorials/distributing-packages/#choosing-a-versioning-scheme) (i.e. MAJOR.MINOR.PATCH), which is almost identical @@ -46,7 +46,7 @@ The following steps are what we do to release a new version of _BigchainDB Serve - In `bigchaindb/version.py`: - update `__version__` to e.g. `0.9.0` (with no `.dev` on the end) - update `__short_version__` to e.g. `0.9` (with no `.dev` on the end) - - In the docs about installing BigchainDB (and Tendermint), and in the associated scripts, recommend/install a version of Tendermint that _actually works_ with the soon-to-be-released version of BigchainDB. You can find all such references by doing a search for the previously-recommended version number, such as `0.31.5`. + - In the docs about installing Planetmint (and Tendermint), and in the associated scripts, recommend/install a version of Tendermint that _actually works_ with the soon-to-be-released version of Planetmint. You can find all such references by doing a search for the previously-recommended version number, such as `0.31.5`. - In `setup.py`, _maybe_ update the development status item in the `classifiers` list. For example, one allowed value is `"Development Status :: 5 - Production/Stable"`. The [allowed values are listed at pypi.python.org](https://pypi.python.org/pypi?%3Aaction=list_classifiers). 2. **Wait for all the tests to pass!** @@ -65,7 +65,7 @@ The following steps are what we do to release a new version of _BigchainDB Serve ```text sudo chown -R $(whoami):$(whoami) . ``` -10. [Log in to readthedocs.org](https://readthedocs.org/accounts/login/) and go to the **BigchainDB Server** project, then: +10. [Log in to readthedocs.org](https://readthedocs.org/accounts/login/) and go to the **Planetmint Server** project, then: - Click on "Builds", select "latest" from the drop-down menu, then click the "Build Version:" button. - Wait for the build of "latest" to finish. This can take a few minutes. - Go to Admin --> Advanced Settings @@ -98,4 +98,4 @@ The following steps are what we do to release a new version of _BigchainDB Serve - If the release is an Alpha, Beta or Release Candidate release, then click on the "Trigger" button for that tag as well. -Congratulations, you have released a new version of BigchainDB Server! +Congratulations, you have released a new version of Planetmint Server! diff --git a/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-dev-network-ansible.md b/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-dev-network-ansible.md index f98685f..ee1ccb6 100644 --- a/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-dev-network-ansible.md +++ b/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-dev-network-ansible.md @@ -25,7 +25,7 @@ Minimum resource requirements for a single node Planetmint dev setup. **The more ## Clone the Planetmint repository ```text -$ git clone https://github.com/bigchaindb/bigchaindb.git +$ git clone https://github.com/planetmint/planetmint.git ``` ## Install dependencies @@ -33,28 +33,28 @@ $ git clone https://github.com/bigchaindb/bigchaindb.git You can also install `ansible` and other dependencies, if any, using the `boostrap.sh` script inside the Planetmint repository. -Navigate to `bigchaindb/pkg/scripts` and run the `bootstrap.sh` script to install the dependencies +Navigate to `planetmint/pkg/scripts` and run the `bootstrap.sh` script to install the dependencies for your OS. The script also checks if the OS you are running is compatible with the supported versions. **Note**: `bootstrap.sh` only supports Ubuntu >= 16.04, CentOS >= 7 and Fedora >=24 and MacOSX. ```text -$ cd bigchaindb/pkg/scripts/ +$ cd planetmint/pkg/scripts/ $ bash bootstrap.sh --operation install ``` ### Planetmint Setup Configuration(s) #### Local Setup -You can run the Ansible playbook `bigchaindb-start.yml` on your local dev machine and set up the Planetmint node where +You can run the Ansible playbook `planetmint-start.yml` on your local dev machine and set up the Planetmint node where Planetmint can be run as a process or inside a Docker container(s) depending on your configuration. Before, running the playbook locally, you need to update the `hosts` and `stack-config.yml` configuration, which will notify Ansible that we need to run the play locally. ##### Update Hosts -Navigate to `bigchaindb/pkg/configuration/hosts` inside the Planetmint repository. +Navigate to `planetmint/pkg/configuration/hosts` inside the Planetmint repository. ```text -$ cd bigchaindb/pkg/configuration/hosts +$ cd planetmint/pkg/configuration/hosts ``` Edit `all` configuration file: @@ -64,9 +64,9 @@ Edit `all` configuration file: ansible_connection=local ``` ##### Update Configuration -Navigate to `bigchaindb/pkg/configuration/vars` inside the Planetmint repository. +Navigate to `planetmint/pkg/configuration/vars` inside the Planetmint repository. ```text -$ cd bigchaindb/pkg/configuration/vars/stack-config.yml +$ cd planetmint/pkg/configuration/vars/stack-config.yml ``` Edit `bdb-config.yml` configuration file as per your requirements, sample configuration file(s): @@ -84,30 +84,30 @@ stack_type: "1" ``` ### Planetmint Setup -Now, You can safely run the `bigchaindb-start.yml` playbook and everything will be taken care of by `Ansible`. To run the playbook please navigate to the `bigchaindb/pkg/configuration` directory inside the Planetmint repository and run the `bigchaindb-start.yml` playbook. +Now, You can safely run the `planetmint-start.yml` playbook and everything will be taken care of by `Ansible`. To run the playbook please navigate to the `planetmint/pkg/configuration` directory inside the Planetmint repository and run the `planetmint-start.yml` playbook. ```text -$ cd bigchaindb/pkg/configuration/ +$ cd planetmint/pkg/configuration/ -$ ansible-playbook bigchaindb-start.yml -i hosts/all --extra-vars "operation=start home_path=$(pwd)" +$ ansible-playbook planetmint-start.yml -i hosts/all --extra-vars "operation=start home_path=$(pwd)" ``` After successful execution of the playbook, you can verify that Planetmint docker(s)/process(es) is(are) running. Verify Planetmint process(es): ```text -$ ps -ef | grep bigchaindb +$ ps -ef | grep planetmint ``` OR Verify Planetmint Docker(s): ```text -$ docker ps | grep bigchaindb +$ docker ps | grep planetmint ``` You can now send transactions and verify the functionality of your Planetmint node. -See the [Planetmint Python Driver documentation](https://docs.bigchaindb.com/projects/py-driver/en/latest/index.html) +See the [Planetmint Python Driver documentation](https://docs.planetmint.com/projects/py-driver/en/latest/index.html) for details on how to use it. **Note**: The `bdb_root_url` can be be one of the following: @@ -121,19 +121,19 @@ OR bdb_root_url = http://: ``` -**Note**: Planetmint has [other drivers as well](http://docs.bigchaindb.com/projects/server/en/latest/drivers-clients/index.html). +**Note**: Planetmint has [other drivers as well](http://docs.planetmint.com/projects/server/en/latest/drivers-clients/index.html). ### Experimental: Running Ansible a Remote Dev/Host #### Remote Setup -You can also run the Ansible playbook `bigchaindb-start.yml` on remote machine(s) and set up the Planetmint node where +You can also run the Ansible playbook `planetmint-start.yml` on remote machine(s) and set up the Planetmint node where Planetmint can run as a process or inside a Docker container(s) depending on your configuration. Before, running the playbook on a remote host, you need to update the `hosts` and `stack-config.yml` configuration, which will notify Ansible that we need to run the play on a remote host. ##### Update Remote Hosts -Navigate to `bigchaindb/pkg/configuration/hosts` inside the Planetmint repository. +Navigate to `planetmint/pkg/configuration/hosts` inside the Planetmint repository. ```text -$ cd bigchaindb/pkg/configuration/hosts +$ cd planetmint/pkg/configuration/hosts ``` Edit `all` configuration file: @@ -148,9 +148,9 @@ Edit `all` configuration file: please consult [Ansible Documentation](http://docs.ansible.com/ansible/latest/intro_getting_started.html). ##### Update Remote Configuration -Navigate to `bigchaindb/pkg/configuration/vars` inside the Planetmint repository. +Navigate to `planetmint/pkg/configuration/vars` inside the Planetmint repository. ```text -$ cd bigchaindb/pkg/configuration/vars/stack-config.yml +$ cd planetmint/pkg/configuration/vars/stack-config.yml ``` Edit `stack-config.yml` configuration file as per your requirements, sample configuration file(s): @@ -167,4 +167,4 @@ stack_type: "local" stack_type: "1" ``` -After, the configuration of remote hosts, [run the Ansible playbook and verify your deployment](#bigchaindb-setup-ansible). +After, the configuration of remote hosts, [run the Ansible playbook and verify your deployment](#planetmint-setup-ansible). diff --git a/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-dev-network-stack.md b/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-dev-network-stack.md index 8b2e7b6..e5e9c37 100644 --- a/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-dev-network-stack.md +++ b/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-dev-network-stack.md @@ -26,20 +26,20 @@ Minimum resource requirements for a single node Planetmint dev setup. **The more ## Download the scripts > **Note**: If you're working on Planetmint Server code, on a branch based on > recent code, then you already have local recent versions of *stack.sh* and -> *unstack.sh* in your bigchaindb/pkg/scripts/ directory. Otherwise you can +> *unstack.sh* in your planetmint/pkg/scripts/ directory. Otherwise you can > get them using: ```text $ export GIT_BRANCH=master -$ curl -fOL https://raw.githubusercontent.com/bigchaindb/bigchaindb/${GIT_BRANCH}/pkg/scripts/stack.sh +$ curl -fOL https://raw.githubusercontent.com/planetmint/planetmint/${GIT_BRANCH}/pkg/scripts/stack.sh # Optional -$ curl -fOL https://raw.githubusercontent.com/bigchaindb/bigchaindb/${GIT_BRANCH}/pkg/scripts/unstack.sh +$ curl -fOL https://raw.githubusercontent.com/planetmint/planetmint/${GIT_BRANCH}/pkg/scripts/unstack.sh ``` ## Quick Start If you run `stack.sh` out of the box i.e. without any configuration changes, you will be able to deploy a 4 node -Planetmint network with Docker containers, created from `master` branch of `bigchaindb/bigchaindb` repo and Tendermint version `0.22.8`. +Planetmint network with Docker containers, created from `master` branch of `planetmint/planetmint` repo and Tendermint version `0.22.8`. **Note**: Run `stack.sh` with either root or non-root user with sudo enabled. @@ -89,11 +89,11 @@ $ bash stack.sh -h of the instance(s) spawned. (default: ubuntu/xenial64) ENV[STACK_REPO] - (Optional) To configure bigchaindb repo to use, set STACK_REPO environment - variable. (default: bigchaindb/bigchaindb) + (Optional) To configure planetmint repo to use, set STACK_REPO environment + variable. (default: planetmint/planetmint) ENV[STACK_BRANCH] - (Optional) To configure bigchaindb repo branch to use set STACK_BRANCH environment + (Optional) To configure planetmint repo branch to use set STACK_BRANCH environment variable. (default: master) ENV[TM_VERSION] @@ -171,8 +171,8 @@ $ export STACK_SIZE=4 $ export STACK_TYPE=docker #Optional, repo to use for the network deployment -# Default: bigchaindb/bigchaindb -$ export STACK_REPO=bigchaindb/bigchaindb +# Default: planetmint/planetmint +$ export STACK_REPO=planetmint/planetmint #Optional, codebase to use for the network deployment # Default: master @@ -222,8 +222,8 @@ $ export STACK_VM_CPUS=1 $ export STACK_BOX_NAME=ubuntu/xenial64 #Optional, repo to use for the network deployment -# Default: bigchaindb/bigchaindb -$ export STACK_REPO=bigchaindb/bigchaindb +# Default: planetmint/planetmint +$ export STACK_REPO=planetmint/planetmint #Optional, codebase to use for the network deployment # Default: master diff --git a/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-node-as-processes.md b/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-node-as-processes.md index 82b8bbb..a8d2c71 100644 --- a/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-node-as-processes.md +++ b/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-node-as-processes.md @@ -112,8 +112,8 @@ $ tendermint unsafe_reset_all To install Planetmint from source (for dev), clone the repo and execute the following command, (it is better that you create a virtual env for this) ```bash -$ git clone https://github.com/bigchaindb/bigchaindb.git -$ cd bigchaindb +$ git clone https://github.com/planetmint/planetmint.git +$ cd planetmint $ pip install -e .[dev] # or pip install -e '.[dev]' # for zsh ``` @@ -132,7 +132,7 @@ One could mark a specific test and execute the same by appending `-m my_mark` to Although the above should prove sufficient in most cases but in case tests are failing on Travis CI then the following command can be used to possibly replicate the failure locally, ```bash -$ docker-compose run --rm --no-deps bdb pytest -v --cov=bigchaindb +$ docker-compose run --rm --no-deps bdb pytest -v --cov=planetmint ``` NOTE: before executing the above command the user must ensure that they reset the Tendermint container by executing `tendermint usafe_reset_all` command in the Tendermint container. diff --git a/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-node-with-docker-compose.md b/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-node-with-docker-compose.md index 4f85ad2..5ee7643 100644 --- a/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-node-with-docker-compose.md +++ b/docs/root/source/contributing/dev-setup-coding-and-contribution-process/run-node-with-docker-compose.md @@ -33,7 +33,7 @@ There are also other commands you can execute: The Planetmint `Makefile` is a wrapper around some `docker-compose` commands we use frequently. If you need a finer granularity to manage the containers, you can still use `docker-compose` directly. This part of the documentation explains how to do that. ```bash -$ docker-compose build bigchaindb +$ docker-compose build planetmint $ docker-compose up -d bdb ``` @@ -41,7 +41,7 @@ The above command will launch all 3 main required services/processes: * ``mongodb`` * ``tendermint`` -* ``bigchaindb`` +* ``planetmint`` To follow the logs of the ``tendermint`` service: @@ -49,10 +49,10 @@ To follow the logs of the ``tendermint`` service: $ docker-compose logs -f tendermint ``` -To follow the logs of the ``bigchaindb`` service: +To follow the logs of the ``planetmint`` service: ```bash -$ docker-compose logs -f bigchaindb +$ docker-compose logs -f planetmint ``` To follow the logs of the ``mongodb`` service: @@ -81,18 +81,18 @@ $ docker-compose -f docker-compose.yml run --rm bdb-driver ipython Run all the tests using: ```bash -$ docker-compose run --rm --no-deps bigchaindb pytest -v +$ docker-compose run --rm --no-deps planetmint pytest -v ``` Run tests from a file: ```bash -$ docker-compose run --rm --no-deps bigchaindb pytest /path/to/file -v +$ docker-compose run --rm --no-deps planetmint pytest /path/to/file -v ``` Run specific tests: ```bash -$ docker-compose run --rm --no-deps bigchaindb pytest /path/to/file -k "" -v +$ docker-compose run --rm --no-deps planetmint pytest /path/to/file -k "" -v ``` ### Building Docs diff --git a/docs/root/source/contributing/dev-setup-coding-and-contribution-process/write-code.rst b/docs/root/source/contributing/dev-setup-coding-and-contribution-process/write-code.rst index ada8bbf..2d6a80f 100644 --- a/docs/root/source/contributing/dev-setup-coding-and-contribution-process/write-code.rst +++ b/docs/root/source/contributing/dev-setup-coding-and-contribution-process/write-code.rst @@ -21,7 +21,7 @@ Refresh Yourself about the C4 Process ------------------------------------- C4 is the Collective Code Construction Contract. It's quite short: -`re-reading it will only take a few minutes `_. +`re-reading it will only take a few minutes `_. Set Up Your Local Machine. Here's How. @@ -69,7 +69,7 @@ Set Up Your Local Machine. Here's How. Before You Start Writing Code ----------------------------- -Read `BEP-24 `_ +Read `BEP-24 `_ so you know what to do to ensure that your changes (i.e. your future pull request) can be merged. It's easy and will save you some hassle later on. @@ -79,7 +79,7 @@ Start Writing Code Use the Git `Fork and Pull Request Workflow `_. Tip: You could print that page for reference. -Your Python code should follow `our Python Style Guide `_. +Your Python code should follow `our Python Style Guide `_. Similarly for JavaScript. Make sure `pre-commit `_ actually checks commits. Do: diff --git a/docs/root/source/contributing/ways-to-contribute/report-a-bug.md b/docs/root/source/contributing/ways-to-contribute/report-a-bug.md index 7f5fbe9..9d3c37a 100644 --- a/docs/root/source/contributing/ways-to-contribute/report-a-bug.md +++ b/docs/root/source/contributing/ways-to-contribute/report-a-bug.md @@ -21,10 +21,10 @@ To write an issue, go to the relevant GitHub repository, click on the **Issues** People ask questions about Planetmint in the following places: - Gitter - - [bigchaindb/bigchaindb](https://gitter.im/planetmint/community) - - [bigchaindb/js-bigchaindb-driver](https://gitter.im/planetmint/community)) + - [planetmint/planetmint](https://gitter.im/planetmint/community) + - [planetmint/js-planetmint-driver](https://gitter.im/planetmint/community)) - [Twitter](https://twitter.com/planetmint) -- [Stack Overflow "bigchaindb"](https://stackoverflow.com/search?q=planetmint) +- [Stack Overflow "planetmint"](https://stackoverflow.com/search?q=planetmint) Feel free to hang out and answer some questions. People will be thankful. diff --git a/docs/root/source/drivers/index.rst b/docs/root/source/drivers/index.rst index de99da7..b634268 100644 --- a/docs/root/source/drivers/index.rst +++ b/docs/root/source/drivers/index.rst @@ -11,9 +11,9 @@ Connectors to Planetmint are referred to as drivers within the community. A driv These drivers were originally created by the original Planetmint team: -* `Python Driver `_ -* `JavaScript / Node.js Driver `_ -* `Java Driver `_ +* `Python Driver `_ +* `JavaScript / Node.js Driver `_ +* `Java Driver `_ These drivers and tools were created by the Planetmint community: @@ -23,9 +23,9 @@ These drivers and tools were created by the Planetmint community: but may still be useful. Others might not work with the latest version of Planetmint. -* `ANSI C driver `_, should also work with C++ (working as of June 2019) -* `C# driver `_ (working as of May 2019) -* `Haskell transaction builder `_ +* `ANSI C driver `_, should also work with C++ (working as of June 2019) +* `C# driver `_ (working as of May 2019) +* `Haskell transaction builder `_ * `Go driver `_ -* `Ruby driver `_ -* `Ruby library for preparing/signing transactions and submitting them or querying a Planetmint node (MIT licensed) `_ +* `Ruby driver `_ +* `Ruby library for preparing/signing transactions and submitting them or querying a Planetmint node (MIT licensed) `_ diff --git a/docs/root/source/index.rst b/docs/root/source/index.rst index 36bb193..5a013c8 100644 --- a/docs/root/source/index.rst +++ b/docs/root/source/index.rst @@ -21,7 +21,7 @@ More About Planetmint :maxdepth: 1 Planetmint Docs Home - about-bigchaindb + about-planetmint terminology properties basic-usage diff --git a/docs/root/source/installation/api/http-client-server-api.rst b/docs/root/source/installation/api/http-client-server-api.rst index c80d515..cd6c4b9 100644 --- a/docs/root/source/installation/api/http-client-server-api.rst +++ b/docs/root/source/installation/api/http-client-server-api.rst @@ -18,7 +18,7 @@ If you set up a Planetmint node or reverse proxy yourself, and you're not sure what the API Root URL is, then see the last section of this page for help. -.. _bigchaindb-root-url: +.. _planetmint-root-url: Planetmint Root URL ------------------- @@ -59,7 +59,7 @@ Transactions Endpoint then one option is to connect to MongoDB directly (if possible) and do whatever queries MongoDB allows. For more about that option, see - `the page about querying Planetmint `_. + `the page about querying Planetmint `_. .. http:get:: /api/v1/transactions/{transaction_id} @@ -172,11 +172,11 @@ Transactions Endpoint The posted transaction should be valid. The relevant - `Planetmint Transactions Spec `_ + `Planetmint Transactions Spec `_ explains how to build a valid transaction and how to check if a transaction is valid. One would normally use a driver such as the `Planetmint Python Driver - `_ + `_ to build a valid transaction. .. note:: @@ -223,7 +223,7 @@ unspent outputs. then one option is to connect to MongoDB directly (if possible) and do whatever queries MongoDB allows. For more about that option, see - `the page about querying Planetmint `_. + `the page about querying Planetmint `_. .. http:get:: /api/v1/outputs @@ -341,7 +341,7 @@ Assets then one option is to connect to MongoDB directly (if possible) and do whatever queries MongoDB allows. For more about that option, see - `the page about querying Planetmint `_. + `the page about querying Planetmint `_. .. http:get:: /api/v1/assets @@ -377,7 +377,7 @@ Assets .. sourcecode:: http - GET /api/v1/assets/?search=bigchaindb HTTP/1.1 + GET /api/v1/assets/?search=planetmint HTTP/1.1 Host: example.com **Example response**: @@ -426,7 +426,7 @@ Assets .. sourcecode:: http - GET /api/v1/assets?search=bigchaindb&limit=2 HTTP/1.1 + GET /api/v1/assets?search=planetmint&limit=2 HTTP/1.1 Host: example.com **Example response**: @@ -465,7 +465,7 @@ Transaction Metadata then one option is to connect to MongoDB directly (if possible) and do whatever queries MongoDB allows. For more about that option, see - `the page about querying Planetmint `_. + `the page about querying Planetmint `_. .. http:get:: /api/v1/metadata @@ -501,7 +501,7 @@ Transaction Metadata .. sourcecode:: http - GET /api/v1/metadata/?search=bigchaindb HTTP/1.1 + GET /api/v1/metadata/?search=planetmint HTTP/1.1 Host: example.com **Example response**: @@ -550,7 +550,7 @@ Transaction Metadata .. sourcecode:: http - GET /api/v1/metadata?search=bigchaindb&limit=2 HTTP/1.1 + GET /api/v1/metadata?search=planetmint&limit=2 HTTP/1.1 Host: example.com **Example response**: @@ -703,7 +703,7 @@ Blocks Determining the API Root URL ---------------------------- -When you start Planetmint Server using ``bigchaindb start``, +When you start Planetmint Server using ``planetmint start``, an HTTP API is exposed at some address. The default is: ``http://localhost:9984/api/v1/`` diff --git a/docs/root/source/installation/api/http-samples/api-index-response.http b/docs/root/source/installation/api/http-samples/api-index-response.http index 376552b..7ba7be8 100644 --- a/docs/root/source/installation/api/http-samples/api-index-response.http +++ b/docs/root/source/installation/api/http-samples/api-index-response.http @@ -4,7 +4,7 @@ Content-Type: application/json { "assets": "/assets/", "blocks": "/blocks/", - "docs": "https://docs.bigchaindb.com/projects/server/en/v0.9.0/http-client-server-api.html", + "docs": "https://docs.planetmint.com/projects/server/en/v0.9.0/http-client-server-api.html", "metadata": "/metadata/", "outputs": "/outputs/", "streams": "ws://localhost:9985/api/v1/streams/valid_transactions", diff --git a/docs/root/source/installation/api/http-samples/index-response.http b/docs/root/source/installation/api/http-samples/index-response.http index c087059..c593a91 100644 --- a/docs/root/source/installation/api/http-samples/index-response.http +++ b/docs/root/source/installation/api/http-samples/index-response.http @@ -6,7 +6,7 @@ Content-Type: application/json "v1": { "assets": "/api/v1/assets/", "blocks": "/api/v1/blocks/", - "docs": "https://docs.bigchaindb.com/projects/server/en/v0.9.0/http-client-server-api.html", + "docs": "https://docs.planetmint.com/projects/server/en/v0.9.0/http-client-server-api.html", "metadata": "/api/v1/metadata/", "outputs": "/api/v1/outputs/", "streams": "ws://localhost:9985/api/v1/streams/valid_transactions", @@ -14,7 +14,7 @@ Content-Type: application/json "validators": "/api/v1/validators" } }, - "docs": "https://docs.bigchaindb.com/projects/server/en/v0.9.0/", + "docs": "https://docs.planetmint.com/projects/server/en/v0.9.0/", "software": "Planetmint", "version": "0.9.0" } diff --git a/docs/root/source/installation/api/websocket-event-stream-api.rst b/docs/root/source/installation/api/websocket-event-stream-api.rst index 0978f4c..96eab15 100644 --- a/docs/root/source/installation/api/websocket-event-stream-api.rst +++ b/docs/root/source/installation/api/websocket-event-stream-api.rst @@ -82,7 +82,7 @@ All messages sent in a stream are in the JSON format. as a specific ``output``'s ``public_key``. If you have specific use cases that you think would fit as part of this - API, consider creating a new `BEP `_. + API, consider creating a new `BEP `_. Valid Transactions ~~~~~~~~~~~~~~~~~~ diff --git a/docs/root/source/installation/appendices/cryptography.rst b/docs/root/source/installation/appendices/cryptography.rst index 2416089..937eaa6 100644 --- a/docs/root/source/installation/appendices/cryptography.rst +++ b/docs/root/source/installation/appendices/cryptography.rst @@ -9,6 +9,6 @@ Cryptography Use the following link to find the Planetmint Transactions Spec (or Specs) that are relevant to you: -`Planetmint Transactions Specs `_ +`Planetmint Transactions Specs `_ Then see the sections titled **Cryptographic Hashes** and **Cryptographic Keys and Signatures**. \ No newline at end of file diff --git a/docs/root/source/installation/appendices/licenses.md b/docs/root/source/installation/appendices/licenses.md index 3a3b5e8..13295dc 100644 --- a/docs/root/source/installation/appendices/licenses.md +++ b/docs/root/source/installation/appendices/licenses.md @@ -7,4 +7,4 @@ Code is Apache-2.0 and docs are CC-BY-4.0 # Licenses -Information about how the Planetmint Server code and documentation are licensed can be found in [the LICENSES.md file](https://github.com/bigchaindb/bigchaindb/blob/master/LICENSES.md) of the bigchaindb/bigchaindb repository on GitHub. +Information about how the Planetmint Server code and documentation are licensed can be found in [the LICENSES.md file](https://github.com/planetmint/planetmint/blob/master/LICENSES.md) of the planetmint/planetmint repository on GitHub. diff --git a/docs/root/source/installation/appendices/log-rotation.md b/docs/root/source/installation/appendices/log-rotation.md index 0f453c2..53bea64 100644 --- a/docs/root/source/installation/appendices/log-rotation.md +++ b/docs/root/source/installation/appendices/log-rotation.md @@ -27,8 +27,8 @@ and [log rotation](https://docs.mongodb.com/v3.6/tutorial/rotate-log-files/). Planetmint Server writes its logs to two files: normal logs and error logs. The names of those files, and their locations, are set as part of the Planetmint configuration settings. The default names and locations are: -- `~/bigchaindb.log` -- `~/bigchaindb-errors.log` +- `~/planetmint.log` +- `~/planetmint-errors.log` Log rotation is baked into Planetmint Server using Python's `logging` module. The logs for Planetmint Server are rotated when any of the above mentioned files exceeds 209715200 bytes (i.e. approximately 209 MB). @@ -43,7 +43,7 @@ Tendermint writes its logs to the files: If you started Planetmint Server and Tendermint using Monit, as suggested by our guide on [How to Set Up a Planetmint Network](../network-setup/network-setup), -then the logs will be written to `$HOME/.bigchaindb-monit/logs/`. +then the logs will be written to `$HOME/.planetmint-monit/logs/`. Moreover, if you started Planetmint Server and Tendermint using Monit, then Monit monitors the Tendermint log files. diff --git a/docs/root/source/installation/commands-and-backend/backend.rst b/docs/root/source/installation/commands-and-backend/backend.rst index 1877d80..543520d 100644 --- a/docs/root/source/installation/commands-and-backend/backend.rst +++ b/docs/root/source/installation/commands-and-backend/backend.rst @@ -8,46 +8,46 @@ Database Backend Interfaces ########################### -.. automodule:: bigchaindb.backend +.. automodule:: planetmint.backend :special-members: __init__ Generic Interfaces ================== -:mod:`bigchaindb.backend.connection` +:mod:`planetmint.backend.connection` ------------------------------------ -.. automodule:: bigchaindb.backend.connection +.. automodule:: planetmint.backend.connection :special-members: __init__ -:mod:`bigchaindb.backend.query` +:mod:`planetmint.backend.query` ------------------------------- -.. automodule:: bigchaindb.backend.query +.. automodule:: planetmint.backend.query -:mod:`bigchaindb.backend.schema` +:mod:`planetmint.backend.schema` -------------------------------- -.. automodule:: bigchaindb.backend.schema +.. automodule:: planetmint.backend.schema -:mod:`bigchaindb.backend.utils` +:mod:`planetmint.backend.utils` ------------------------------- -.. automodule:: bigchaindb.backend.utils +.. automodule:: planetmint.backend.utils MongoDB Backend =============== -.. automodule:: bigchaindb.backend.localmongodb +.. automodule:: planetmint.backend.localmongodb :special-members: __init__ -:mod:`bigchaindb.backend.localmongodb.connection` +:mod:`planetmint.backend.localmongodb.connection` ------------------------------------------------- -.. automodule:: bigchaindb.backend.localmongodb.connection +.. automodule:: planetmint.backend.localmongodb.connection -:mod:`bigchaindb.backend.localmongodb.query` +:mod:`planetmint.backend.localmongodb.query` -------------------------------------------- -.. automodule:: bigchaindb.backend.localmongodb.query +.. automodule:: planetmint.backend.localmongodb.query -:mod:`bigchaindb.backend.localmongodb.schema` +:mod:`planetmint.backend.localmongodb.schema` --------------------------------------------- -.. automodule:: bigchaindb.backend.localmongodb.schema +.. automodule:: planetmint.backend.localmongodb.schema diff --git a/docs/root/source/installation/commands-and-backend/commands.rst b/docs/root/source/installation/commands-and-backend/commands.rst index 11b76e8..660f671 100644 --- a/docs/root/source/installation/commands-and-backend/commands.rst +++ b/docs/root/source/installation/commands-and-backend/commands.rst @@ -8,17 +8,17 @@ Command Line Interface ###################### -.. automodule:: bigchaindb.commands +.. automodule:: planetmint.commands :special-members: __init__ -:mod:`bigchaindb.commands.bigchaindb` +:mod:`planetmint.commands.planetmint` ------------------------------------- -.. automodule:: bigchaindb.commands.bigchaindb +.. automodule:: planetmint.commands.planetmint -:mod:`bigchaindb.commands.utils` +:mod:`planetmint.commands.utils` -------------------------------- -.. automodule:: bigchaindb.commands.utils +.. automodule:: planetmint.commands.utils diff --git a/docs/root/source/installation/commands-and-backend/index.rst b/docs/root/source/installation/commands-and-backend/index.rst index bc2e927..723ec25 100644 --- a/docs/root/source/installation/commands-and-backend/index.rst +++ b/docs/root/source/installation/commands-and-backend/index.rst @@ -20,7 +20,7 @@ in the Planetmint Server code, based on Python docstrings in the code itself. :maxdepth: 1 commands - the-bigchaindb-class + the-planetmint-class backend \ No newline at end of file diff --git a/docs/root/source/installation/commands-and-backend/the-bigchaindb-class.rst b/docs/root/source/installation/commands-and-backend/the-bigchaindb-class.rst index ac549c7..c012281 100644 --- a/docs/root/source/installation/commands-and-backend/the-bigchaindb-class.rst +++ b/docs/root/source/installation/commands-and-backend/the-bigchaindb-class.rst @@ -8,4 +8,4 @@ The Planetmint Class #################### -.. autoclass:: bigchaindb.Planetmint +.. autoclass:: planetmint.Planetmint diff --git a/docs/root/source/installation/network-setup/bigchaindb-node-ansible.md b/docs/root/source/installation/network-setup/bigchaindb-node-ansible.md index 186be68..f9fc9a5 100644 --- a/docs/root/source/installation/network-setup/bigchaindb-node-ansible.md +++ b/docs/root/source/installation/network-setup/bigchaindb-node-ansible.md @@ -2,6 +2,6 @@ You can find one of the installation methods with Ansible on GitHub at: -[Ansible script](https://github.com/bigchaindb/bigchaindb-node-ansible) +[Ansible script](https://github.com/planetmint/planetmint-node-ansible) It allows to install Planetmint, MongoDB, Tendermint, and python, and then connect nodes into a network. Current tested machine is Ubuntu 18.04. \ No newline at end of file diff --git a/docs/root/source/installation/network-setup/index.rst b/docs/root/source/installation/network-setup/index.rst index ffc7659..e21f5f9 100644 --- a/docs/root/source/installation/network-setup/index.rst +++ b/docs/root/source/installation/network-setup/index.rst @@ -15,5 +15,5 @@ There are several ways to setup a network. You can use the Kubernetes deployment networks network-setup k8s-deployment-template/index - bigchaindb-node-ansible.md + planetmint-node-ansible.md \ No newline at end of file diff --git a/docs/root/source/installation/network-setup/k8s-deployment-template/architecture.rst b/docs/root/source/installation/network-setup/k8s-deployment-template/architecture.rst index f057ee8..2694f3d 100644 --- a/docs/root/source/installation/network-setup/k8s-deployment-template/architecture.rst +++ b/docs/root/source/installation/network-setup/k8s-deployment-template/architecture.rst @@ -32,7 +32,7 @@ as described in these docs, it will include: `_. -.. _bigchaindb-node: +.. _planetmint-node: Planetmint Node Diagram ----------------------- diff --git a/docs/root/source/installation/network-setup/k8s-deployment-template/bigchaindb-network-on-kubernetes.rst b/docs/root/source/installation/network-setup/k8s-deployment-template/bigchaindb-network-on-kubernetes.rst index 7f4f411..3e80a92 100644 --- a/docs/root/source/installation/network-setup/k8s-deployment-template/bigchaindb-network-on-kubernetes.rst +++ b/docs/root/source/installation/network-setup/k8s-deployment-template/bigchaindb-network-on-kubernetes.rst @@ -4,7 +4,7 @@ SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) Code is Apache-2.0 and docs are CC-BY-4.0 -.. _kubernetes-template-deploy-bigchaindb-network: +.. _kubernetes-template-deploy-planetmint-network: Kubernetes Template: Deploying a Planetmint network =================================================== @@ -44,9 +44,9 @@ to form a network. Below, we refer to multiple files by their directory and filename, -such as ``bigchaindb/bigchaindb-ext-conn-svc.yaml``. Those files are located in the -`bigchaindb/bigchaindb repository on GitHub -`_ in the ``k8s/`` directory. +such as ``planetmint/planetmint-ext-conn-svc.yaml``. Those files are located in the +`planetmint/planetmint repository on GitHub +`_ in the ``k8s/`` directory. Make sure you're getting those files from the appropriate Git branch on GitHub, i.e. the branch for the version of Planetmint that your Planetmint cluster is using. @@ -62,7 +62,7 @@ cluster is using. Once a Planetmint network is started with a certain number of validators and a genesis file. Users cannot add new validator nodes dynamically. You can track the progress of this funtionality on our - `github repository `_. + `github repository `_. .. _pre-reqs-bdb-network: @@ -229,7 +229,7 @@ the :doc:`deployment steps for each node ` N number of times the number of participants in the network. In our Kubernetes deployment template for a single Planetmint node, we covered the basic configurations -settings :ref:`here `. +settings :ref:`here `. Since, we index the ConfigMap and Secret Keys for the single site deployment, we need to update all the Kubernetes components to reflect the corresponding changes i.e. For each Kubernetes Service, @@ -267,7 +267,7 @@ the ``mongo-node-1-ss.yaml`` and update the corresponding ConfigMapKeyRef.name o terminationGracePeriodSeconds: 10 containers: - name: mongodb - image: bigchaindb/mongodb:3.2 + image: planetmint/mongodb:3.2 imagePullPolicy: IfNotPresent env: - name: MONGODB_FQDN @@ -366,13 +366,13 @@ The above example is meant to be repeated for all the Kubernetes components of a * ``mongodb/mongodb-node-X-ss.yaml`` -* ``bigchaindb/bigchaindb-node-X-svc.yaml`` +* ``planetmint/planetmint-node-X-svc.yaml`` -* ``bigchaindb/bigchaindb-node-X-sc.yaml`` +* ``planetmint/planetmint-node-X-sc.yaml`` -* ``bigchaindb/bigchaindb-node-X-pvc.yaml`` +* ``planetmint/planetmint-node-X-pvc.yaml`` -* ``bigchaindb/bigchaindb-node-X-ss.yaml`` +* ``planetmint/planetmint-node-X-ss.yaml`` * ``nginx-openresty/nginx-openresty-node-X-svc.yaml`` @@ -408,7 +408,7 @@ described :ref:`above `: * :ref:`Start the MongoDB Kubernetes Service `. -* :ref:`Start the Planetmint Kubernetes Service `. +* :ref:`Start the Planetmint Kubernetes Service `. * :ref:`Start the OpenResty Kubernetes Service `. @@ -421,22 +421,22 @@ to talk to each other i.e. specifically the communication between the Planetmint peers. Set up networking between the clusters using `Kubernetes Services `_. -Assuming we have a Planetmint instance ``bigchaindb-instance-1`` residing in Azure data center location ``westeurope`` and we -want to connect to ``bigchaindb-instance-2``, ``bigchaindb-instance-3``, and ``bigchaindb-instance-4`` located in Azure data centers +Assuming we have a Planetmint instance ``planetmint-instance-1`` residing in Azure data center location ``westeurope`` and we +want to connect to ``planetmint-instance-2``, ``planetmint-instance-3``, and ``planetmint-instance-4`` located in Azure data centers ``eastus``, ``centralus`` and ``westus``, respectively. Unless you already have explicitly set up networking for -``bigchaindb-instance-1`` to communicate with ``bigchaindb-instance-2/3/4`` and +``planetmint-instance-1`` to communicate with ``planetmint-instance-2/3/4`` and vice versa, we will have to add a Kubernetes Service in each cluster to accomplish this goal in order to set up a Planetmint P2P network. It is similar to ensuring that there is a ``CNAME`` record in the DNS -infrastructure to resolve ``bigchaindb-instance-X`` to the host where it is actually available. +infrastructure to resolve ``planetmint-instance-X`` to the host where it is actually available. We can do this in Kubernetes using a Kubernetes Service of ``type`` ``ExternalName``. -* This configuration is located in the file ``bigchaindb/bigchaindb-ext-conn-svc.yaml``. +* This configuration is located in the file ``planetmint/planetmint-ext-conn-svc.yaml``. * Set the name of the ``metadata.name`` to the host name of the Planetmint instance you are trying to connect to. - For instance if you are configuring this service on cluster with ``bigchaindb-instance-1`` then the ``metadata.name`` will - be ``bigchaindb-instance-2`` and vice versa. + For instance if you are configuring this service on cluster with ``planetmint-instance-1`` then the ``metadata.name`` will + be ``planetmint-instance-2`` and vice versa. * Set ``spec.ports.port[0]`` to the ``tm-p2p-port`` from the ConfigMap for the other cluster. @@ -452,7 +452,7 @@ We can do this in Kubernetes using a Kubernetes Service of ``type`` If you are not the system administrator of the cluster, you have to get in touch with the system administrator/s of the other ``n-1`` clusters and - share with them your instance name (``bigchaindb-instance-name`` in the ConfigMap) + share with them your instance name (``planetmint-instance-name`` in the ConfigMap) and the FQDN of the NGINX instance acting as Gateway(set in: :ref:`Assign DNS name to NGINX Public IP `). diff --git a/docs/root/source/installation/network-setup/k8s-deployment-template/index.rst b/docs/root/source/installation/network-setup/k8s-deployment-template/index.rst index 418732f..88d9732 100644 --- a/docs/root/source/installation/network-setup/k8s-deployment-template/index.rst +++ b/docs/root/source/installation/network-setup/k8s-deployment-template/index.rst @@ -42,7 +42,7 @@ Feel free change things to suit your needs or preferences. cloud-manager easy-rsa upgrade-on-kubernetes - bigchaindb-network-on-kubernetes + planetmint-network-on-kubernetes tectonic-azure troubleshoot architecture diff --git a/docs/root/source/installation/network-setup/k8s-deployment-template/log-analytics.rst b/docs/root/source/installation/network-setup/k8s-deployment-template/log-analytics.rst index b71dae5..b9e9a00 100644 --- a/docs/root/source/installation/network-setup/k8s-deployment-template/log-analytics.rst +++ b/docs/root/source/installation/network-setup/k8s-deployment-template/log-analytics.rst @@ -256,9 +256,9 @@ All logging messages containing the string "critical" but not "CriticalAddonsOnl ``Type=ContainerLog critical NOT(CriticalAddonsOnly)`` -All logging messages from containers running the Docker image bigchaindb/nginx_3scale:1.3, containing the string "GET" but not the strings "Go-http-client" or "runscope" (where those exclusions filter out tests by Kubernetes and Runscope): +All logging messages from containers running the Docker image planetmint/nginx_3scale:1.3, containing the string "GET" but not the strings "Go-http-client" or "runscope" (where those exclusions filter out tests by Kubernetes and Runscope): -``Type=ContainerLog Image="bigchaindb/nginx_3scale:1.3" GET NOT("Go-http-client") NOT(runscope)`` +``Type=ContainerLog Image="planetmint/nginx_3scale:1.3" GET NOT("Go-http-client") NOT(runscope)`` .. note:: diff --git a/docs/root/source/installation/network-setup/k8s-deployment-template/node-config-map-and-secrets.rst b/docs/root/source/installation/network-setup/k8s-deployment-template/node-config-map-and-secrets.rst index 0b09e23..c2d3c19 100644 --- a/docs/root/source/installation/network-setup/k8s-deployment-template/node-config-map-and-secrets.rst +++ b/docs/root/source/installation/network-setup/k8s-deployment-template/node-config-map-and-secrets.rst @@ -4,7 +4,7 @@ SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) Code is Apache-2.0 and docs are CC-BY-4.0 -.. _how-to-configure-a-bigchaindb-node: +.. _how-to-configure-a-planetmint-node: How to Configure a Planetmint Node ================================== diff --git a/docs/root/source/installation/network-setup/k8s-deployment-template/node-on-kubernetes.rst b/docs/root/source/installation/network-setup/k8s-deployment-template/node-on-kubernetes.rst index 15d7ca3..ab5fe19 100644 --- a/docs/root/source/installation/network-setup/k8s-deployment-template/node-on-kubernetes.rst +++ b/docs/root/source/installation/network-setup/k8s-deployment-template/node-on-kubernetes.rst @@ -4,7 +4,7 @@ SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) Code is Apache-2.0 and docs are CC-BY-4.0 -.. _kubernetes-template-deploy-a-single-bigchaindb-node: +.. _kubernetes-template-deploy-a-single-planetmint-node: Kubernetes Template: Deploy a Single Planetmint Node ==================================================== @@ -26,7 +26,7 @@ It assumes you already have a running Kubernetes cluster. Below, we refer to many files by their directory and filename, such as ``configuration/config-map.yaml``. Those files are files in the -`bigchaindb/bigchaindb repository on GitHub `_ +`planetmint/planetmint repository on GitHub `_ in the ``k8s/`` directory. Make sure you're getting those files from the appropriate Git branch on GitHub, i.e. the branch for the version of Planetmint that your Planetmint @@ -132,7 +132,7 @@ That means you can visit the dashboard in your web browser at Step 3: Configure Your Planetmint Node -------------------------------------- -See the page titled :ref:`how-to-configure-a-bigchaindb-node`. +See the page titled :ref:`how-to-configure-a-planetmint-node`. .. _start-the-nginx-service: @@ -166,7 +166,7 @@ Step 5: Assign DNS Name to the NGINX Public IP * This step is required only if you are planning to set up multiple `Planetmint nodes - `_ or are using + `_ or are using HTTPS certificates tied to a domain. * The following command can help you find out if the NGINX service started @@ -214,7 +214,7 @@ Step 6: Start the MongoDB Kubernetes Service $ kubectl apply -f mongodb/mongo-svc.yaml -.. _start-the-bigchaindb-kubernetes-service: +.. _start-the-planetmint-kubernetes-service: Step 7: Start the Planetmint Kubernetes Service ----------------------------------------------- @@ -223,7 +223,7 @@ Step 7: Start the Planetmint Kubernetes Service .. code:: bash - $ kubectl apply -f bigchaindb/bigchaindb-svc.yaml + $ kubectl apply -f planetmint/planetmint-svc.yaml .. _start-the-openresty-kubernetes-service: @@ -437,7 +437,7 @@ Planetmint needs somewhere to store Tendermint data persistently, Tendermint use LevelDB as the persistent storage layer. The Kubernetes template for configuration of Storage Class is located in the -file ``bigchaindb/bigchaindb-sc.yaml``. +file ``planetmint/planetmint-sc.yaml``. Details about how to create a Azure Storage account and how Kubernetes Storage Class works are already covered in this document: :ref:`create-kubernetes-storage-class-mdb`. @@ -446,7 +446,7 @@ Create the required storage classes using: .. code:: bash - $ kubectl apply -f bigchaindb/bigchaindb-sc.yaml + $ kubectl apply -f planetmint/planetmint-sc.yaml You can check if it worked using ``kubectl get storageclasses``. @@ -459,7 +459,7 @@ Step 15: Create Kubernetes Persistent Volume Claims for Planetmint Next, you will create two PersistentVolumeClaim objects ``tendermint-db-claim`` and ``tendermint-config-db-claim``. -This configuration is located in the file ``bigchaindb/bigchaindb-pvc.yaml``. +This configuration is located in the file ``planetmint/planetmint-pvc.yaml``. Details about Kubernetes Persistent Volumes, Persistent Volume Claims and how they work with Azure are already covered in this @@ -469,7 +469,7 @@ Create the required Persistent Volume Claims using: .. code:: bash - $ kubectl apply -f bigchaindb/bigchaindb-pvc.yaml + $ kubectl apply -f planetmint/planetmint-pvc.yaml You can check its status using: @@ -483,7 +483,7 @@ You can check its status using: Step 16: Start a Kubernetes StatefulSet for Planetmint ------------------------------------------------------ - * This configuration is located in the file ``bigchaindb/bigchaindb-ss.yaml``. + * This configuration is located in the file ``planetmint/planetmint-ss.yaml``. * Set the ``spec.serviceName`` to the value set in ``bdb-instance-name`` in the ConfigMap. @@ -505,7 +505,7 @@ Step 16: Start a Kubernetes StatefulSet for Planetmint .. code:: bash - $ kubectl apply -f bigchaindb/bigchaindb-ss.yaml + $ kubectl apply -f planetmint/planetmint-ss.yaml .. code:: bash @@ -570,7 +570,7 @@ Step 18(Optional): Start a Kubernetes Deployment for OpenResty - ``node-dns-server-ip`` - ``openresty-backend-port`` - ``ngx-bdb-instance-name`` - - ``bigchaindb-api-port`` + - ``planetmint-api-port`` * Create the OpenResty Deployment using: @@ -610,7 +610,7 @@ infrastructure to resolve ``bdb-instance-X`` to the host where it is actually av We can do this in Kubernetes using a Kubernetes Service of ``type`` ``ExternalName``. -* This configuration is located in the file ``bigchaindb/bigchaindb-ext-conn-svc.yaml``. +* This configuration is located in the file ``planetmint/planetmint-ext-conn-svc.yaml``. * Set the name of the ``metadata.name`` to the host name of the Planetmint instance you are trying to connect to. For instance if you are configuring this service on cluster with ``bdb-instance-1`` then the ``metadata.name`` will @@ -646,17 +646,17 @@ Step 21.1: Testing Internally To test the setup of your Planetmint node, you could use a Docker container that provides utilities like ``nslookup``, ``curl`` and ``dig``. For example, you could use a container based on our -`bigchaindb/toolbox `_ image. +`planetmint/toolbox `_ image. (The corresponding -`Dockerfile `_ -is in the ``bigchaindb/bigchaindb`` repository on GitHub.) +`Dockerfile `_ +is in the ``planetmint/planetmint`` repository on GitHub.) You can use it as below to get started immediately: .. code:: bash $ kubectl \ run -it toolbox \ - --image bigchaindb/toolbox \ + --image planetmint/toolbox \ --image-pull-policy=Always \ --restart=Never --rm diff --git a/docs/root/source/installation/network-setup/k8s-deployment-template/troubleshoot.rst b/docs/root/source/installation/network-setup/k8s-deployment-template/troubleshoot.rst index 22a7563..93d838e 100644 --- a/docs/root/source/installation/network-setup/k8s-deployment-template/troubleshoot.rst +++ b/docs/root/source/installation/network-setup/k8s-deployment-template/troubleshoot.rst @@ -31,7 +31,7 @@ container and looking at the syslog (the ``journalctl`` command should usually work). This issue is resolved in -`PR #1757 `_. +`PR #1757 `_. 2. 502 Bad Gateway Error on Runscope Tests ------------------------------------------ diff --git a/docs/root/source/installation/network-setup/k8s-deployment-template/workflow.rst b/docs/root/source/installation/network-setup/k8s-deployment-template/workflow.rst index 5c682af..4f00dae 100644 --- a/docs/root/source/installation/network-setup/k8s-deployment-template/workflow.rst +++ b/docs/root/source/installation/network-setup/k8s-deployment-template/workflow.rst @@ -145,7 +145,7 @@ then you will run a script which reads that file to generate some Kubernetes con you will send those config files to your Kubernetes cluster, and then you will deploy all the stuff that you need to have a Planetmint node. -⟶ Proceed to :ref:`deploy your Planetmint node `. +⟶ Proceed to :ref:`deploy your Planetmint node `. .. raw:: html diff --git a/docs/root/source/installation/network-setup/network-setup.md b/docs/root/source/installation/network-setup/network-setup.md index 74bdf37..8c666b4 100644 --- a/docs/root/source/installation/network-setup/network-setup.md +++ b/docs/root/source/installation/network-setup/network-setup.md @@ -173,10 +173,10 @@ Install Monit: sudo apt install monit ``` -If you installed the `bigchaindb` Python package as above, you should have the `bigchaindb-monit-config` script in your `PATH` now. Run the script to build a configuration file for Monit: +If you installed the `planetmint` Python package as above, you should have the `planetmint-monit-config` script in your `PATH` now. Run the script to build a configuration file for Monit: ``` -bigchaindb-monit-config +planetmint-monit-config ``` Run Monit as a daemon, instructing it to wake up every second to check on processes: @@ -185,23 +185,23 @@ Run Monit as a daemon, instructing it to wake up every second to check on proces monit -d 1 ``` -Monit will run the Planetmint and Tendermint processes and restart them when they crash. If the root `bigchaindb_` process crashes, Monit will also restart the Tendermint process. +Monit will run the Planetmint and Tendermint processes and restart them when they crash. If the root `planetmint_` process crashes, Monit will also restart the Tendermint process. You can check the status by running `monit status` or `monit summary`. -By default, it will collect program logs into the `~/.bigchaindb-monit/logs` folder. +By default, it will collect program logs into the `~/.planetmint-monit/logs` folder. To learn more about Monit, use `monit -h` (help) or read [the Monit documentation][monit-manual]. -Check `bigchaindb-monit-config -h` if you want to arrange a different folder for logs or some of the Monit internal artifacts. +Check `planetmint-monit-config -h` if you want to arrange a different folder for logs or some of the Monit internal artifacts. -If you want to start and manage the Planetmint and Tendermint processes yourself, then look inside the file [bigchaindb/pkg/scripts/bigchaindb-monit-config](https://github.com/bigchaindb/bigchaindb/blob/master/pkg/scripts/bigchaindb-monit-config) to see how *it* starts Planetmint and Tendermint. +If you want to start and manage the Planetmint and Tendermint processes yourself, then look inside the file [planetmint/pkg/scripts/planetmint-monit-config](https://github.com/planetmint/planetmint/blob/master/pkg/scripts/planetmint-monit-config) to see how *it* starts Planetmint and Tendermint. ## How Others Can Access Your Node If you followed the above instructions, then your node should be publicly-accessible with Planetmint Root URL `https://hostname` or `http://hostname:9984`. That is, anyone can interact with your node using the [Planetmint HTTP API](../api/http-client-server-api) exposed at that address. The most common way to do that is to use one of the [Planetmint Drivers](../../drivers/index). -[bdb:software]: https://github.com/bigchaindb/bigchaindb/ +[bdb:software]: https://github.com/planetmint/planetmint/ [bdb:pypi]: https://pypi.org/project/Planetmint/#history [tendermint:releases]: https://github.com/tendermint/tendermint/releases [monit]: https://www.mmonit.com/monit diff --git a/docs/root/source/installation/network-setup/networks.md b/docs/root/source/installation/network-setup/networks.md index 9943c04..c4d4f26 100644 --- a/docs/root/source/installation/network-setup/networks.md +++ b/docs/root/source/installation/network-setup/networks.md @@ -7,7 +7,7 @@ Code is Apache-2.0 and docs are CC-BY-4.0 # Planetmint Networks -A **Planetmint network** is a set of connected **Planetmint nodes**, managed by a **Planetmint consortium** (i.e. an organization). Those terms are defined in the [Planetmint Terminology page](https://docs.bigchaindb.com/en/latest/terminology.html). +A **Planetmint network** is a set of connected **Planetmint nodes**, managed by a **Planetmint consortium** (i.e. an organization). Those terms are defined in the [Planetmint Terminology page](https://docs.planetmint.com/en/latest/terminology.html). ## Consortium Structure & Governance @@ -17,7 +17,7 @@ A governance process is required to make those decisions, and therefore one of t This documentation doesn't explain how to create a consortium, nor does it outline the possible governance processes. It's worth noting that the decentralization of a Planetmint network depends, -to some extent, on the decentralization of the associated consortium. See the pages about [decentralization](https://docs.bigchaindb.com/en/latest/decentralized.html) and [node diversity](https://docs.bigchaindb.com/en/latest/diversity.html). +to some extent, on the decentralization of the associated consortium. See the pages about [decentralization](https://docs.planetmint.com/en/latest/decentralized.html) and [node diversity](https://docs.planetmint.com/en/latest/diversity.html). ## DNS Records and SSL Certificates diff --git a/docs/root/source/installation/node-setup/all-in-one-bigchaindb.md b/docs/root/source/installation/node-setup/all-in-one-bigchaindb.md index d3806a4..aba2e8b 100644 --- a/docs/root/source/installation/node-setup/all-in-one-bigchaindb.md +++ b/docs/root/source/installation/node-setup/all-in-one-bigchaindb.md @@ -10,7 +10,7 @@ Code is Apache-2.0 and docs are CC-BY-4.0 For those who like using Docker and wish to experiment with Planetmint in non-production environments, we currently maintain a Planetmint all-in-one Docker image and a -`Dockerfile-all-in-one` that can be used to build an image for `bigchaindb`. +`Dockerfile-all-in-one` that can be used to build an image for `planetmint`. This image contains all the services required for a Planetmint node i.e. @@ -21,8 +21,8 @@ This image contains all the services required for a Planetmint node i.e. **Note:** **NOT for Production Use:** *This is an single node opinionated image not well suited for a network deployment.* *This image is to help quick deployment for early adopters, for a more standard approach please refer to one of our deployment guides:* -- [Planetmint developer setup guides](https://docs.bigchaindb.com/projects/contributing/en/latest/dev-setup-coding-and-contribution-process/index.html). -- [Planetmint with Kubernetes](http://docs.bigchaindb.com/projects/server/en/latest/k8s-deployment-template/index.html). +- [Planetmint developer setup guides](https://docs.planetmint.com/projects/contributing/en/latest/dev-setup-coding-and-contribution-process/index.html). +- [Planetmint with Kubernetes](http://docs.planetmint.com/projects/server/en/latest/k8s-deployment-template/index.html). ## Prerequisite(s) - [Docker](https://docs.docker.com/engine/installation/) @@ -33,19 +33,19 @@ With Docker installed, you can proceed as follows. In a terminal shell, pull the latest version of the Planetmint all-in-one Docker image using: ```text -$ docker pull bigchaindb/bigchaindb:all-in-one +$ docker pull planetmint/planetmint:all-in-one $ docker run \ --detach \ - --name bigchaindb \ + --name planetmint \ --publish 9984:9984 \ --publish 9985:9985 \ --publish 27017:27017 \ --publish 26657:26657 \ - --volume $HOME/bigchaindb_docker/mongodb/data/db:/data/db \ - --volume $HOME/bigchaindb_docker/mongodb/data/configdb:/data/configdb \ - --volume $HOME/bigchaindb_docker/tendermint:/tendermint \ - bigchaindb/bigchaindb:all-in-one + --volume $HOME/planetmint_docker/mongodb/data/db:/data/db \ + --volume $HOME/planetmint_docker/mongodb/data/configdb:/data/configdb \ + --volume $HOME/planetmint_docker/tendermint:/tendermint \ + planetmint/planetmint:all-in-one ``` Let's analyze that command: @@ -57,18 +57,18 @@ Let's analyze that command: * `9985` Planetmint Websocket server * `27017` Default port for MongoDB * `26657` Tendermint RPC server -* `--volume "$HOME/bigchaindb_docker/mongodb:/data"` map the host directory - `$HOME/bigchaindb_docker/mongodb` to the container directory `/data`; +* `--volume "$HOME/planetmint_docker/mongodb:/data"` map the host directory + `$HOME/planetmint_docker/mongodb` to the container directory `/data`; this allows us to have the data persisted on the host machine, you can read more in the [official Docker documentation](https://docs.docker.com/engine/tutorials/dockervolumes) - * `$HOME/bigchaindb_docker/tendermint:/tendermint` to persist Tendermint data. -* `bigchaindb/bigchaindb:all-in-one` the image to use. All the options after the container name are passed on to the entrypoint inside the container. + * `$HOME/planetmint_docker/tendermint:/tendermint` to persist Tendermint data. +* `planetmint/planetmint:all-in-one` the image to use. All the options after the container name are passed on to the entrypoint inside the container. ## Verify ```text -$ docker ps | grep bigchaindb +$ docker ps | grep planetmint ``` Send your first transaction using [Planetmint drivers](../../drivers/index). @@ -80,8 +80,8 @@ Assuming you have Docker installed, you would proceed as follows. In a terminal shell: ```text -git clone git@github.com:bigchaindb/bigchaindb.git -cd bigchaindb/ +git clone git@github.com:planetmint/planetmint.git +cd planetmint/ ``` Build the Docker image: diff --git a/docs/root/source/installation/node-setup/bigchaindb-cli.md b/docs/root/source/installation/node-setup/bigchaindb-cli.md index 44865f8..ab0c4b3 100644 --- a/docs/root/source/installation/node-setup/bigchaindb-cli.md +++ b/docs/root/source/installation/node-setup/bigchaindb-cli.md @@ -7,20 +7,20 @@ Code is Apache-2.0 and docs are CC-BY-4.0 # Command Line Interface (CLI) -The command-line command to interact with Planetmint Server is `bigchaindb`. +The command-line command to interact with Planetmint Server is `planetmint`. -## bigchaindb \-\-help +## planetmint \-\-help -Show help for the `bigchaindb` command. `bigchaindb -h` does the same thing. +Show help for the `planetmint` command. `planetmint -h` does the same thing. -## bigchaindb \-\-version +## planetmint \-\-version -Show the version number. `bigchaindb -v` does the same thing. +Show the version number. `planetmint -v` does the same thing. -## bigchaindb configure +## planetmint configure Generate a local configuration file (which can be used to set some or all [Planetmint node configuration settings](configuration)). It will ask you for the values of some configuration settings. If you press Enter for a value, it will use the default value. @@ -29,39 +29,39 @@ At this point, only one database backend is supported: `localmongodb`. If you use the `-c` command-line option, it will generate the file at the specified path: ```text -bigchaindb -c path/to/new_config.json configure localmongodb +planetmint -c path/to/new_config.json configure localmongodb ``` -If you don't use the `-c` command-line option, the file will be written to `$HOME/.bigchaindb` (the default location where Planetmint looks for a config file, if one isn't specified). +If you don't use the `-c` command-line option, the file will be written to `$HOME/.planetmint` (the default location where Planetmint looks for a config file, if one isn't specified). If you use the `-y` command-line option, then there won't be any interactive prompts: it will use the default values for all the configuration settings. ```text -bigchaindb -y configure localmongodb +planetmint -y configure localmongodb ``` -## bigchaindb show-config +## planetmint show-config Show the values of the [Planetmint node configuration settings](configuration). -## bigchaindb init +## planetmint init Create a backend database (local MongoDB), all database tables/collections, various backend database indexes, and the genesis block. -## bigchaindb drop +## planetmint drop Drop (erase) the backend database (the local MongoDB database used by this node). You will be prompted to make sure. -If you want to force-drop the database (i.e. skipping the yes/no prompt), then use `bigchaindb -y drop` +If you want to force-drop the database (i.e. skipping the yes/no prompt), then use `planetmint -y drop` -## bigchaindb start +## planetmint start -Start Planetmint. It always begins by trying a `bigchaindb init` first. See the documentation for `bigchaindb init`. -The database initialization step is optional and can be skipped by passing the `--no-init` flag, i.e. `bigchaindb start --no-init`. +Start Planetmint. It always begins by trying a `planetmint init` first. See the documentation for `planetmint init`. +The database initialization step is optional and can be skipped by passing the `--no-init` flag, i.e. `planetmint start --no-init`. ### Options @@ -69,7 +69,7 @@ The log level for the console can be set via the option `--log-level` or its abbreviation `-l`. Example: ```bash -$ bigchaindb --log-level INFO start +$ planetmint --log-level INFO start ``` The allowed levels are `DEBUG`, `INFO`, `WARNING`, `ERROR`, and `CRITICAL`. @@ -82,9 +82,9 @@ configuration file as documented under [Configuration Settings](configuration). -## bigchaindb election +## planetmint election -Manage elections to govern the Planetmint network. The specifics of the election process are defined in [BEP-18](https://github.com/bigchaindb/BEPs/tree/master/18). +Manage elections to govern the Planetmint network. The specifics of the election process are defined in [BEP-18](https://github.com/planetmint/BEPs/tree/master/18). Election management is broken into several subcommands. Below is the command line syntax for each of them. @@ -106,7 +106,7 @@ Create an election to add, update, or remove a validator. ```bash -$ bigchaindb election new upsert-validator --private-key +$ planetmint election new upsert-validator --private-key ``` - `` is the public key of the node to be added/updated/removed. The encoding and type of the key have to match those specified in `genesis.json` in the supported Tendermint version. @@ -117,7 +117,7 @@ $ bigchaindb election new upsert-validator --priv Example: ```bash -$ bigchaindb election new upsert-validator HHG0IQRybpT6nJMIWWFWhMczCLHt6xcm7eP52GnGuPY= 1 fb7140f03a4ffad899fabbbf655b97e0321add66 --private-key /home/user/.tendermint/config/priv_validator.json +$ planetmint election new upsert-validator HHG0IQRybpT6nJMIWWFWhMczCLHt6xcm7eP52GnGuPY= 1 fb7140f03a4ffad899fabbbf655b97e0321add66 --private-key /home/user/.tendermint/config/priv_validator.json [SUCCESS] Submitted proposal with id: 04a067582cf03eba2b53b82e4adb5ece424474cbd4f7183780855a93ac5e3caa ``` @@ -126,7 +126,7 @@ Once `election_id` has been generated, the proposer should share it with other v Note that election proposers do not automatically approve elections by proposing them. -For more details about how validator set changes work, refer to [BEP-21](https://github.com/bigchaindb/BEPs/tree/master/21). +For more details about how validator set changes work, refer to [BEP-21](https://github.com/planetmint/BEPs/tree/master/21). #### election new chain-migration @@ -134,7 +134,7 @@ Create an election to halt block production, to coordinate on making a Tendermin ```bash -$ bigchaindb election new chain-migration --private-key +$ planetmint election new chain-migration --private-key ``` - `` is the path to the private key of the validator who proposes the election. Tendermint places it at `.tendermint/config/priv_validator.json`. @@ -143,7 +143,7 @@ $ bigchaindb election new chain-migration --private-key --private-key +$ planetmint election approve --private-key ``` - `election-id` is the election identifier the approval is given for. @@ -167,7 +167,7 @@ $ bigchaindb election approve --private-key +$ planetmint election show status= ``` @@ -192,11 +192,11 @@ status= After a chain migration is concluded, the `show` command also outputs `chain_id`, `app_hash`, and `validators` for `genesis.json` of the new chain. -## bigchaindb tendermint-version +## planetmint tendermint-version Show the Tendermint versions supported by Planetmint server. ```bash -$ bigchaindb tendermint-version +$ planetmint tendermint-version { "description": "Planetmint supports the following Tendermint version(s)", "tendermint": [ diff --git a/docs/root/source/installation/node-setup/bigchaindb-node-ansible.md b/docs/root/source/installation/node-setup/bigchaindb-node-ansible.md index 53733d9..4d36470 100644 --- a/docs/root/source/installation/node-setup/bigchaindb-node-ansible.md +++ b/docs/root/source/installation/node-setup/bigchaindb-node-ansible.md @@ -2,6 +2,6 @@ You can find one of the installation methods with Ansible on GitHub at: -[Ansible script](https://github.com/bigchaindb/bigchaindb-node-ansible) +[Ansible script](https://github.com/planetmint/planetmint-node-ansible) It allows to install Planetmint, MongoDB, Tendermint, and python, and then connect nodes into a network. Current tested machine is Ubuntu 18.04. \ No newline at end of file diff --git a/docs/root/source/installation/node-setup/configuration.md b/docs/root/source/installation/node-setup/configuration.md index 330d359..783c322 100644 --- a/docs/root/source/installation/node-setup/configuration.md +++ b/docs/root/source/installation/node-setup/configuration.md @@ -21,13 +21,13 @@ The value of each setting is determined according to the following rules: * Otherwise, if it's set in a local config file, then use that value * Otherwise, use the default value -The local config file is `$HOME/.bigchaindb` by default (a file which might not even exist), but you can tell Planetmint to use a different file by using the `-c` command-line option, e.g. `bigchaindb -c path/to/config_file.json start` -or using the `PLANETMINT_CONFIG_PATH` environment variable, e.g. `BIGHAINDB_CONFIG_PATH=.my_bigchaindb_config bigchaindb start`. +The local config file is `$HOME/.planetmint` by default (a file which might not even exist), but you can tell Planetmint to use a different file by using the `-c` command-line option, e.g. `planetmint -c path/to/config_file.json start` +or using the `PLANETMINT_CONFIG_PATH` environment variable, e.g. `BIGHAINDB_CONFIG_PATH=.my_planetmint_config planetmint start`. Note that the `-c` command line option will always take precedence if both the `PLANETMINT_CONFIG_PATH` and the `-c` command line option are used. -You can read the current default values in the file [bigchaindb/\_\_init\_\_.py](https://github.com/bigchaindb/bigchaindb/blob/master/bigchaindb/__init__.py). (The link is to the latest version.) +You can read the current default values in the file [planetmint/\_\_init\_\_.py](https://github.com/planetmint/planetmint/blob/master/planetmint/__init__.py). (The link is to the latest version.) -Running `bigchaindb -y configure localmongodb` will generate a local config file in `$HOME/.bigchaindb` with all the default values. +Running `planetmint -y configure localmongodb` will generate a local config file in `$HOME/.planetmint` with all the default values. ## database.* @@ -84,7 +84,7 @@ export PLANETMINT_DATABASE_MAX_TRIES=3 **Default values** -If (no environment variables were set and there's no local config file), or you used `bigchaindb -y configure localmongodb` to create a default local config file for a `localmongodb` backend, then the defaults will be: +If (no environment variables were set and there's no local config file), or you used `planetmint -y configure localmongodb` to create a default local config file for a `localmongodb` backend, then the defaults will be: ```js "database": { @@ -213,7 +213,7 @@ different from where Planetmint is running. ```text export PLANETMINT_WSSERVER_ADVERTISED_SCHEME=wss -export PLANETMINT_WSSERVER_ADVERTISED_HOST=mybigchaindb.com +export PLANETMINT_WSSERVER_ADVERTISED_HOST=myplanetmint.com export PLANETMINT_WSSERVER_ADVERTISED_PORT=443 ``` @@ -222,7 +222,7 @@ export PLANETMINT_WSSERVER_ADVERTISED_PORT=443 ```js "wsserver": { "advertised_scheme": "wss", - "advertised_host": "mybigchaindb.com", + "advertised_host": "myplanetmint.com", "advertised_port": 443 } ``` @@ -246,8 +246,8 @@ The `log.*` settings are to configure logging. ```js { "log": { - "file": "/var/log/bigchaindb.log", - "error_file": "/var/log/bigchaindb-errors.log", + "file": "/var/log/planetmint.log", + "error_file": "/var/log/planetmint-errors.log", "level_console": "info", "level_logfile": "info", "datefmt_console": "%Y-%m-%d %H:%M:%S", @@ -263,8 +263,8 @@ The `log.*` settings are to configure logging. ```js { "log": { - "file": "~/bigchaindb.log", - "error_file": "~/bigchaindb-errors.log", + "file": "~/planetmint.log", + "error_file": "~/planetmint-errors.log", "level_console": "info", "level_logfile": "info", "datefmt_console": "%Y-%m-%d %H:%M:%S", @@ -278,7 +278,7 @@ The `log.*` settings are to configure logging. ### log.file The full path to the file where logs should be written. -The user running `bigchaindb` must have write access to the +The user running `planetmint` must have write access to the specified path. **Log rotation:** Log files have a size limit of about 200 MB diff --git a/docs/root/source/installation/node-setup/index.rst b/docs/root/source/installation/node-setup/index.rst index 08a3827..e7efc00 100644 --- a/docs/root/source/installation/node-setup/index.rst +++ b/docs/root/source/installation/node-setup/index.rst @@ -14,12 +14,12 @@ You can use the all-in-one docker solution, or install Tendermint, MongoDB, and deploy-a-machine aws-setup - all-in-one-bigchaindb - bigchaindb-node-ansible + all-in-one-planetmint + planetmint-node-ansible set-up-node-software set-up-nginx configuration - bigchaindb-cli + planetmint-cli troubleshooting production-node/index release-notes diff --git a/docs/root/source/installation/node-setup/production-node/node-assumptions.md b/docs/root/source/installation/node-setup/production-node/node-assumptions.md index cc1aa8e..4ee9d8f 100644 --- a/docs/root/source/installation/node-setup/production-node/node-assumptions.md +++ b/docs/root/source/installation/node-setup/production-node/node-assumptions.md @@ -9,7 +9,7 @@ Code is Apache-2.0 and docs are CC-BY-4.0 Be sure you know the key Planetmint terminology: -* [Planetmint node, Planetmint network and Planetmint consortium](https://docs.bigchaindb.com/en/latest/terminology.html) +* [Planetmint node, Planetmint network and Planetmint consortium](https://docs.planetmint.com/en/latest/terminology.html) Note that there are a few kinds of nodes: diff --git a/docs/root/source/installation/node-setup/production-node/reverse-proxy-notes.md b/docs/root/source/installation/node-setup/production-node/reverse-proxy-notes.md index 27e4ffe..732742c 100644 --- a/docs/root/source/installation/node-setup/production-node/reverse-proxy-notes.md +++ b/docs/root/source/installation/node-setup/production-node/reverse-proxy-notes.md @@ -28,7 +28,7 @@ Below, we note how a reverse proxy can be used to do some Planetmint-specific things. You may also be interested in -[our NGINX configuration file template](https://github.com/bigchaindb/nginx_3scale/blob/master/nginx.conf.template) +[our NGINX configuration file template](https://github.com/planetmint/nginx_3scale/blob/master/nginx.conf.template) (open source, on GitHub). @@ -55,4 +55,4 @@ For more information, see [the NGINX docs about client_max_body_size](https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size). Note: By enforcing a maximum transaction size, you -[indirectly enforce a maximum crypto-conditions complexity](https://github.com/bigchaindb/bigchaindb/issues/356#issuecomment-288085251). +[indirectly enforce a maximum crypto-conditions complexity](https://github.com/planetmint/planetmint/issues/356#issuecomment-288085251). diff --git a/docs/root/source/installation/node-setup/release-notes.md b/docs/root/source/installation/node-setup/release-notes.md index 609885e..4dfbe1c 100644 --- a/docs/root/source/installation/node-setup/release-notes.md +++ b/docs/root/source/installation/node-setup/release-notes.md @@ -9,8 +9,8 @@ Code is Apache-2.0 and docs are CC-BY-4.0 You can find a list of all Planetmint Server releases and release notes on GitHub at: -[https://github.com/bigchaindb/bigchaindb/releases](https://github.com/bigchaindb/bigchaindb/releases) +[https://github.com/planetmint/planetmint/releases](https://github.com/planetmint/planetmint/releases) -The [CHANGELOG.md file](https://github.com/bigchaindb/bigchaindb/blob/master/CHANGELOG.md) contains much the same information, but it also has notes about what to expect in the _next_ release. +The [CHANGELOG.md file](https://github.com/planetmint/planetmint/blob/master/CHANGELOG.md) contains much the same information, but it also has notes about what to expect in the _next_ release. -We also have [a roadmap document in ROADMAP.md](https://github.com/bigchaindb/org/blob/master/ROADMAP.md). +We also have [a roadmap document in ROADMAP.md](https://github.com/planetmint/org/blob/master/ROADMAP.md). diff --git a/docs/root/source/installation/node-setup/set-up-nginx.md b/docs/root/source/installation/node-setup/set-up-nginx.md index 689c0b7..aa4f486 100644 --- a/docs/root/source/installation/node-setup/set-up-nginx.md +++ b/docs/root/source/installation/node-setup/set-up-nginx.md @@ -31,7 +31,7 @@ Get an SSL certificate for your node's subdomain (such as `bnode.example.com`). * Create a "PEM file" (text file) by concatenating your SSL certificate with all intermediate certificates (_in that order, with the intermediate certs last_). * Copy that PEM file into `/etc/nginx/ssl/cert.pem` * In the - [bigchaindb/bigchaindb repository on GitHub](https://github.com/bigchaindb/bigchaindb), + [planetmint/planetmint repository on GitHub](https://github.com/planetmint/planetmint), find the file `nginx/nginx.conf` and copy its contents to `/etc/nginx/nginx.conf` on your machine (i.e. replace the existing file there). * Edit that file (`/etc/nginx/nginx.conf`): replace the two instances of diff --git a/docs/root/source/installation/node-setup/set-up-node-software.md b/docs/root/source/installation/node-setup/set-up-node-software.md index ee0e99d..f7aee12 100644 --- a/docs/root/source/installation/node-setup/set-up-node-software.md +++ b/docs/root/source/installation/node-setup/set-up-node-software.md @@ -36,17 +36,17 @@ For example, to install version 2.2.2, you would do: ``` # Change 2.0.0 to the latest version as explained above: -sudo pip3 install bigchaindb==2.2.2 +sudo pip3 install planetmint==2.2.2 ``` -Check that you installed the correct version of Planetmint Server using `bigchaindb --version`. +Check that you installed the correct version of Planetmint Server using `planetmint --version`. ## Configure Planetmint Server To configure Planetmint Server, run: ``` -bigchaindb configure +planetmint configure ``` The first question is ``API Server bind? (default `localhost:9984`)``. @@ -58,7 +58,7 @@ The first question is ``API Server bind? (default `localhost:9984`)``. You can accept the default value for all other Planetmint config settings. If you're using NGINX, then you should edit your Planetmint config file -(in `$HOME/.bigchaindb` by default) and set the following values +(in `$HOME/.planetmint` by default) and set the following values under `"wsserver"`: ``` diff --git a/docs/root/source/installation/node-setup/troubleshooting.md b/docs/root/source/installation/node-setup/troubleshooting.md index 036046e..266488a 100644 --- a/docs/root/source/installation/node-setup/troubleshooting.md +++ b/docs/root/source/installation/node-setup/troubleshooting.md @@ -36,7 +36,7 @@ addr_book_strict = false If you want to refresh your node back to a fresh empty state, then your best bet is to terminate it and deploy a new machine, but if that's not an option, then you can: -* drop the `bigchain` database in MongoDB using `bigchaindb drop` (but that only works if MongoDB is running) +* drop the `bigchain` database in MongoDB using `planetmint drop` (but that only works if MongoDB is running) * reset Tendermint using `tendermint unsafe_reset_all` * delete the directory `$HOME/.tendermint` @@ -46,45 +46,45 @@ If you want to stop/kill Planetmint, you can do so by sending `SIGINT`, `SIGQUIT process(es). Depending on how you started Planetmint i.e. foreground or background. e.g. you started Planetmint in the background as mentioned above in the guide: ```bash -$ nohup bigchaindb start 2>&1 > bigchaindb.log & +$ nohup planetmint start 2>&1 > planetmint.log & $ # Check the PID of the main Planetmint process -$ ps -ef | grep bigchaindb - *