mirror of
https://github.com/planetmint/planetmint.git
synced 2026-02-18 09:33:51 +00:00
All test passed. Acceptance tests passed too
This commit is contained in:
@@ -290,7 +290,7 @@ html_static_path = ['_static']
|
||||
# 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
|
||||
# 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr', 'zh'
|
||||
#
|
||||
# html_search_language = 'en'
|
||||
# html_search_language = 'en's
|
||||
|
||||
# A dictionary with options for the search language support, empty by default.
|
||||
# 'ja' uses this config value.
|
||||
@@ -304,14 +304,14 @@ html_static_path = ['_static']
|
||||
# html_search_scorer = 'scorer.js'
|
||||
|
||||
# Output file base name for HTML help builder.
|
||||
htmlhelp_basename = 'BigchainDBdoc'
|
||||
htmlhelp_basename = 'Planetmintdoc'
|
||||
|
||||
# -- Options for LaTeX output ---------------------------------------------
|
||||
|
||||
latex_elements = {
|
||||
# The paper size ('letterpaper' or 'a4paper').
|
||||
#
|
||||
# 'papersize': 'letterpaper',
|
||||
'papersize': 'letterpaper',
|
||||
|
||||
# The font size ('10pt', '11pt' or '12pt').
|
||||
#
|
||||
|
||||
@@ -11,9 +11,9 @@ There are many ways you can contribute to Planetmint.
|
||||
It includes several sub-projects.
|
||||
|
||||
- `Planetmint Server <https://github.com/planetmint/planetmint>`_
|
||||
- `Planetmint Python Driver <https://github.com/planetmint/planetmint-driver>`_
|
||||
- `Planetmint JavaScript Driver <https://github.com/planetmint/js-planetmint-driver>`_
|
||||
- `Planetmint Java Driver <https://github.com/planetmint/java-planetmint-driver>`_
|
||||
- `Planetmint Python Driver <https://github.com/planetmint/bigchaindb-driver>`_
|
||||
- `Planetmint JavaScript Driver <https://github.com/planetmint/js-bigchaindb-driver>`_
|
||||
- `Planetmint Java Driver <https://github.com/planetmint/java-bigchaindb-driver>`_
|
||||
- `cryptoconditions <https://github.com/planetmint/cryptoconditions>`_ (a Python package by us)
|
||||
- `py-abci <https://github.com/davebryson/py-abci>`_ (a Python package we use)
|
||||
- `Planetmint Enhancement Proposals (PEPs) <https://github.com/planetmint/PEPs>`_
|
||||
|
||||
@@ -22,7 +22,7 @@ People ask questions about Planetmint in the following places:
|
||||
|
||||
- Gitter
|
||||
- [planetmint/planetmint](https://gitter.im/planetmint/community)
|
||||
- [planetmint/js-planetmint-driver](https://gitter.im/planetmint/community))
|
||||
- [planetmint/js-bigchaindb-driver](https://gitter.im/planetmint/community))
|
||||
- [Twitter](https://twitter.com/planetmint)
|
||||
- [Stack Overflow "planetmint"](https://stackoverflow.com/search?q=planetmint)
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@ If you're writing code, you should also update any related docs. However, you mi
|
||||
You can certainly do that!
|
||||
|
||||
- The docs for Planetmint Server live under ``planetmint/docs/`` in the ``planetmint/planetmint`` repo.
|
||||
- There are docs for the Python driver under ``planetmint-driver/docs/`` in the ``planetmint/planetmint-driver`` repo.
|
||||
- There are docs for the JavaScript driver under ``planetmint/js-planetmint-driver`` in the ``planetmint/js-planetmint-driver`` repo.
|
||||
- There are docs for the Python driver under ``bigchaindb-driver/docs/`` in the ``planetmint/bigchaindb-driver`` repo.
|
||||
- There are docs for the JavaScript driver under ``planetmint/js-bigchaindb-driver`` in the ``planetmint/js-bigchaindb-driver`` repo.
|
||||
- The source code for the Planetmint website is in a private repo, but we can give you access if you ask.
|
||||
|
||||
The [Planetmint Transactions Specs](https://github.com/planetmint/PEPs/tree/master/tx-specs/) (one for each spec version) are in the ``planetmint/PEPs`` repo.
|
||||
|
||||
@@ -12,8 +12,8 @@ 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 <https://docs.planetmint.com/projects/py-driver/en/latest/index.html>`_
|
||||
* `JavaScript / Node.js Driver <https://github.com/planetmint/js-planetmint-driver>`_
|
||||
* `Java Driver <https://github.com/planetmint/java-planetmint-driver>`_
|
||||
* `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:
|
||||
|
||||
@@ -26,6 +26,6 @@ These drivers and tools were created by the Planetmint community:
|
||||
* `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>`_
|
||||
* `Go driver <https://github.com/zbo14/envoke/blob/master/bigchain/bigchain.go>`_
|
||||
* `Go driver <https://github.com/zbo14/envoke/blob/master/bigchain/planet.go>`_
|
||||
* `Ruby driver <https://github.com/LicenseRocks/planetmint_ruby>`_
|
||||
* `Ruby library for preparing/signing transactions and submitting them or querying a Planetmint node (MIT licensed) <https://rubygems.org/gems/planetmint>`_
|
||||
|
||||
@@ -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 `"~/bigchain.log"`, then
|
||||
logs would always be written to `bigchain.log`. Each time the file
|
||||
`bigchain.log` reaches 200 MB it will be closed and renamed
|
||||
`bigchain.log.1`. If `bigchain.log.1` and `bigchain.log.2` already exist they
|
||||
would be renamed `bigchain.log.2` and `bigchain.log.3`. This pattern would be
|
||||
applied up to `bigchain.log.5` after which `bigchain.log.5` would be
|
||||
overwritten by `bigchain.log.4`, thus ending the rotation cycle of whatever
|
||||
logs were in `bigchain.log.5`.
|
||||
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`.
|
||||
|
||||
### log.error_file
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ SQL을 이용해 mongoDB 데이터베이스를 쿼리할 수 있습니다. 예
|
||||
...
|
||||
> show dbs
|
||||
admin 0.000GB
|
||||
bigchain 0.000GB
|
||||
planet 0.000GB
|
||||
config 0.000GB
|
||||
local 0.000GB
|
||||
> use bigchain
|
||||
@@ -197,6 +197,6 @@ Tendermint voting 파워가 0인 노드인 추종자 노드를 생성할 수 있
|
||||
|
||||
[MongoDB node.js 드라이버](https://mongodb.github.io/node-mongodb-native/?jmp=docs)와 같은 MongoDB 드라이버를 사용하여 다음 중 하나를 사용하여 노드의 MongoDB 데이터베이스에 연결할 수 있습니다. 여기 자바스크립트 쿼리 코드에 대한 링크가 있습니다.
|
||||
|
||||
- [The Planetmint JavaScript/Node.js driver source code](https://github.com/planetmint/js-planetmint-driver)
|
||||
- [The Planetmint JavaScript/Node.js driver source code](https://github.com/planetmint/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)
|
||||
@@ -56,11 +56,11 @@ For example, if you're on a machine that's running a default Planetmint node, th
|
||||
...
|
||||
> show dbs
|
||||
admin 0.000GB
|
||||
bigchain 0.000GB
|
||||
planet 0.000GB
|
||||
config 0.000GB
|
||||
local 0.000GB
|
||||
> use bigchain
|
||||
switched to db bigchain
|
||||
> use planetmint
|
||||
switched to db planetmint
|
||||
> show collections
|
||||
abci_chains
|
||||
assets
|
||||
@@ -75,14 +75,14 @@ For example, if you're on a machine that's running a default Planetmint node, th
|
||||
The above example illustrates several things:
|
||||
|
||||
* When you don't specify the hostname or port, the Mongo Shell assumes they are ``localhost`` and ``27017``, respectively. (``localhost`` had IP address 127.0.0.1 on the machine in question, an Ubuntu machine.)
|
||||
* Planetmint stores its data in a database named ``bigchain``.
|
||||
* The ``bigchain`` database contains several `collections <https://docs.mongodb.com/manual/core/databases-and-collections/>`_.
|
||||
* Planetmint stores its data in a database named ``planetmint``.
|
||||
* The ``planetmint`` database contains several `collections <https://docs.mongodb.com/manual/core/databases-and-collections/>`_.
|
||||
* Votes aren't stored in any collection, currently. They are all handled and stored by Tendermint in its own (LevelDB) database.
|
||||
|
||||
Example Documents from Some Collections
|
||||
---------------------------------------
|
||||
|
||||
The most interesting collections in the ``bigchain`` database are:
|
||||
The most interesting collections in the ``planetmint`` database are:
|
||||
|
||||
- transactions
|
||||
- assets
|
||||
@@ -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-planetmint-driver>`_
|
||||
- `The Planetmint JavaScript/Node.js driver source code <https://github.com/planetmint/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>`_
|
||||
|
||||
Reference in New Issue
Block a user