mirror of
https://github.com/planetmint/planetmint.git
synced 2025-03-30 15:08:31 +00:00
Merge branch 'main' of https://github.com/emotemot/planetmint into emotemot-main
This commit is contained in:
commit
93e994a172
@ -9,7 +9,7 @@ import json
|
||||
import os
|
||||
import os.path
|
||||
|
||||
from planetmint.common.transaction import Transaction, Input, TransactionLink
|
||||
from planetmint.iomon.transaction import Transaction, Input, TransactionLink
|
||||
from planetmint import lib
|
||||
from planetmint.web import server
|
||||
|
||||
|
@ -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.planetmint.com/what-is-a-valid-transaction-in-planetmint-9a1a075a9598)
|
||||
["What is a Valid Transaction in Planetmint?"](https://blog.planetmint.io/what-is-a-valid-transaction-in-planetmint-9a1a075a9598)
|
||||
(Note: That post was about Planetmint Server v1.0.0.)
|
||||
|
||||
### Example Transactions
|
||||
|
@ -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@planetmint.com](mailto:contact@planetmint.com). All
|
||||
reported by contacting a project maintainer at [contact@ipdb.global](mailto:contact@ipdb.global). 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
|
||||
|
@ -27,7 +27,7 @@ We use `0.9` and `0.9.0` as example version and short-version values below. You
|
||||
|
||||
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.
|
||||
The following steps are what we do to release a new version of _Planetmint Server_. The steps to release the Python Driver are similar but not the same.
|
||||
|
||||
## Steps
|
||||
|
||||
|
@ -107,7 +107,7 @@ $ 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.planetmint.com/projects/py-driver/en/latest/index.html)
|
||||
See the [Planetmint Python Driver documentation](https://docs.planetmint.io/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,7 +121,7 @@ OR
|
||||
bdb_root_url = http://<HOST-IP>:<DOCKER-PUBLISHED-PORT>
|
||||
```
|
||||
|
||||
**Note**: Planetmint has [other drivers as well](http://docs.planetmint.com/projects/server/en/latest/drivers-clients/index.html).
|
||||
**Note**: Planetmint has [other drivers as well](http://docs.planetmint.io/projects/server/en/latest/drivers-clients/index.html).
|
||||
|
||||
### Experimental: Running Ansible a Remote Dev/Host
|
||||
#### Remote Setup
|
||||
|
@ -70,7 +70,7 @@ The commands are:
|
||||
export PATH=${PATH}:${GOPATH}/bin
|
||||
```
|
||||
|
||||
Follow [the Tendermint docs](https://tendermint.com/docs/introduction/install.html#from-source) to install Tendermint from source.
|
||||
Follow [the Tendermint docs](https://tendermint.io/docs/introduction/install.html#from-source) to install Tendermint from source.
|
||||
|
||||
If the installation is successful then Tendermint is installed at `$GOPATH/bin`. To ensure Tendermint's installed fine execute the following command,
|
||||
|
||||
|
@ -22,7 +22,7 @@ People ask questions about Planetmint in the following places:
|
||||
|
||||
- Gitter
|
||||
- [planetmint/planetmint](https://gitter.im/planetmint/community)
|
||||
- [planetmint/js-bigchaindb-driver](https://gitter.im/planetmint/community))
|
||||
- [planetmint/js-planetmint-driver](https://gitter.im/planetmint/community))
|
||||
- [Twitter](https://twitter.com/planetmint)
|
||||
- [Stack Overflow "planetmint"](https://stackoverflow.com/search?q=planetmint)
|
||||
|
||||
|
@ -9,13 +9,13 @@ Drivers
|
||||
|
||||
Connectors to Planetmint are referred to as drivers within the community. A driver is used to create valid transactions, to generate key pairs, to sign transactions and to post the transaction to the Planetmint API.
|
||||
|
||||
These drivers were originally created by the original Planetmint team:
|
||||
These drivers were originally created by the original BigchainDB team:
|
||||
Planetmint
|
||||
* `Python Driver <https://docs.planetmint.io/projects/py-driver/en/latest/index.html>`_
|
||||
* `JavaScript / Node.js Driver <https://github.com/bigchaindb/js-bigchaindb-driver>`_
|
||||
* `Java Driver <https://github.com/bigchaindb/java-bigchaindb-driver>`_
|
||||
|
||||
* `Python Driver <https://docs.planetmint.com/projects/py-driver/en/latest/index.html>`_
|
||||
* `JavaScript / Node.js Driver <https://github.com/planetmint/js-bigchaindb-driver>`_
|
||||
* `Java Driver <https://github.com/planetmint/java-bigchaindb-driver>`_
|
||||
|
||||
These drivers and tools were created by the Planetmint community:
|
||||
These drivers and tools were created by the BigchainDB community:
|
||||
|
||||
.. warning::
|
||||
|
||||
@ -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 <https://github.com/RiddleAndCode/planetmint-c-driver>`_, should also work with C++ (working as of June 2019)
|
||||
* `C# driver <https://github.com/Omnibasis/planetmint-csharp-driver>`_ (working as of May 2019)
|
||||
* `Haskell transaction builder <https://github.com/planetmint/planetmint-hs>`_
|
||||
* `ANSI C driver <https://github.com/RiddleAndCode/bigchaindb-c-driver>`_, should also work with C++ (working as of June 2019)
|
||||
* `C# driver <https://github.com/Omnibasis/bigchaindb-csharp-driver>`_ (working as of May 2019)
|
||||
* `Haskell transaction builder <https://github.com/bigchaindb/bigchaindb-hs>`_
|
||||
* `Go driver <https://github.com/zbo14/envoke/blob/master/bigchain/planet.go>`_
|
||||
* `Ruby driver <https://github.com/LicenseRocks/planetmint_ruby>`_
|
||||
* `Ruby driver <https://github.com/LicenseRocks/bigchaindb_ruby>`_
|
||||
* `Ruby library for preparing/signing transactions and submitting them or querying a Planetmint node (MIT licensed) <https://rubygems.org/gems/planetmint>`_
|
||||
|
@ -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 <https://docs.planetmint.com/en/latest/query.html>`_.
|
||||
`the page about querying Planetmint <https://docs.planetmint.io/en/latest/query.html>`_.
|
||||
|
||||
.. http:get:: /api/v1/transactions/{transaction_id}
|
||||
|
||||
@ -147,11 +147,11 @@ Transactions Endpoint
|
||||
If it's invalid, the node will return an HTTP 400 (error).
|
||||
Otherwise, the node will send the transaction to Tendermint (in the same node) using the
|
||||
`Tendermint broadcast API
|
||||
<https://tendermint.com/docs/tendermint-core/using-tendermint.html#broadcast-api>`_.
|
||||
<https://tendermint.io/docs/tendermint-core/using-tendermint.html#broadcast-api>`_.
|
||||
|
||||
The meaning of the ``mode`` query parameter is inherited from the mode parameter in
|
||||
`Tendermint's broadcast API
|
||||
<https://tendermint.com/docs/tendermint-core/using-tendermint.html#broadcast-api>`_.
|
||||
<https://tendermint.io/docs/tendermint-core/using-tendermint.html#broadcast-api>`_.
|
||||
``mode=async`` means the HTTP response will come back immediately,
|
||||
before Tendermint asks Planetmint Server to check the validity of the transaction (a second time).
|
||||
``mode=sync`` means the HTTP response will come back
|
||||
@ -176,7 +176,7 @@ Transactions Endpoint
|
||||
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
|
||||
<https://docs.planetmint.com/projects/py-driver/en/latest/index.html>`_
|
||||
<https://docs.planetmint.io/projects/py-driver/en/latest/index.html>`_
|
||||
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 <https://docs.planetmint.com/en/latest/query.html>`_.
|
||||
`the page about querying Planetmint <https://docs.planetmint.io/en/latest/query.html>`_.
|
||||
|
||||
.. 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 <https://docs.planetmint.com/en/latest/query.html>`_.
|
||||
`the page about querying Planetmint <https://docs.planetmint.io/en/latest/query.html>`_.
|
||||
|
||||
.. http:get:: /api/v1/assets
|
||||
|
||||
@ -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 <https://docs.planetmint.com/en/latest/query.html>`_.
|
||||
`the page about querying Planetmint <https://docs.planetmint.io/en/latest/query.html>`_.
|
||||
|
||||
.. http:get:: /api/v1/metadata
|
||||
|
||||
|
@ -4,7 +4,7 @@ Content-Type: application/json
|
||||
{
|
||||
"assets": "/assets/",
|
||||
"blocks": "/blocks/",
|
||||
"docs": "https://docs.planetmint.com/projects/server/en/v0.9.0/http-client-server-api.html",
|
||||
"docs": "https://docs.planetmint.io/projects/server/en/v0.9.0/http-client-server-api.html",
|
||||
"metadata": "/metadata/",
|
||||
"outputs": "/outputs/",
|
||||
"streams": "ws://localhost:9985/api/v1/streams/valid_transactions",
|
||||
|
@ -6,7 +6,7 @@ Content-Type: application/json
|
||||
"v1": {
|
||||
"assets": "/api/v1/assets/",
|
||||
"blocks": "/api/v1/blocks/",
|
||||
"docs": "https://docs.planetmint.com/projects/server/en/v0.9.0/http-client-server-api.html",
|
||||
"docs": "https://docs.planetmint.io/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.planetmint.com/projects/server/en/v0.9.0/",
|
||||
"docs": "https://docs.planetmint.io/projects/server/en/v0.9.0/",
|
||||
"software": "Planetmint",
|
||||
"version": "0.9.0"
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ Planetmint Node Diagram
|
||||
| +-----------+ +--------+ | | |
|
||||
| | +-------------+ | | | |
|
||||
| | | | | "Bi+directional, communication between" |
|
||||
| | | | | "BigchainDBAPP) and Tendermint" |
|
||||
| | | | | "PlanetmintAPP) and Tendermint" |
|
||||
| | | | | "BFT consensus Engine" |
|
||||
| | | | | |
|
||||
| v v | | |
|
||||
|
@ -166,7 +166,11 @@ 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
|
||||
<<<<<<< HEAD
|
||||
<https://docs.planetmint.com/en/latest/terminology.html>`_ or are using
|
||||
=======
|
||||
<https://docs.planetmint.io/en/latest/terminology.html>`_ or are using
|
||||
>>>>>>> 3bfc3298f8210b135084e823eedd47f213538088
|
||||
HTTPS certificates tied to a domain.
|
||||
|
||||
* The following command can help you find out if the NGINX service started
|
||||
|
@ -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.planetmint.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.io/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.planetmint.com/en/latest/decentralized.html) and [node diversity](https://docs.planetmint.com/en/latest/diversity.html).
|
||||
to some extent, on the decentralization of the associated consortium. See the pages about [decentralization](https://docs.planetmint.io/en/latest/decentralized.html) and [node diversity](https://docs.planetmint.io/en/latest/diversity.html).
|
||||
|
||||
## DNS Records and SSL Certificates
|
||||
|
||||
|
@ -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.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).
|
||||
- [Planetmint developer setup guides](https://docs.planetmint.io/projects/contributing/en/latest/dev-setup-coding-and-contribution-process/index.html).
|
||||
- [Planetmint with Kubernetes](http://docs.planetmint.io/projects/server/en/latest/k8s-deployment-template/index.html).
|
||||
|
||||
## Prerequisite(s)
|
||||
- [Docker](https://docs.docker.com/engine/installation/)
|
||||
|
@ -37,7 +37,7 @@ The settings with names of the form `database.*` are for the backend database
|
||||
* `database.backend` can only be `localmongodb`, currently.
|
||||
* `database.host` is the hostname (FQDN) of the backend database.
|
||||
* `database.port` is self-explanatory.
|
||||
* `database.name` is a user-chosen name for the database inside MongoDB, e.g. `bigchain`.
|
||||
* `database.name` is a user-chosen name for the database inside MongoDB, e.g. `planetmint`.
|
||||
* `database.connection_timeout` is the maximum number of milliseconds that Planetmint will wait before giving up on one attempt to connect to the backend database.
|
||||
* `database.max_tries` is the maximum number of times that Planetmint will try to establish a connection with the backend database. If 0, then it will try forever.
|
||||
* `database.replicaset` is the name of the MongoDB replica set. The default value is `null` because in Planetmint 2.0+, each Planetmint node has its own independent MongoDB database and no replica set is necessary. Replica set must already exist if this option is configured, Planetmint will not create it.
|
||||
@ -51,7 +51,7 @@ If you use all the default Planetmint configuration settings, then no authentica
|
||||
|
||||
**Username/Password Authentication**
|
||||
|
||||
To use username/password authentication, a MongoDB instance must already be running somewhere (maybe in another machine), it must already have a database for use by Planetmint (usually named `bigchain`, which is the default `database.name`), and that database must already have a "readWrite" user with associated username and password. To create such a user, login to your MongoDB instance as Admin and run the following commands:
|
||||
To use username/password authentication, a MongoDB instance must already be running somewhere (maybe in another machine), it must already have a database for use by Planetmint (usually named `planetmint`, which is the default `database.name`), and that database must already have a "readWrite" user with associated username and password. To create such a user, login to your MongoDB instance as Admin and run the following commands:
|
||||
|
||||
```text
|
||||
use <database.name>
|
||||
@ -64,7 +64,7 @@ db.createUser({user: "<database.login>", pwd: "<database.password>", roles: [{ro
|
||||
|
||||
**x.509 Certificate Authentication**
|
||||
|
||||
To use x.509 certificate authentication, a MongoDB instance must be running somewhere (maybe in another machine), it must already have a database for use by Planetmint (usually named `bigchain`, which is the default `database.name`), and that database must be set up to use x.509 authentication. See the MongoDB docs about how to do that.
|
||||
To use x.509 certificate authentication, a MongoDB instance must be running somewhere (maybe in another machine), it must already have a database for use by Planetmint (usually named `planetmint`, which is the default `database.name`), and that database must be set up to use x.509 authentication. See the MongoDB docs about how to do that.
|
||||
|
||||
* `database.login` is the user's username.
|
||||
* `database.password` isn't used so the default value (`null`) is fine.
|
||||
@ -91,7 +91,7 @@ If (no environment variables were set and there's no local config file), or you
|
||||
"backend": "localmongodb",
|
||||
"host": "localhost",
|
||||
"port": 27017,
|
||||
"name": "bigchain",
|
||||
"name": "planetmint",
|
||||
"connection_timeout": 5000,
|
||||
"max_tries": 3,
|
||||
"replicaset": null,
|
||||
@ -213,7 +213,7 @@ different from where Planetmint is running.
|
||||
|
||||
```text
|
||||
export PLANETMINT_WSSERVER_ADVERTISED_SCHEME=wss
|
||||
export PLANETMINT_WSSERVER_ADVERTISED_HOST=myplanetmint.com
|
||||
export PLANETMINT_WSSERVER_ADVERTISED_HOST=myplanetmint.io
|
||||
export PLANETMINT_WSSERVER_ADVERTISED_PORT=443
|
||||
```
|
||||
|
||||
@ -222,7 +222,7 @@ export PLANETMINT_WSSERVER_ADVERTISED_PORT=443
|
||||
```js
|
||||
"wsserver": {
|
||||
"advertised_scheme": "wss",
|
||||
"advertised_host": "myplanetmint.com",
|
||||
"advertised_host": "myplanetmint.io",
|
||||
"advertised_port": 443
|
||||
}
|
||||
```
|
||||
@ -283,14 +283,14 @@ specified path.
|
||||
|
||||
**Log rotation:** Log files have a size limit of about 200 MB
|
||||
and will be rotated up to five times.
|
||||
For example, if `log.file` is set to `"~/planet.log"`, then
|
||||
logs would always be written to `planet.log`. Each time the file
|
||||
`planet.log` reaches 200 MB it will be closed and renamed
|
||||
`planet.log.1`. If `planet.log.1` and `planet.log.2` already exist they
|
||||
would be renamed `planet.log.2` and `planet.log.3`. This pattern would be
|
||||
applied up to `planet.log.5` after which `planet.log.5` would be
|
||||
overwritten by `planet.log.4`, thus ending the rotation cycle of whatever
|
||||
logs were in `planet.log.5`.
|
||||
For example, if `log.file` is set to `"~/planetmint.log"`, then
|
||||
logs would always be written to `planetmint.log`. Each time the file
|
||||
`planetmint.log` reaches 200 MB it will be closed and renamed
|
||||
`planetmint.log.1`. If `planetmint.log.1` and `planetmint.log.2` already exist they
|
||||
would be renamed `planetmint.log.2` and `planetmint.log.3`. This pattern would be
|
||||
applied up to `planetmint.log.5` after which `planetmint.log.5` would be
|
||||
overwritten by `planetmint.log.4`, thus ending the rotation cycle of whatever
|
||||
logs were in `planetmint.log.5`.
|
||||
|
||||
### log.error_file
|
||||
|
||||
@ -386,7 +386,7 @@ where it can connect to the node's Tendermint instance.
|
||||
```text
|
||||
export PLANETMINT_TENDERMINT_HOST=tendermint
|
||||
export PLANETMINT_TENDERMINT_PORT=26657
|
||||
```
|
||||
```Planetmint
|
||||
|
||||
**Default values**
|
||||
|
||||
|
@ -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.planetmint.com/en/latest/terminology.html)
|
||||
* [Planetmint node, Planetmint network and Planetmint consortium](https://docs.planetmint.io/en/latest/terminology.html)
|
||||
|
||||
Note that there are a few kinds of nodes:
|
||||
|
||||
|
@ -11,7 +11,7 @@ Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
|
||||
## OS Requirements
|
||||
|
||||
Planetmint Server requires Python 3.5+ and Python 3.5+ [will run on any modern OS](https://docs.python.org/3.5/using/index.html), but we recommend using an LTS version of [Ubuntu Server](https://www.ubuntu.com/server) or a similarly server-grade Linux distribution.
|
||||
Planetmint Server requires Python 3.9+ and Python 3.9+ [will run on any modern OS](https://docs.python.org/3.5/using/index.html), but we recommend using an LTS version of [Ubuntu Server](https://www.ubuntu.com/server) or a similarly server-grade Linux distribution.
|
||||
|
||||
_Don't use macOS_ (formerly OS X, formerly Mac OS X), because it's not a server-grade operating system. Also, Planetmint Server uses the Python multiprocessing package and [some functionality in the multiprocessing package doesn't work on Mac OS X](https://docs.python.org/3.9/library/multiprocessing.html#multiprocessing.Queue.qsize).
|
||||
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
## Tendermint Tips
|
||||
|
||||
* [Configure Tendermint to create no empty blocks](https://tendermint.com/docs/tendermint-core/using-tendermint.html#no-empty-blocks).
|
||||
* Store the Tendermint data on a fast drive. You can do that by changing [the location of TMHOME](https://tendermint.com/docs/tendermint-core/using-tendermint.html#directory-root) to be on the fast drive.
|
||||
* [Configure Tendermint to create no empty blocks](https://tendermint.io/docs/tendermint-core/using-tendermint.html#no-empty-blocks).
|
||||
* Store the Tendermint data on a fast drive. You can do that by changing [the location of TMHOME](https://tendermint.io/docs/tendermint-core/using-tendermint.html#directory-root) to be on the fast drive.
|
||||
|
||||
See the [Tendermint tips in the vrde/notes repository](https://github.com/vrde/notes/tree/master/tendermint).
|
||||
|
||||
@ -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 `planetmint drop` (but that only works if MongoDB is running)
|
||||
* drop the `planetmint` 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`
|
||||
|
||||
|
@ -72,7 +72,7 @@ To develop an app that talks to a Planetmint network, you'll want a test network
|
||||
Create a transaction and post it to the test network:
|
||||
|
||||
<div class="buttondiv">
|
||||
<a class="button" href="https://www.planetmint.com/developers/getstarted/">Try Planetmint Now</a>
|
||||
<a class="button" href="https://www.planetmint.io/developers/getstarted/">Try Planetmint Now</a>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
@ -3,17 +3,22 @@
|
||||
SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
||||
Code is Apache-2.0 and docs are CC-BY-4.0 -->
|
||||
|
||||
BigchainDB가 자산 등록 및 전송에 적합한 방법
|
||||
Planetmint가 자산 등록 및 전송에 적합한 방법
|
||||
==========================================================
|
||||
|
||||
BigchainDB는 모든 종류의 데이터를 저장할 수 있지만 자산 등록 및 전송을 저장하는 데 특히 유용합니다.:
|
||||
Planetmint는 모든 종류의 데이터를 저장할 수 있지만 자산 등록 및 전송을 저장하는 데 특히 유용합니다.:
|
||||
|
||||
* Planetmint 네트워크에 전송되어 체크되고 저장되는 (있는 경우) 트랜잭션은 기본적으로 CREATE 트랜잭션과 TRANSFER 트랜잭션의 두 가지가 있습니다.
|
||||
* CREATE 트랜잭션은 임의의 메타 데이터와 함께 모든 종류의 자산 (나눌 수 없거나 분할 할 수없는)을 등록하는 데 사용할 수 있습니다.
|
||||
* 저작물에는 0 명, 1 명 또는 여러 명의 소유자가있을 수 있습니다.
|
||||
* 자산 소유자는 자산을 신규 소유자에게 양도하려는 사람이 만족해야하는 조건을 지정할 수 있습니다. 예를 들어 5 명의 현재 소유자 중 최소 3 명이 TRANSFER 트랜잭션에 암호를 사용해야합니다.
|
||||
<<<<<<< HEAD
|
||||
* BigchainDB는 TRANSFER 트랜잭션의 유효성을 검사하는 과정에서 조건이 충족되었는지 확인합니다. (또한 누구나 만족하는지 확인할 수 있습니다.)
|
||||
* BigchainDB는 자산의 이중 지출을 방지합니다.
|
||||
=======
|
||||
* Planetmint는 TRANSFER 트랜잭션의 유효성을 검사하는 과정에서 조건이 충족되었는지 확인합니다. (또한 누구나 만족하는지 확인할 수 있습니다.)
|
||||
* Planetmint는 자산의 이중 지출을 방지합니다.
|
||||
>>>>>>> 3bfc3298f8210b135084e823eedd47f213538088
|
||||
* 유효성이 검증 된 트랜잭션은 [변경불가능](https://github.com/planetmint/planetmint/blob/master/docs/root/source/korean/immutable-ko.md) 입니다.
|
||||
|
||||
Note
|
||||
|
@ -5,9 +5,14 @@ SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
||||
Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
--->
|
||||
|
||||
# BigchainDB와 Byzantine Fault Tolerance
|
||||
# Planetmint와 Byzantine Fault Tolerance
|
||||
|
||||
<<<<<<< HEAD
|
||||
[Planetmint Server](https://docs.planetmint.com/projects/server/en/latest/index.html)
|
||||
는 블록체인 합의와 트랜잭션 복제에 [Tendermint](https://tendermint.com/)를 사용합니다.
|
||||
=======
|
||||
[Planetmint Server](https://docs.planetmint.io/projects/server/en/latest/index.html)
|
||||
는 블록체인 합의와 트랜잭션 복제에 [Tendermint](https://tendermint.io/)를 사용합니다.
|
||||
>>>>>>> 3bfc3298f8210b135084e823eedd47f213538088
|
||||
|
||||
그리고 Tendermint 는 [Byzantine Fault Tolerant (BFT)](https://en.wikipedia.org/wiki/Byzantine_fault_tolerance).
|
||||
|
@ -17,7 +17,7 @@ Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
|
||||
Planetmint 네트워크에는 오래된 특정한 위치를 가지는 노드가 없습니다. 모든 노드들은 동일한 소프트웨어를 실행하고 동일한 작업을 수행합니다.
|
||||
|
||||
만약 노드에 대한 관리자 접근 권한이 있는 경우, 해당 노드를 제거할 수 있지만(예: 해당 노드에 저장된 데이터 변경 또는 삭제), 이러한 변경 사항은 해당 노드에 분리된 상태로 유지되어야 합니다. Planetmint 네트워크는 노드의 3분의 1 이상이 손상된 경우에만 손상될 수 있습니다. 자세한 내용은 [Tendermint 문서](https://tendermint.com/docs/introduction/introduction.html)을 참조하십시오.
|
||||
만약 노드에 대한 관리자 접근 권한이 있는 경우, 해당 노드를 제거할 수 있지만(예: 해당 노드에 저장된 데이터 변경 또는 삭제), 이러한 변경 사항은 해당 노드에 분리된 상태로 유지되어야 합니다. Planetmint 네트워크는 노드의 3분의 1 이상이 손상된 경우에만 손상될 수 있습니다. 자세한 내용은 [Tendermint 문서](https://tendermint.io/docs/introduction/introduction.html)을 참조하십시오.
|
||||
|
||||
노드의 관리자나 슈퍼 유저도 자산을 전송할 수 없다는 점에 유의하십시오. 유효한 전송 트랜잭션을 생성하는 유일한 방법은 자산에 대한 현재 암호화 조건을 충족하는 것이며 관리자/슈퍼사용자는 필요한 정보를 가지고 있지 않기 때문에 이 작업을 수행할 수 없습니다(예: 개인 키).
|
||||
|
||||
|
@ -15,4 +15,4 @@ Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
1. **호스팅 다양성.** 서버는 여러 호스팅 공급자(ex. Amazon Web Services, Microsoft Azure, Digital Oceure, Rackspace)가 호스팅해야 합니다. 이는 하나의 호스팅 공급자가 '상당 수'의 노드에 영향을 미치기가 어려워집니다.
|
||||
1. **일반적인 의미의 다양성.** 일반적으로 멤버십 다양성은 컨소시엄에 많은 이점을 줍니다. 예를 들어, 그것은 문제 해결에 필요한 다양한 아이디어 소스를 컨소시엄에 제공합니다.
|
||||
|
||||
참고: 모든 노드가 동일한 코드(ex. BigchainDB의 동일한 구현)를 실행하고 있는 경우, 해당 코드의 버그를 사용하여 모든 노드를 손상시킬 수 있습니다. 이상적으로는 Planetmint 서버(예: Python, Go 등)에서 운영되고 있는 다양한 구현이 있어, 컨소시엄은 다양한 서버 구현을 할 수 있을 것입니다. 운영 체제에 대해서도 이는 유사하게 적용됩니다.
|
||||
참고: 모든 노드가 동일한 코드(ex. Planetmint의 동일한 구현)를 실행하고 있는 경우, 해당 코드의 버그를 사용하여 모든 노드를 손상시킬 수 있습니다. 이상적으로는 Planetmint 서버(예: Python, Go 등)에서 운영되고 있는 다양한 구현이 있어, 컨소시엄은 다양한 서버 구현을 할 수 있을 것입니다. 운영 체제에 대해서도 이는 유사하게 적용됩니다.
|
||||
|
@ -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
|
||||
--->
|
||||
|
||||
# 어떻게 BigchainDB는 불변성을 갖는가
|
||||
# 어떻게 Planetmint는 불변성을 갖는가
|
||||
|
||||
*Imunable*이라는 단어는 "시간 경과에 따른 불변성"을 의미합니다. 예를 들어, π의 10진수 값은 변경할 수 없습니다(3.14159...).
|
||||
|
||||
@ -19,9 +19,9 @@ Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
1. **복제.** 모든 데이터는 여러 곳에 복제(복사)됩니다. 복제 팩터가 높을수록, 모든 복제본을 변경하거나 삭제하기가 더 어려워집니다.
|
||||
1. **내부 감시 장치.** 모든 노드가 모든 변경 사항을 모니터링하고 허용되지 않은 변경 사항이 발생하면 적절한 조치를 취할 수 있습니다.
|
||||
1. **외부 감시 장치.** 컨소시엄은 부정행위를 찾아 데이터를 모니터링하고 감사할 수 있는 검증된 제 3자를 선택할 수 있습니다. 공개적으로 읽을 수 있는 데이터를 가진 컨소시엄의 경우, 대중은 감사자 역할을 할 수 있습니다.
|
||||
1. **경제적 인센티브.** 일부 블록체인 시스템은 기존의 저장된 데이터를 변경하는 데 많은 비용이 들게 합니다. 그 예로 작업 증명 및 지분 증명 시스템이 있습니다. BigchainDB의 경우에는 이런 인센티브를 사용하지 않습니다.
|
||||
1. **경제적 인센티브.** 일부 블록체인 시스템은 기존의 저장된 데이터를 변경하는 데 많은 비용이 들게 합니다. 그 예로 작업 증명 및 지분 증명 시스템이 있습니다. Planetmint의 경우에는 이런 인센티브를 사용하지 않습니다.
|
||||
1. 변화에 대한 손쉬운 실행 취소를 위해 오류 수정 코드와 같은 고급 기술을 사용해 데이터를 저장할 수 있습니다
|
||||
1. **암호화폐의 표식**은 종종 메시지(예: 트랜잭션)가 도중에 손상되었는지 확인하고 메시지에 서명한 사용자를 확인하는 방법으로 사용됩니다. BigchainDB에서는 각 트랜잭션에 한 명 이상의 당사자가 서명해야 합니다
|
||||
1. **암호화폐의 표식**은 종종 메시지(예: 트랜잭션)가 도중에 손상되었는지 확인하고 메시지에 서명한 사용자를 확인하는 방법으로 사용됩니다. Planetmint에서는 각 트랜잭션에 한 명 이상의 당사자가 서명해야 합니다
|
||||
1. **전체 또는 부분적 백업**은 때때로 자기 테이프 저장소, 기타 블록체인, 인쇄물 등에 기록될 수 있습니다.
|
||||
1. **강력한 보안** 노드 소유자는 강력한 보안 정책을 채택하고 적용할 수 있습니다.
|
||||
1. **노드 다양성.** 다양성으로 인해서 한 가지 요소(예: 자연 재해 또는 운영 체제 버그)가 상당 수의 노드를 손상시킬 수 없도록 합니다. [노드 다양성의 종류에 대한 섹션](https://github.com/planetmint/planetmint/blob/master/docs/root/source/korean/diversity-ko.md)을 참조하세요.
|
||||
|
@ -7,7 +7,7 @@
|
||||
Planetmint 문서
|
||||
========================
|
||||
|
||||
블록체인 데이터베이스인 BigchainDB를 만나보세요.
|
||||
블록체인 데이터베이스인 Planetmint를 만나보세요.
|
||||
|
||||
`분산형 <https://github.com/planetmint/planetmint/blob/master/docs/root/source/korean/decentralized_kor.md>`_, `불변성 <https://github.com/planetmint/planetmint/blob/master/docs/root/source/korean/immutable-ko.md>`_ 및 `자산에 대한 네이티브 지원 <https://github.com/planetmint/planetmint/blob/master/docs/root/source/korean/assets_ko.md>`_ 을 포함한 일부 데이터베이스 특성들과 블록체인 특성을 가지고 있습니다.
|
||||
|
||||
@ -56,6 +56,7 @@ Planetmint 문서
|
||||
</style>
|
||||
|
||||
<div class="buttondiv">
|
||||
<<<<<<< HEAD
|
||||
<a class="button" href="http://planetmint.com/http-api">HTTP API 문서</a>
|
||||
</div>
|
||||
<div class="buttondiv">
|
||||
@ -72,10 +73,28 @@ Planetmint 문서
|
||||
</div>
|
||||
<div class="buttondiv">
|
||||
<a class="button" href="http://docs.planetmint.com/projects/server/en/latest/quickstart.html">서버 빠른 시작</a>
|
||||
=======
|
||||
<a class="button" href="http://planetmint.io/http-api">HTTP API 문서</a>
|
||||
</div>
|
||||
<div class="buttondiv">
|
||||
<a class="button" href="http://docs.planetmint.io/projects/contributing/en/latest/index.html">Planetmint에 기여하는 법</a>
|
||||
</div>
|
||||
<div class="buttondiv">
|
||||
<a class="button" href="http://docs.planetmint.io/projects/py-driver/en/latest/index.html">파이썬 드라이버 문서</a>
|
||||
</div>
|
||||
<div class="buttondiv">
|
||||
<a class="button" href="https://docs.planetmint.io/projects/js-driver/en/latest/index.html">자바스크립트 드라이버 문서</a>
|
||||
</div>
|
||||
<div class="buttondiv">
|
||||
<a class="button" href="http://docs.planetmint.io/projects/server/en/latest/index.html">서버 문서</a>
|
||||
</div>
|
||||
<div class="buttondiv">
|
||||
<a class="button" href="http://docs.planetmint.io/projects/server/en/latest/quickstart.html">서버 빠른 시작</a>
|
||||
>>>>>>> 3bfc3298f8210b135084e823eedd47f213538088
|
||||
</div>
|
||||
|
||||
|
||||
BigchainDB에 대한 추가 정보
|
||||
Planetmint에 대한 추가 정보
|
||||
-------------------------------------------------------
|
||||
|
||||
.. toctree::
|
||||
@ -95,4 +114,8 @@ BigchainDB에 대한 추가 정보
|
||||
store-files_ko
|
||||
permissions-ko
|
||||
private-data-ko
|
||||
<<<<<<< HEAD
|
||||
Data Models <https://docs.planetmint.com/projects/server/en/latest/data-models/index.html>
|
||||
=======
|
||||
Data Models <https://docs.planetmint.io/projects/server/en/latest/data-models/index.html>
|
||||
>>>>>>> 3bfc3298f8210b135084e823eedd47f213538088
|
||||
|
@ -7,12 +7,12 @@ Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
|
||||
# Planetmint 사용 권한
|
||||
|
||||
BigchainDB를 사용하면 다른 사용자가 할 수 있는 것을 어느 정도 제어할 수 있습니다.
|
||||
Planetmint를 사용하면 다른 사용자가 할 수 있는 것을 어느 정도 제어할 수 있습니다.
|
||||
이 능력은 \*nix환경에서의 "권한", SQL에서의 "특권", 보안 환경에서의 "액세스 제어"와 유사합니다.
|
||||
|
||||
## 출력 지출/이전 권한
|
||||
|
||||
BigchainDB에서, 모든 출력에는 연관된 조건(crypto-condition)이 있습니다.
|
||||
Planetmint에서, 모든 출력에는 연관된 조건(crypto-condition)이 있습니다.
|
||||
|
||||
사용되지 않은 출력을 쓰거나 전송하려면, 사용자(또는 사용자 그룹)이 조건을 충족시켜야 합니다.
|
||||
특정 사용자만이 출력을 보낼 권한이 있다는 뜻입니다. 가장 단순한 조건은, "공용 키에 해당하는 개인 키를 가진 사람만이 출력을 보낼 수 있습니다." 훨씬 더 정교한 조건들도 가능합니다, 예를 들어 “이 출력을 사용하려면,…"
|
||||
@ -23,17 +23,17 @@ BigchainDB에서, 모든 출력에는 연관된 조건(crypto-condition)이 있
|
||||
|
||||
자세한 내용은, [Planetmint Transactions Spec](https://github.com/planetmint/BEPs/tree/master/tx-specs/)관련 **트랜잭션 구성요소:조건** 섹션을 참조하세요.
|
||||
|
||||
출력이 한번 소비되면 다시 사용할 수 없습니다: *아무도* 그렇게 할 권한이 없습니다. 즉, BigchainDB는 누구나 출력을 "이중 소비" 하도록 허용 하지 않습니다.
|
||||
출력이 한번 소비되면 다시 사용할 수 없습니다: *아무도* 그렇게 할 권한이 없습니다. 즉, Planetmint는 누구나 출력을 "이중 소비" 하도록 허용 하지 않습니다.
|
||||
|
||||
## 쓰기 권한
|
||||
|
||||
누군가 TRANSFER 트랜잭션을 만들면, `metadata` 필드에 임의의 JSON 객체를 넣을 수 있다. (적정 범위 내에서; 실제 Planetmint 네트워크는 트랜잭션의 크기에 제한을 둔다.) 즉, TRANSFER 트랜잭션에서 원하는 모든 것을 쓸 수 있다.
|
||||
|
||||
BigchainDB에서 "쓰기 권한"이 없다는 의미인가요? 아닙니다!!
|
||||
Planetmint에서 "쓰기 권한"이 없다는 의미인가요? 아닙니다!!
|
||||
|
||||
TRANSFER 트랜잭션은 입력이 이전 출력을 충족시키는 경우에만 유효(허용)합니다. 이 출력들에 대한 조건은 누가 유효한 TRANSFER 트랜잭션을 할 수 있는지 조절 할 것입니다. 즉, 출력에 대한 조건은 특정 사용자에게 관련 자산 내역에 무엇인가 쓸 수 있는 "쓰기 권한"을 부여하는 것과 같습니다.
|
||||
|
||||
예를 들어, 당신은 BigchainDB를 사용하여 오직 당신만이 쓰기권한이 있는 공용 저널을 작성 할 수 있습니다. 방법은 다음과 같습니다: 먼저 하나의 출력으로 `asset.data` 을 통해 `{"title": "The Journal of John Doe"}` 와 같이 되도록 CREATE 트랜잭션을 생성합니다. 이 출력에는 금액 1과 사용자(개인 키를 가진)만이 출력을 보낼 수 있는 조건이 있습니다. 저널에 무엇인가를 추가하고 싶을 때마다, `metadata` 같은 필드에 최신 항목을 넣은 TRANSFER 트랜잭션을 새로 만들어야 합니다.
|
||||
예를 들어, 당신은 Planetmint를 사용하여 오직 당신만이 쓰기권한이 있는 공용 저널을 작성 할 수 있습니다. 방법은 다음과 같습니다: 먼저 하나의 출력으로 `asset.data` 을 통해 `{"title": "The Journal of John Doe"}` 와 같이 되도록 CREATE 트랜잭션을 생성합니다. 이 출력에는 금액 1과 사용자(개인 키를 가진)만이 출력을 보낼 수 있는 조건이 있습니다. 저널에 무엇인가를 추가하고 싶을 때마다, `metadata` 같은 필드에 최신 항목을 넣은 TRANSFER 트랜잭션을 새로 만들어야 합니다.
|
||||
|
||||
```json
|
||||
{"timestamp": "1508319582",
|
||||
@ -56,4 +56,4 @@ Note
|
||||
|
||||
## 역할 기반 액세스 제어(RBAC)
|
||||
|
||||
2017년 9월에, 우리는 [Planetmint RBAC 하부 시스템을 정의 할 수 있는 방법에 대한 블로그 게시물](https://blog.planetmint.com/role-based-access-control-for-planetmint-assets-b7cada491997)을 게재 했습니다. 글을 쓴 시점(2018년 1월)에는 플러그인을 사용해야 해서, 표준 BigchainDB다음에서 사용가능한 [Planetmint Testnet](https://testnet.planetmint.com/) 를 사용 할 수 없었습니다. 이는 미래에 바뀔 수 있습니다. 만약 관심이 있다면, [BigchainDB로 연락하십시요.](https://www.planetmint.com/contact/)
|
||||
2017년 9월에, 우리는 [Planetmint RBAC 하부 시스템을 정의 할 수 있는 방법에 대한 블로그 게시물](https://blog.bigchaindb.com/role-based-access-control-for-planetmint-assets-b7cada491997)을 게재 했습니다. 글을 쓴 시점(2018년 1월)에는 플러그인을 사용해야 해서, 표준 Planetmint다음에서 사용가능한 [Planetmint Testnet](https://testnet.planetmint.io/) 를 사용 할 수 없었습니다. 이는 미래에 바뀔 수 있습니다. 만약 관심이 있다면, [Planetmint로 연락하십시요.](https://www.planetmint.io/contact/)
|
||||
|
@ -10,12 +10,12 @@ Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
## 기본 정보
|
||||
|
||||
1. 한도 내에서 Planetmint 네트워크에 임의의 데이터(암호화 된 데이터 포함)를 저장 할 수 있습니다. 모든 트랜잭션에는 거의 모든 유니코드 문자열(최대 길이까지)을 저장 할 수 있는 `metadata` 섹션이 있습니다. 마찬가지로, 모든 CREATE 트랜잭션에는 거의 모든 유니코드 문자열을 저장 할 수 있는 `asset.data` 섹션이 있습니다.
|
||||
2. 특정 Planetmint 거래 필드에 저장된 데이터는 암호화 해서는 안됩니다, 예를 들어 공용키 및 자산과 같이. BigchainDB는 Zcoin과 비슷한 개인 거래를 제공하지 않습니다.
|
||||
2. 특정 Planetmint 거래 필드에 저장된 데이터는 암호화 해서는 안됩니다, 예를 들어 공용키 및 자산과 같이. Planetmint는 Zcoin과 비슷한 개인 거래를 제공하지 않습니다.
|
||||
3. 데이터가 BigchinDB 네트워크에 저장되면 변경 또는 삭제 될 수 없다고 가정하는 것이 좋습니다.
|
||||
4. Planetmint 네트워크의 모든 노드에는 저장된 모든 데이터의 전체 복사본이 있습니다.
|
||||
5. Planetmint 네트워크의 모든 노드는 저장된 모든 데이터를 읽을 수 있습니다.
|
||||
6. Planetmint 노드(예를 들어 노드이 sysadmin)에 대한 전체 액세스 권한을 가진 모든 사용자는해당 노드에 저장된 모든 데이터를 읽을 수 있습니다.
|
||||
7. Planetmint HTTP API를 통해 노드에 접근하는 모든 사용자는 BigchainDB에 저장된 모든 데이터를 찾고 읽을 수 있습니다. 액세스 권한이 있는 사람들의 목록은 매우 짧을 수 있습니다.
|
||||
7. Planetmint HTTP API를 통해 노드에 접근하는 모든 사용자는 Planetmint에 저장된 모든 데이터를 찾고 읽을 수 있습니다. 액세스 권한이 있는 사람들의 목록은 매우 짧을 수 있습니다.
|
||||
8. 외부 사용자와 Planetmint 노드 사이의 연결이(예를 들어 HTTPS를 사용하여) 암호화되 않으면도청자는 전송중인 모든 HTTP 요청 및 응답을 읽을 수 있습니다.
|
||||
9. 만약 누군가가 평문에 접근 할 수 있다면(어디에서 가져왔는지 관계없이), 원칙적으로 이것을 전 세계와 공유 할 수 있습니다. 그렇게 하는 것을 어렵게 만들 수 있습니다, 예를 들어 데이터가 많고 방을 나갈 떄 검색되는 안전한 방 안에만 들어 갈 수 있는 것과 같습니다.
|
||||
|
||||
@ -44,7 +44,7 @@ DocPile은 CREATE → TRANSFER → TRANSFER → 사용자+문서 쌍에 대한 e
|
||||
## 체인에서 암호화 된 개인 데이터 저장
|
||||
|
||||
체인상에서 개인 데이터를 암호화하여 저장하는 방법에는 여러 가지가 있습니다. 모든 유스 케이스에는 고유한 목표와 제약이 있으며, 최상의 해결책은 유스 케이스에 달려있다.
|
||||
[Planetmint 컨설팅 팀](https://www.planetmint.com/services/), 우리의 파트너와 함께, 당신의유스 케이스에 가장 적합한 솔루션을 설계하는 데 도움을 줄 수 있습니다.
|
||||
[Planetmint 컨설팅 팀](https://www.planetmint.io/services/), 우리의 파트너와 함께, 당신의유스 케이스에 가장 적합한 솔루션을 설계하는 데 도움을 줄 수 있습니다.
|
||||
|
||||
아래에서는 다양한 암호화 기본 설정을 사용하여 가능한 시스템을 설정하는 예제를 설명합니다.
|
||||
|
||||
|
@ -7,6 +7,6 @@ Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
|
||||
# 배포 - 준비
|
||||
|
||||
경우에 따라, BigchainDB는 배포-준비가 될 수도 있고 되지 않을 수도 있습니다. 서비스 공급자에게 문의해야 합니다. 만약 BigchainDB를 (배포로) 전환하고자 한다면, 서비스 공급자에게 문의하십시오.
|
||||
경우에 따라, Planetmint는 배포-준비가 될 수도 있고 되지 않을 수도 있습니다. 서비스 공급자에게 문의해야 합니다. 만약 Planetmint를 (배포로) 전환하고자 한다면, 서비스 공급자에게 문의하십시오.
|
||||
|
||||
참고 : BigchainDB는 "보증 없음" 섹션을 가지는 오픈소스 라이센스이며, 이는 전형적인 오픈소스 라이센스입니다. 이는 소프트웨어 산업의 표준입니다. 예를 들어, 리눅스 커널은 라이센스에 "보증 없음" 섹션을 가지고 있지만, 수십억 대의 시스템에 의해 배포되어 사용됩니다. 보증은 대개 서비스 공급자가 소프트웨어 라이센스 수준 이상으로 제공합니다.
|
||||
참고 : Planetmint는 "보증 없음" 섹션을 가지는 오픈소스 라이센스이며, 이는 전형적인 오픈소스 라이센스입니다. 이는 소프트웨어 산업의 표준입니다. 예를 들어, 리눅스 커널은 라이센스에 "보증 없음" 섹션을 가지고 있지만, 수십억 대의 시스템에 의해 배포되어 사용됩니다. 보증은 대개 서비스 공급자가 소프트웨어 라이센스 수준 이상으로 제공합니다.
|
||||
|
@ -15,7 +15,7 @@ Planetmint 쿼리
|
||||
------------------------------
|
||||
|
||||
|
||||
Planetmint 블로그에 MongoDB 도구를 사용하여 Planetmint 노드의 MongoDB 데이터베이스를 쿼리하는 방법에 대한 게시물을 올렸습니다. 데이터에 대한 일부 특정 예제 쿼리가 주요 내용입니다. [여기서 확인하세요](https://blog.planetmint.com/using-mongodb-to-query-planetmint-data-3fc651e0861b)
|
||||
Planetmint 블로그에 MongoDB 도구를 사용하여 Planetmint 노드의 MongoDB 데이터베이스를 쿼리하는 방법에 대한 게시물을 올렸습니다. 데이터에 대한 일부 특정 예제 쿼리가 주요 내용입니다. [여기서 확인하세요](https://blog.bigchaindb.com/using-mongodb-to-query-bigchaindb-data-3fc651e0861b)
|
||||
|
||||
MongoDB에 연결하기
|
||||
-------------------------
|
||||
@ -53,11 +53,15 @@ SQL을 이용해 mongoDB 데이터베이스를 쿼리할 수 있습니다. 예
|
||||
...
|
||||
> show dbs
|
||||
admin 0.000GB
|
||||
<<<<<<< HEAD
|
||||
planet 0.000GB
|
||||
=======
|
||||
planetmint 0.000GB
|
||||
>>>>>>> 3bfc3298f8210b135084e823eedd47f213538088
|
||||
config 0.000GB
|
||||
local 0.000GB
|
||||
> use bigchain
|
||||
switched to db bigchain
|
||||
> use planetmint
|
||||
switched to db planetmint
|
||||
> show collections
|
||||
abci_chains
|
||||
assets
|
||||
@ -74,14 +78,14 @@ SQL을 이용해 mongoDB 데이터베이스를 쿼리할 수 있습니다. 예
|
||||
- 호스트 이름이나 포트를 지정하지 않으면 Mongo Shell은 각각 `localhost`와 `27017`으로 가정합니다. (`localhost`는 우분투에 IP주소를 127.0.0.1로 설정했습니다.)
|
||||
|
||||
|
||||
* BigchainDB는 데이터를 `bigchain`이라는 데이터베이스에 저장합니다.
|
||||
* `bigchain` 데이터베이스에는 여러 [collections](https://docs.mongodb.com/manual/core/databases-and-collections/)가 포함되어 있습니다.
|
||||
* Planetmint는 데이터를 `planetmint`이라는 데이터베이스에 저장합니다.
|
||||
* `planetmint` 데이터베이스에는 여러 [collections](https://docs.mongodb.com/manual/core/databases-and-collections/)가 포함되어 있습니다.
|
||||
* 어떤 컬렉션에도 투표가 저장되지 않습니다. 이런 데이터는 모두 자체(LevelDB) 데이터베이스에 의해 처리되고 저장됩니다.
|
||||
|
||||
컬렉션에 대한 예시 문서
|
||||
---------------------------------------
|
||||
|
||||
``bigchain`` 데이터베이스의 가장 흥미로운 부분은 아래와 같습니다:
|
||||
``planetmint`` 데이터베이스의 가장 흥미로운 부분은 아래와 같습니다:
|
||||
|
||||
- transactions
|
||||
- assets
|
||||
@ -162,7 +166,11 @@ metadata 컬렉션의 문서는 MongoDB가 추가한 `"_id"`필드와 거래에
|
||||
각 노드 operator는 외부 사용자가 자신의 로컬 MongoDB 데이터베이스에서 정보를 얻는 방법을 결정할 수 있습니다. 그들은 다음과 같은 것들을 보낼 수 있습니다:
|
||||
|
||||
- 외부유저를 쿼리 처리하는 로컬 MongoDB 데이터베이스 한된 제한된 권한을 가진 역할을 가진 MongoDB 사용자 예) read-only
|
||||
<<<<<<< HEAD
|
||||
- 제한된 미리 정의된 쿼리 집합을 허용하는 제한된 HTTP API, [Planetmint 서버에서 제공하는 HTTP API](http://planetmint.com/http-api), 혹은Django, Express, Ruby on Rails, or ASP.NET.를 이용해 구현된 커스텀 HTTP API
|
||||
=======
|
||||
- 제한된 미리 정의된 쿼리 집합을 허용하는 제한된 HTTP API, [Planetmint 서버에서 제공하는 HTTP API](http://planetmint.io/http-api), 혹은Django, Express, Ruby on Rails, or ASP.NET.를 이용해 구현된 커스텀 HTTP API
|
||||
>>>>>>> 3bfc3298f8210b135084e823eedd47f213538088
|
||||
- 다른 API(예: GraphQL API) 제3자의 사용자 정의 코드 또는 코드를 사용하여 수행할 수 있습니다..
|
||||
|
||||
각 노드 operator는 로컬 MongoDB 데이터베이스에 대한 다른 레벨 또는 유형의 액세스를 노출할 수 있습니다.
|
||||
@ -197,6 +205,10 @@ Tendermint voting 파워가 0인 노드인 추종자 노드를 생성할 수 있
|
||||
|
||||
[MongoDB node.js 드라이버](https://mongodb.github.io/node-mongodb-native/?jmp=docs)와 같은 MongoDB 드라이버를 사용하여 다음 중 하나를 사용하여 노드의 MongoDB 데이터베이스에 연결할 수 있습니다. 여기 자바스크립트 쿼리 코드에 대한 링크가 있습니다.
|
||||
|
||||
<<<<<<< HEAD
|
||||
- [The Planetmint JavaScript/Node.js driver source code](https://github.com/planetmint/js-bigchaindb-driver)
|
||||
=======
|
||||
- [The Planetmint JavaScript/Node.js driver source code](https://github.com/planetmint/js-planetmint-driver)
|
||||
>>>>>>> 3bfc3298f8210b135084e823eedd47f213538088
|
||||
- [Example code by @manolodewiner](https://github.com/manolodewiner/query-mongodb-planetmint/blob/master/queryMongo.js)
|
||||
- [More example code by @manolodewiner](https://github.com/planetmint/planetmint/issues/2315#issuecomment-392724279)
|
@ -8,10 +8,10 @@ Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
Planetmint 및 스마트계약
|
||||
==============================
|
||||
|
||||
BigchainDB에는 스마트 계약 (즉, 컴퓨터 프로그램)의 소스 코드를 저장할 수 있지만 BigchainDB는 임의의 스마트 계약을 실행하지 않습니다.
|
||||
Planetmint에는 스마트 계약 (즉, 컴퓨터 프로그램)의 소스 코드를 저장할 수 있지만 Planetmint는 임의의 스마트 계약을 실행하지 않습니다.
|
||||
|
||||
BigchainDB는 대체 가능한 자산과 대체 할 수없는 자산 모두를 전송할 수있는 권한을 가진 사람을 시행하는 데 사용할 수 있습니다. 이중 지출을 막을 것입니다. 즉, ERC-20 (대체 가능한 토큰) 또는 ERC-721 (대체 할 수없는 토큰) 스마트 계약 대신 Planetmint 네트워크를 사용할 수 있습니다.
|
||||
Planetmint는 대체 가능한 자산과 대체 할 수없는 자산 모두를 전송할 수있는 권한을 가진 사람을 시행하는 데 사용할 수 있습니다. 이중 지출을 막을 것입니다. 즉, ERC-20 (대체 가능한 토큰) 또는 ERC-721 (대체 할 수없는 토큰) 스마트 계약 대신 Planetmint 네트워크를 사용할 수 있습니다.
|
||||
|
||||
자산 이전 권한은 쓰기 권한으로 해석 될 수 있으므로 로그, 저널 또는 감사 내역에 기록 할 수있는 사람을 제어하는데 사용할 수 있습니다. [BigchainDB의 사용 권한](https://github.com/planetmint/planetmint/blob/master/docs/root/source/korean/permissions-ko.md)에 대한 자세한 내용은 페이지에서 확인하십시오.
|
||||
자산 이전 권한은 쓰기 권한으로 해석 될 수 있으므로 로그, 저널 또는 감사 내역에 기록 할 수있는 사람을 제어하는데 사용할 수 있습니다. [Planetmint의 사용 권한](https://github.com/planetmint/planetmint/blob/master/docs/root/source/korean/permissions-ko.md)에 대한 자세한 내용은 페이지에서 확인하십시오.
|
||||
|
||||
Planetmint 네트워크는 oracles 또는 체인 간 통신 프로토콜을 통해 다른 블록 체인 네트워크에 연결할 수 있습니다. 이는 BigchainDB를 다른 블록 체인을 사용하여 임의의 스마트 계약을 실행하는 솔루션의 일부로 사용할 수 있음을 의미합니다.
|
||||
Planetmint 네트워크는 oracles 또는 체인 간 통신 프로토콜을 통해 다른 블록 체인 네트워크에 연결할 수 있습니다. 이는 Planetmint를 다른 블록 체인을 사용하여 임의의 스마트 계약을 실행하는 솔루션의 일부로 사용할 수 있음을 의미합니다.
|
||||
|
@ -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
|
||||
--->
|
||||
|
||||
# BigchainDB에 파일을 저장하는 방법
|
||||
# Planetmint에 파일을 저장하는 방법
|
||||
|
||||
Planetmint 네트워크에 파일을 저장할 수는 있지만 그렇게하지 않는 것이 좋습니다. 파일이 아닌 구조화 된 데이터를 저장, 인덱싱 및 쿼리하는 데 가장 적합합니다.
|
||||
|
||||
|
@ -7,11 +7,11 @@ Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
|
||||
# 용어
|
||||
|
||||
BigchainDB와 관련돈 몇 가지 전문화된 용어가 있습니다. 시작하기에 앞서, 최소한 다음과 같은 사항을 알아야합니다.
|
||||
Planetmint와 관련돈 몇 가지 전문화된 용어가 있습니다. 시작하기에 앞서, 최소한 다음과 같은 사항을 알아야합니다.
|
||||
|
||||
## Planetmint 노드
|
||||
|
||||
**Planetmint 노드**는 [Planetmint 서버](https://docs.planetmint.com/projects/server/en/latest/introduction.html) 및 관련된 소프트웨어를 실행하는 시스템(또는 논리적인 시스템)입니다. 각각의 노드는 한 개인이나 조직에 의해 제어될 수 있습니다.
|
||||
**Planetmint 노드**는 [Planetmint 서버](https://docs.planetmint.io/projects/server/en/latest/introduction.html) 및 관련된 소프트웨어를 실행하는 시스템(또는 논리적인 시스템)입니다. 각각의 노드는 한 개인이나 조직에 의해 제어될 수 있습니다.
|
||||
|
||||
## Planetmint 네트워크
|
||||
|
||||
|
@ -9,18 +9,18 @@ Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
|
||||
*트랜잭션*은 물건 (예 : 자산)을 등록, 발행, 생성 또는 전송하는 데 사용됩니다.
|
||||
|
||||
트랜잭션은 BigchainDB가 저장하는 가장 기본적인 종류의 레코드입니다. CREATE 트랜잭션과 TRANSFER 트랜잭션의 두 종류가 있습니다.
|
||||
트랜잭션은 Planetmint가 저장하는 가장 기본적인 종류의 레코드입니다. CREATE 트랜잭션과 TRANSFER 트랜잭션의 두 종류가 있습니다.
|
||||
|
||||
|
||||
## 트랜잭션 생성
|
||||
|
||||
CREATE 트랜잭션은 BigchainDB에서 한 가지 (또는 자산)의 이력을 등록, 발행, 생성 또는 다른 방법으로 시작하는 데 사용될 수 있습니다. 예를 들어, 신원이나 창작물을 등록 할 수 있습니다. 이러한 것들을 종종 "자산"이라고 부르지만 literal 자산이 아닐 수도 있습니다.
|
||||
CREATE 트랜잭션은 Planetmint에서 한 가지 (또는 자산)의 이력을 등록, 발행, 생성 또는 다른 방법으로 시작하는 데 사용될 수 있습니다. 예를 들어, 신원이나 창작물을 등록 할 수 있습니다. 이러한 것들을 종종 "자산"이라고 부르지만 literal 자산이 아닐 수도 있습니다.
|
||||
|
||||
BigchainDB는 Planetmint Server v0.8.0부터 나눌 수있는 자산을 지원합니다. 이는 "공유"의 초기 숫자로 자산을 생성 / 등록 할 수 있음을 의미합니다. 예를 들어, CREATE 트랜잭션은 50 개의 오크 나무로 된 트럭로드를 등록 할 수 있습니다. 분할 가능한 자산의 각 주식은 서로 공유 할 수 있어야합니다. 주식은 대체 가능해야합니다.
|
||||
Planetmint는 Planetmint Server v0.8.0부터 나눌 수있는 자산을 지원합니다. 이는 "공유"의 초기 숫자로 자산을 생성 / 등록 할 수 있음을 의미합니다. 예를 들어, CREATE 트랜잭션은 50 개의 오크 나무로 된 트럭로드를 등록 할 수 있습니다. 분할 가능한 자산의 각 주식은 서로 공유 할 수 있어야합니다. 주식은 대체 가능해야합니다.
|
||||
|
||||
CREATE 트랜잭션은 하나 이상의 출력을 가질 수 있습니다. 각 출력에는 관련 금액이 있습니다. 출력에 연결된 공유 수입니다. 예를 들어 자산이 50 개의 오크 나무로 구성되어있는 경우 한 출력에는 한 소유자 세트에 35 개의 오크 나무가 있고 다른 출력에는 다른 소유자 세트에는 15 개의 오크 나무가있을 수 있습니다.
|
||||
|
||||
또한 각 출력에는 연관된 조건이 있습니다. 출력을 전송 / 소비하기 위해 충족되어야하는 조건 (TRANSFER 트랜잭션에 의해). BigchainDB는 다양한 조건을 지원합니다. 자세한 내용은 관련 [Planetmint 트랜잭션 Spec](https://github.com/planetmint/BEPs/tree/master/tx-specs/)과 관련된 **트랜잭션 구성 요소 : 조건 섹션**을 참조하십시오.
|
||||
또한 각 출력에는 연관된 조건이 있습니다. 출력을 전송 / 소비하기 위해 충족되어야하는 조건 (TRANSFER 트랜잭션에 의해). Planetmint는 다양한 조건을 지원합니다. 자세한 내용은 관련 [Planetmint 트랜잭션 Spec](https://github.com/planetmint/BEPs/tree/master/tx-specs/)과 관련된 **트랜잭션 구성 요소 : 조건 섹션**을 참조하십시오.
|
||||
|
||||

|
||||
|
||||
@ -51,11 +51,15 @@ CREATE 트랜잭션은 모든 소유자가 서명해야합니다. (만약 당신
|
||||
## 트랜잭션 유효성
|
||||
|
||||
언제 트랜잭션이 유효한지 유효성을 검사하는 것에 관해 해당 블로그에 게시되어있습니다. *The Planetmint Blog*:
|
||||
["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.)
|
||||
["What is a Valid Transaction in Planetmint?"](https://blog.bigchaindb.io/what-is-a-valid-transaction-in-bigchaindb-9a1a075a9598) (Note: That post was about Planetmint Server v1.0.0.)
|
||||
|
||||
Each [Planetmint Transactions Spec](https://github.com/planetmint/BEPs/tree/master/tx-specs/) documents the conditions for a transaction (of that version) to be valid.
|
||||
|
||||
## 트랜잭션 예시
|
||||
|
||||
<<<<<<< HEAD
|
||||
아래의 [HTTP API 문서](https://docs.planetmint.com/projects/server/en/latest/http-client-server-api.html)와 [the Python 드라이버 문서](https://docs.planetmint.com/projects/py-driver/en/latest/usage.html)에는 예제 Planetmint 트랜잭션이 있습니다.
|
||||
=======
|
||||
아래의 [HTTP API 문서](https://docs.planetmint.io/projects/server/en/latest/http-client-server-api.html)와 [the Python 드라이버 문서](https://docs.planetmint.io/projects/py-driver/en/latest/usage.html)에는 예제 Planetmint 트랜잭션이 있습니다.
|
||||
>>>>>>> 3bfc3298f8210b135084e823eedd47f213538088
|
||||
.
|
||||
|
@ -19,13 +19,13 @@ A consortium can increase its decentralization (and its resilience) by increasin
|
||||
|
||||
There’s no node that has a long-term special position in the Planetmint network. All nodes run the same software and perform the same duties.
|
||||
|
||||
If someone has (or gets) admin access to a node, they can mess with that node (e.g. change or delete data stored on that node), but those changes should remain isolated to that node. The Planetmint network can only be compromised if more than one third of the nodes get compromised. See the [Tendermint documentation](https://tendermint.com/docs/introduction/introduction.html) for more details.
|
||||
If someone has (or gets) admin access to a node, they can mess with that node (e.g. change or delete data stored on that node), but those changes should remain isolated to that node. The Planetmint network can only be compromised if more than one third of the nodes get compromised. See the [Tendermint documentation](https://tendermint.io/docs/introduction/introduction.html) for more details.
|
||||
|
||||
It’s worth noting that not even the admin or superuser of a node can transfer assets. The only way to create a valid transfer transaction is to fulfill the current crypto-conditions on the asset, and the admin/superuser can’t do that because the admin user doesn’t have the necessary information (e.g. private keys).
|
||||
|
||||
### Byzantine Fault Tolerance
|
||||
|
||||
[Tendermint](https://tendermint.com/) is used for consensus and transaction replication,
|
||||
[Tendermint](https://tendermint.io/) is used for consensus and transaction replication,
|
||||
and Tendermint is [Byzantine Fault Tolerant (BFT)](https://en.wikipedia.org/wiki/Byzantine_fault_tolerance).
|
||||
|
||||
### Node Diversity
|
||||
|
@ -17,7 +17,7 @@ We wrote a blog post in The Planetmint Blog to show
|
||||
how to use some MongoDB tools to query a Planetmint node's MongoDB database.
|
||||
It includes some specific example queries for data
|
||||
about custom cars and their ownership histories.
|
||||
`Check it out <https://blog.planetmint.com/using-mongodb-to-query-planetmint-data-3fc651e0861b>`_.
|
||||
`Check it out <https://blog.planetmint.io/using-mongodb-to-query-planetmint-data-3fc651e0861b>`_.
|
||||
|
||||
How to Connect to MongoDB
|
||||
-------------------------
|
||||
@ -56,7 +56,7 @@ For example, if you're on a machine that's running a default Planetmint node, th
|
||||
...
|
||||
> show dbs
|
||||
admin 0.000GB
|
||||
planet 0.000GB
|
||||
planetmint 0.000GB
|
||||
config 0.000GB
|
||||
local 0.000GB
|
||||
> use planetmint
|
||||
@ -174,7 +174,7 @@ What a Node Operator Can Expose to External Users
|
||||
Each node operator can decide how they let external users get information from their local MongoDB database. They could expose:
|
||||
|
||||
- their local MonogoDB database itself to queries from external users, maybe as a MongoDB user with a role that has limited privileges, e.g. read-only.
|
||||
- a limited HTTP API, allowing a restricted set of predefined queries, such as `the HTTP API provided by Planetmint Server <http://planetmint.com/http-api>`_, or a custom HTTP API implemented using Django, Express, Ruby on Rails, or ASP.NET.
|
||||
- a limited HTTP API, allowing a restricted set of predefined queries, such as `the HTTP API provided by Planetmint Server <http://planetmint.io/http-api>`_, or a custom HTTP API implemented using Django, Express, Ruby on Rails, or ASP.NET.
|
||||
- some other API, such as a GraphQL API. They could do that using custom code or code from a third party.
|
||||
|
||||
Each node operator can expose a different level or type of access to their local MongoDB database.
|
||||
@ -224,6 +224,6 @@ of the MongoDB drivers, such as `the MongoDB Node.js driver
|
||||
Here are some links to example JavaScript code that queries a
|
||||
Planetmint node's MongoDB database:
|
||||
|
||||
- `The Planetmint JavaScript/Node.js driver source code <https://github.com/planetmint/js-bigchaindb-driver>`_
|
||||
- `The Planetmint JavaScript/Node.js driver source code <https://github.com/bighaindb/js-bigchaindb-driver>`_
|
||||
- `Example code by @manolodewiner <https://github.com/manolodewiner/query-mongodb-planetmint/blob/master/queryMongo.js>`_
|
||||
- `More example code by @manolodewiner <https://github.com/planetmint/planetmint/issues/2315#issuecomment-392724279>`_
|
||||
|
@ -11,7 +11,11 @@ There is some specialized terminology associated with Planetmint. To get started
|
||||
|
||||
### Planetmint Node
|
||||
|
||||
<<<<<<< HEAD
|
||||
A **Planetmint node** is a machine (or logical machine) running [Planetmint Server](https://docs.planetmint.com/projects/server/en/latest/introduction.html) and related software. Each node is controlled by one person or organization.
|
||||
=======
|
||||
A **Planetmint node** is a machine (or logical machine) running [Planetmint Server](https://docs.planetmint.io/projects/server/en/latest/introduction.html) and related software. Each node is controlled by one person or organization.
|
||||
>>>>>>> 3bfc3298f8210b135084e823eedd47f213538088
|
||||
|
||||
### Planetmint Network
|
||||
|
||||
@ -23,7 +27,7 @@ The people and organizations that run the nodes in a Planetmint network belong t
|
||||
|
||||
**What's the Difference Between a Planetmint Network and a Consortium?**
|
||||
|
||||
A BigchaindB network is just a bunch of connected nodes. A consortium is an organization which has a Planetmint network, and where each node in that network has a different operator.
|
||||
A Planetmint network is just a bunch of connected nodes. A consortium is an organization which has a Planetmint network, and where each node in that network has a different operator.
|
||||
|
||||
### Transactions
|
||||
|
||||
@ -76,6 +80,10 @@ You could do more elaborate things too. As one example, each time someone writes
|
||||
|
||||
### Role-Based Access Control (RBAC)
|
||||
|
||||
<<<<<<< HEAD
|
||||
In September 2017, we published a [blog post about how one can define an RBAC sub-system on top of Planetmint](https://blog.planetmint.com/role-based-access-control-for-planetmint-assets-b7cada491997).
|
||||
=======
|
||||
In September 2017, BigchainDB published a [blog post about how one can define an RBAC sub-system on top of Planetmint](https://blog.bigchaindb.com/role-based-access-control-for-planetmint-assets-b7cada491997).
|
||||
>>>>>>> 3bfc3298f8210b135084e823eedd47f213538088
|
||||
At the time of writing (January 2018), doing so required the use of a plugin, so it's not possible using standard Planetmint (which is what's available on the [IPDB Testnet](https://test.ipdb.io/>). That may change in the future.
|
||||
If you're interested, `contact IPDB <contact@ipdb.global>`_.
|
||||
|
@ -15,11 +15,11 @@ For all future releases, we commit to not introduce breaking changes to the
|
||||
public interfaces of Planetmint's:
|
||||
|
||||
- [Data
|
||||
model](https://docs.planetmint.com/projects/server/en/latest/data-models/index.html)
|
||||
model](https://docs.planetmint.io/projects/server/en/latest/data-models/index.html)
|
||||
- [HTTP
|
||||
API](https://docs.planetmint.com/projects/server/en/latest/http-client-server-api.html)
|
||||
API](https://docs.planetmint.io/projects/server/en/latest/http-client-server-api.html)
|
||||
- [WebSocket Event Stream
|
||||
API](https://docs.planetmint.com/projects/server/en/latest/websocket-event-stream-api.html)
|
||||
API](https://docs.planetmint.io/projects/server/en/latest/websocket-event-stream-api.html)
|
||||
|
||||
|
||||
As we saw the version bump to v1.0 as our last chance in a while to fix minor
|
||||
@ -92,7 +92,7 @@ being unneeded, so now the payload that is signed is always just the serialized
|
||||
transaction, minus signatures. More details, take a look at the
|
||||
[Pull-Request](https://github.com/planetmint/planetmint/pull/1225) introducing
|
||||
the change or at our updated [Handcrafting
|
||||
Transactions](https://docs.planetmint.com/projects/py-driver/en/latest/handcraft.html)
|
||||
Transactions](https://docs.planetmint.io/projects/py-driver/en/latest/handcraft.html)
|
||||
document.
|
||||
|
||||
|
||||
@ -160,8 +160,8 @@ changes done to them:
|
||||
|
||||
Documentation:
|
||||
|
||||
- [Old](https://docs.planetmint.com/projects/server/en/v0.10.2/http-client-server-api.html#planetmint-root-url)
|
||||
- [New](https://docs.planetmint.com/projects/server/en/v1.0.0/http-client-server-api.html#planetmint-root-url)
|
||||
- [Old](https://docs.planetmint.io/projects/server/en/v0.10.2/http-client-server-api.html#planetmint-root-url)
|
||||
- [New](https://docs.planetmint.io/projects/server/en/v1.0.0/http-client-server-api.html#planetmint-root-url)
|
||||
|
||||
|
||||
Changes:
|
||||
@ -186,7 +186,7 @@ Changes:
|
||||
{
|
||||
"_links": {
|
||||
"api_v1": "http://example.com:9984/api/v1/",
|
||||
"docs": "https://docs.planetmint.com/projects/server/en/v0.10.2/"
|
||||
"docs": "https://docs.planetmint.io/projects/server/en/v0.10.2/"
|
||||
},
|
||||
"keyring": [
|
||||
"6qHyZew94NMmUTYyHnkZsB8cxJYuRNEiEpXHe1ih9QX3",
|
||||
@ -201,7 +201,7 @@ Changes:
|
||||
{
|
||||
"api": {
|
||||
"v1": {
|
||||
"docs": "https://docs.planetmint.com/projects/server/en/v0.11.0.dev/http-client-server-api.html",
|
||||
"docs": "https://docs.planetmint.io/projects/server/en/v0.11.0.dev/http-client-server-api.html",
|
||||
"statuses": "/api/v1/statuses/",
|
||||
"streams": "ws://example.com:9985/api/v1/streams/valid_transactions",
|
||||
"transactions": "/api/v1/transactions/",
|
||||
@ -209,7 +209,7 @@ Changes:
|
||||
"outputs": "/api/v1/outputs/"
|
||||
}
|
||||
},
|
||||
"docs": "https://docs.planetmint.com/projects/server/en/v0.11.0.dev/",
|
||||
"docs": "https://docs.planetmint.io/projects/server/en/v0.11.0.dev/",
|
||||
"keyring": [
|
||||
"6qHyZew94NMmUTYyHnkZsB8cxJYuRNEiEpXHe1ih9QX3",
|
||||
"AdDuyrTyjrDt935YnFu4VBCVDhHtY2Y6rcy7x2TFeiRi"
|
||||
@ -224,8 +224,8 @@ Changes:
|
||||
|
||||
Documentation:
|
||||
|
||||
- [Old](https://docs.planetmint.com/projects/server/en/v0.10.2/http-client-server-api.html#api-root-endpoint)
|
||||
- [New](https://docs.planetmint.com/projects/server/en/v1.0.0/http-client-server-api.html#api-root-endpoint)
|
||||
- [Old](https://docs.planetmint.io/projects/server/en/v0.10.2/http-client-server-api.html#api-root-endpoint)
|
||||
- [New](https://docs.planetmint.io/projects/server/en/v1.0.0/http-client-server-api.html#api-root-endpoint)
|
||||
|
||||
Changes:
|
||||
|
||||
@ -245,7 +245,7 @@ Changes:
|
||||
// Old
|
||||
{
|
||||
"_links": {
|
||||
"docs": "https://docs.planetmint.com/projects/server/en/v0.10.2/http-client-server-api.html",
|
||||
"docs": "https://docs.planetmint.io/projects/server/en/v0.10.2/http-client-server-api.html",
|
||||
"self": "http://example.com:9984/api/v1/",
|
||||
"statuses": "http://example.com:9984/api/v1/statuses/",
|
||||
"streams_v1": "ws://example.com:9985/api/v1/streams/valid_tx",
|
||||
@ -255,7 +255,7 @@ Changes:
|
||||
|
||||
// New
|
||||
{
|
||||
"docs": "https://docs.planetmint.com/projects/server/en/v0.11.0.dev/http-client-server-api.html",
|
||||
"docs": "https://docs.planetmint.io/projects/server/en/v0.11.0.dev/http-client-server-api.html",
|
||||
"statuses": "/api/v1/statuses/",
|
||||
"streams": "ws://example.com:9985/api/v1/streams/valid_transactions",
|
||||
"transactions": "/api/v1/transactions/",
|
||||
@ -269,8 +269,8 @@ Changes:
|
||||
|
||||
Documentation:
|
||||
|
||||
- [Old](https://docs.planetmint.com/projects/server/en/v0.10.2/http-client-server-api.html#get--api-v1-transactions-tx_id)
|
||||
- [New](https://docs.planetmint.com/projects/server/en/v1.0.0/http-client-server-api.html#get--api-v1-transactions-transaction_id)
|
||||
- [Old](https://docs.planetmint.io/projects/server/en/v0.10.2/http-client-server-api.html#get--api-v1-transactions-tx_id)
|
||||
- [New](https://docs.planetmint.io/projects/server/en/v1.0.0/http-client-server-api.html#get--api-v1-transactions-transaction_id)
|
||||
|
||||
|
||||
Changes:
|
||||
@ -284,8 +284,8 @@ only return transactions included in blocks marked as `VALID`.
|
||||
|
||||
Documentation:
|
||||
|
||||
- [Old](https://docs.planetmint.com/projects/server/en/v0.10.2/http-client-server-api.html#post--api-v1-transactions)
|
||||
- [New](https://docs.planetmint.com/projects/server/en/v1.0.0/http-client-server-api.html#post--api-v1-transactions)
|
||||
- [Old](https://docs.planetmint.io/projects/server/en/v0.10.2/http-client-server-api.html#post--api-v1-transactions)
|
||||
- [New](https://docs.planetmint.io/projects/server/en/v1.0.0/http-client-server-api.html#post--api-v1-transactions)
|
||||
|
||||
|
||||
Changes:
|
||||
@ -299,8 +299,8 @@ Changes:
|
||||
|
||||
Documentation:
|
||||
|
||||
- [Old](https://docs.planetmint.com/projects/server/en/v0.10.2/http-client-server-api.html#get--api-v1-outputs?public_key=public_key)
|
||||
- [New](https://docs.planetmint.com/projects/server/en/v1.0.0/http-client-server-api.html#get--api-v1-outputs?public_key=public_key)
|
||||
- [Old](https://docs.planetmint.io/projects/server/en/v0.10.2/http-client-server-api.html#get--api-v1-outputs?public_key=public_key)
|
||||
- [New](https://docs.planetmint.io/projects/server/en/v1.0.0/http-client-server-api.html#get--api-v1-outputs?public_key=public_key)
|
||||
|
||||
|
||||
Changes:
|
||||
@ -343,8 +343,8 @@ users](https://github.com/planetmint/planetmint/issues/1227#issuecomment-3072974
|
||||
|
||||
Documentation:
|
||||
|
||||
- [Old](https://docs.planetmint.com/projects/server/en/v0.10.2/http-client-server-api.html#get--api-v1-statuses?tx_id=tx_id)
|
||||
- [New](https://docs.planetmint.com/projects/server/en/v1.0.0/http-client-server-api.html#get--api-v1-statuses?transaction_id=transaction_id)
|
||||
- [Old](https://docs.planetmint.io/projects/server/en/v0.10.2/http-client-server-api.html#get--api-v1-statuses?tx_id=tx_id)
|
||||
- [New](https://docs.planetmint.io/projects/server/en/v1.0.0/http-client-server-api.html#get--api-v1-statuses?transaction_id=transaction_id)
|
||||
|
||||
|
||||
Changes:
|
||||
@ -377,8 +377,8 @@ Changes:
|
||||
|
||||
Documentation:
|
||||
|
||||
- [Old](https://docs.planetmint.com/projects/server/en/v0.10.2/http-client-server-api.html#get--api-v1-statuses?block_id=block_id)
|
||||
- [New](https://docs.planetmint.com/projects/server/en/v1.0.0/http-client-server-api.html#get--api-v1-statuses?block_id=block_id)
|
||||
- [Old](https://docs.planetmint.io/projects/server/en/v0.10.2/http-client-server-api.html#get--api-v1-statuses?block_id=block_id)
|
||||
- [New](https://docs.planetmint.io/projects/server/en/v1.0.0/http-client-server-api.html#get--api-v1-statuses?block_id=block_id)
|
||||
|
||||
|
||||
Changes:
|
||||
@ -407,8 +407,8 @@ Changes:
|
||||
|
||||
Documentation:
|
||||
|
||||
- [Old](https://docs.planetmint.com/projects/server/en/v0.10.2/http-client-server-api.html#get--api-v1-blocks?tx_id=tx_id&status=UNDECIDED|VALID|INVALID)
|
||||
- [New](https://docs.planetmint.com/projects/server/en/v1.0.0/http-client-server-api.html#get--api-v1-blocks?transaction_id=transaction_id&status=UNDECIDED|VALID|INVALID)
|
||||
- [Old](https://docs.planetmint.io/projects/server/en/v0.10.2/http-client-server-api.html#get--api-v1-blocks?tx_id=tx_id&status=UNDECIDED|VALID|INVALID)
|
||||
- [New](https://docs.planetmint.io/projects/server/en/v1.0.0/http-client-server-api.html#get--api-v1-blocks?transaction_id=transaction_id&status=UNDECIDED|VALID|INVALID)
|
||||
|
||||
|
||||
Changes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user