diff --git a/.ci/entrypoint.sh b/.ci/entrypoint.sh index e3cbbc0e..1d3f24f2 100755 --- a/.ci/entrypoint.sh +++ b/.ci/entrypoint.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + set -e -x diff --git a/.ci/travis-after-success.sh b/.ci/travis-after-success.sh index 3934bb48..518409c6 100755 --- a/.ci/travis-after-success.sh +++ b/.ci/travis-after-success.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + set -e -x diff --git a/.ci/travis-before-install.sh b/.ci/travis-before-install.sh index 28111c80..f3125904 100755 --- a/.ci/travis-before-install.sh +++ b/.ci/travis-before-install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + if [[ -z ${TOXENV} ]]; then sudo apt-get update diff --git a/.ci/travis-before-script.sh b/.ci/travis-before-script.sh index 8bf7ec27..f68fa67d 100755 --- a/.ci/travis-before-script.sh +++ b/.ci/travis-before-script.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + set -e -x diff --git a/.ci/travis-install.sh b/.ci/travis-install.sh index 977628f7..352e9779 100755 --- a/.ci/travis-install.sh +++ b/.ci/travis-install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + set -e -x diff --git a/.ci/travis_script.sh b/.ci/travis_script.sh index 0fdacc76..b525f85c 100755 --- a/.ci/travis_script.sh +++ b/.ci/travis_script.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + set -e -x diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 5ff026e0..36a235cb 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,3 +1,9 @@ + + # How to Contribute to the BigchainDB Project There are many ways you can contribute to the BigchainDB project, some very easy and others more involved. diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1a3e4098..cd2aedd6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + repos: - repo: git://github.com/pre-commit/pre-commit-hooks sha: v1.1.1 diff --git a/.readthedocs.yml b/.readthedocs.yml index c8b8b04c..c8d328b5 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + build: image: latest diff --git a/.travis.yml b/.travis.yml index d6413fe9..7226815d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + sudo: required dist: trusty diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c531b83..abf01d7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ + + # Change Log (Release Notes) All _notable_ changes to this project will be documented in this file (`CHANGELOG.md`). diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index b5beacc0..39b1f2c1 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,9 @@ + + # Contributor Code of Conduct As contributors and maintainers of this project, and in the interest of diff --git a/HOW_TO_HANDLE_PULL_REQUESTS.md b/HOW_TO_HANDLE_PULL_REQUESTS.md index 00ab9335..66b9c7a7 100644 --- a/HOW_TO_HANDLE_PULL_REQUESTS.md +++ b/HOW_TO_HANDLE_PULL_REQUESTS.md @@ -1,3 +1,9 @@ + + # How to Handle External Pull Requests See [BEP-16](https://github.com/bigchaindb/BEPs/tree/master/16). diff --git a/PYTHON_STYLE_GUIDE.md b/PYTHON_STYLE_GUIDE.md index 492235b1..c4ef39e7 100644 --- a/PYTHON_STYLE_GUIDE.md +++ b/PYTHON_STYLE_GUIDE.md @@ -1,3 +1,9 @@ + + # Python Style Guide This guide starts out with our general Python coding style guidelines and ends with a section on how we write & run (Python) tests. diff --git a/README.md b/README.md index d9d907a8..669eb435 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + + + # Our Release Process ## Notes diff --git a/ROADMAP.md b/ROADMAP.md index 266cd06f..c3e0db88 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -1,3 +1,9 @@ + + # BigchainDB Roadmap We moved the BigchainDB Roadmap to the bigchaindb/org repository; see: diff --git a/acceptance/README.md b/acceptance/README.md index e64eb3c8..ad6e7c4e 100644 --- a/acceptance/README.md +++ b/acceptance/README.md @@ -1,3 +1,9 @@ + + # Acceptance test suite This directory contains the acceptance test suite for BigchainDB. diff --git a/acceptance/python/src/test_basic.py b/acceptance/python/src/test_basic.py index a965e19f..8702ef65 100644 --- a/acceptance/python/src/test_basic.py +++ b/acceptance/python/src/test_basic.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + # # Basic Acceptance Test # Here we check that the primitives of the system behave as expected. # As you will see, this script tests basic stuff like: @@ -36,7 +40,6 @@ def test_basic(): # The two keypairs will be called—drum roll—Alice and Bob. alice, bob = generate_keypair(), generate_keypair() - # ## Alice registers her bike in BigchainDB # Alice has a nice bike, and here she creates the "digital twin" # of her bike. @@ -57,7 +60,6 @@ def test_basic(): # a variable with a short and easy name bike_id = fulfilled_creation_tx['id'] - # Now she is ready to send it to the BigchainDB Network. sent_transfer_tx = bdb.transactions.send(fulfilled_creation_tx) @@ -69,7 +71,6 @@ def test_basic(): assert len(bdb.outputs.get(alice.public_key, spent=False)) == 1 assert bdb.outputs.get(alice.public_key)[0]['transaction_id'] == bike_id - # ## Alice transfers her bike to Bob # After registering her bike, Alice is ready to transfer it to Bob. # She needs to create a new `TRANSFER` transaction. diff --git a/acceptance/python/src/test_divisible_asset.py b/acceptance/python/src/test_divisible_asset.py index 467efccf..b9a725d9 100644 --- a/acceptance/python/src/test_divisible_asset.py +++ b/acceptance/python/src/test_divisible_asset.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + # # Divisible assets integration testing # This test checks if we can successfully divide assets. # The script tests various things like: diff --git a/acceptance/python/src/test_double_spend.py b/acceptance/python/src/test_double_spend.py index e785feee..2b9541b4 100644 --- a/acceptance/python/src/test_double_spend.py +++ b/acceptance/python/src/test_double_spend.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + # # Double Spend testing # This test challenge the system with double spends. diff --git a/acceptance/python/src/test_multiple_owners.py b/acceptance/python/src/test_multiple_owners.py index 4a27c6c2..89e93860 100644 --- a/acceptance/python/src/test_multiple_owners.py +++ b/acceptance/python/src/test_multiple_owners.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + # # Multiple owners integration testing # This test checks if we can successfully create and transfer a transaction # with multiple owners. diff --git a/acceptance/python/src/test_naughty_strings.py b/acceptance/python/src/test_naughty_strings.py index 54664183..df4cb7dc 100644 --- a/acceptance/python/src/test_naughty_strings.py +++ b/acceptance/python/src/test_naughty_strings.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + # ## Testing potentially hazardous strings # This test uses a library of `naughty` strings (code injections, weird unicode chars., etc.) as both keys and values. # We look for either a successful tx, or in the case that we use a naughty string as a key, and it violates some key @@ -8,7 +12,8 @@ # env variables. import os -# Since the naughty strings get encoded and decoded in odd ways, we'll use a regex to sweep those details under the rug. +# Since the naughty strings get encoded and decoded in odd ways, +# we'll use a regex to sweep those details under the rug. import re # We'll use a nice library of naughty strings... diff --git a/acceptance/python/src/test_stream.py b/acceptance/python/src/test_stream.py index e2fcb421..e8c12c5a 100644 --- a/acceptance/python/src/test_stream.py +++ b/acceptance/python/src/test_stream.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + # # Stream Acceptance Test # This test checks if the event stream works correctly. The basic idea of this # test is to generate some random **valid** transaction, send them to a diff --git a/bigchaindb/README.md b/bigchaindb/README.md index 3ed61495..f3353108 100644 --- a/bigchaindb/README.md +++ b/bigchaindb/README.md @@ -1,3 +1,9 @@ + + # Overview A high-level description of the files and subdirectories of BigchainDB. diff --git a/bigchaindb/__init__.py b/bigchaindb/__init__.py index f0abc7fb..5e69b684 100644 --- a/bigchaindb/__init__.py +++ b/bigchaindb/__init__.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + import copy import logging diff --git a/bigchaindb/backend/README.md b/bigchaindb/backend/README.md index 94ee8690..46318d78 100644 --- a/bigchaindb/backend/README.md +++ b/bigchaindb/backend/README.md @@ -1,3 +1,9 @@ + + # Backend Interfaces ## Structure diff --git a/bigchaindb/backend/__init__.py b/bigchaindb/backend/__init__.py index 7c7c12f7..a91891b5 100644 --- a/bigchaindb/backend/__init__.py +++ b/bigchaindb/backend/__init__.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Generic backend database interfaces expected by BigchainDB. The interfaces in this module allow BigchainDB to be agnostic about its diff --git a/bigchaindb/backend/connection.py b/bigchaindb/backend/connection.py index 14bf6de3..ab86e5d8 100644 --- a/bigchaindb/backend/connection.py +++ b/bigchaindb/backend/connection.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + from itertools import repeat from importlib import import_module import logging diff --git a/bigchaindb/backend/exceptions.py b/bigchaindb/backend/exceptions.py index 017e19e4..b69cab73 100644 --- a/bigchaindb/backend/exceptions.py +++ b/bigchaindb/backend/exceptions.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + from bigchaindb.exceptions import BigchainDBError diff --git a/bigchaindb/backend/localmongodb/__init__.py b/bigchaindb/backend/localmongodb/__init__.py index 61ae1e6b..8f6976a9 100644 --- a/bigchaindb/backend/localmongodb/__init__.py +++ b/bigchaindb/backend/localmongodb/__init__.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """MongoDB backend implementation. Contains a MongoDB-specific implementation of the diff --git a/bigchaindb/backend/localmongodb/connection.py b/bigchaindb/backend/localmongodb/connection.py index 7e6c0e2a..45d234ec 100644 --- a/bigchaindb/backend/localmongodb/connection.py +++ b/bigchaindb/backend/localmongodb/connection.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + import time import logging from ssl import CERT_REQUIRED diff --git a/bigchaindb/backend/localmongodb/query.py b/bigchaindb/backend/localmongodb/query.py index 4f56dd73..28757337 100644 --- a/bigchaindb/backend/localmongodb/query.py +++ b/bigchaindb/backend/localmongodb/query.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Query implementation for MongoDB""" from pymongo import DESCENDING diff --git a/bigchaindb/backend/localmongodb/schema.py b/bigchaindb/backend/localmongodb/schema.py index 1e7f3614..4d13658a 100644 --- a/bigchaindb/backend/localmongodb/schema.py +++ b/bigchaindb/backend/localmongodb/schema.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Utils to initialize and drop the database.""" import logging diff --git a/bigchaindb/backend/query.py b/bigchaindb/backend/query.py index cd4646f5..278b33da 100644 --- a/bigchaindb/backend/query.py +++ b/bigchaindb/backend/query.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Query interfaces for backends.""" from functools import singledispatch @@ -364,6 +368,7 @@ def store_validator_set(conn, validator_update): @singledispatch def get_validator_set(conn, height): """Get validator set for a given `height`, if `height` is not specified - then return the latest validator set""" + then return the latest validator set + """ raise NotImplementedError diff --git a/bigchaindb/backend/schema.py b/bigchaindb/backend/schema.py index 96a12b27..cf777a0c 100644 --- a/bigchaindb/backend/schema.py +++ b/bigchaindb/backend/schema.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Database creation and schema-providing interfaces for backends. Attributes: diff --git a/bigchaindb/backend/utils.py b/bigchaindb/backend/utils.py index e84d31f4..a64995a7 100644 --- a/bigchaindb/backend/utils.py +++ b/bigchaindb/backend/utils.py @@ -1,3 +1,8 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + + class ModuleDispatchRegistrationError(Exception): """Raised when there is a problem registering dispatched functions for a module diff --git a/bigchaindb/commands/bigchaindb.py b/bigchaindb/commands/bigchaindb.py index 63394df1..5e24e07c 100644 --- a/bigchaindb/commands/bigchaindb.py +++ b/bigchaindb/commands/bigchaindb.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Implementation of the `bigchaindb` command, the command-line interface (CLI) for BigchainDB Server. """ diff --git a/bigchaindb/commands/utils.py b/bigchaindb/commands/utils.py index 3ce8ab7f..9e090d6d 100644 --- a/bigchaindb/commands/utils.py +++ b/bigchaindb/commands/utils.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Utility functions and basic common arguments for ``argparse.ArgumentParser``. """ diff --git a/bigchaindb/common/crypto.py b/bigchaindb/common/crypto.py index 58b3faa0..a8e42c52 100644 --- a/bigchaindb/common/crypto.py +++ b/bigchaindb/common/crypto.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + # Separate all crypto code so that we can easily test several implementations from collections import namedtuple diff --git a/bigchaindb/common/exceptions.py b/bigchaindb/common/exceptions.py index 357e998d..8e44b722 100644 --- a/bigchaindb/common/exceptions.py +++ b/bigchaindb/common/exceptions.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Custom exceptions used in the `bigchaindb` package. """ from bigchaindb.exceptions import BigchainDBError diff --git a/bigchaindb/common/schema/README.md b/bigchaindb/common/schema/README.md index 1de4bd41..4592e59a 100644 --- a/bigchaindb/common/schema/README.md +++ b/bigchaindb/common/schema/README.md @@ -1,3 +1,9 @@ + + # Introduction This directory contains the schemas for the different JSON documents BigchainDB uses. diff --git a/bigchaindb/common/schema/__init__.py b/bigchaindb/common/schema/__init__.py index 2e44b7ae..f29e9b44 100644 --- a/bigchaindb/common/schema/__init__.py +++ b/bigchaindb/common/schema/__init__.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Schema validation related functions and data""" import os.path import logging diff --git a/bigchaindb/common/schema/transaction_create_v1.0.yaml b/bigchaindb/common/schema/transaction_create_v1.0.yaml index 3d393347..bcec0c33 100644 --- a/bigchaindb/common/schema/transaction_create_v1.0.yaml +++ b/bigchaindb/common/schema/transaction_create_v1.0.yaml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + --- "$schema": "http://json-schema.org/draft-04/schema#" type: object diff --git a/bigchaindb/common/schema/transaction_create_v2.0.yaml b/bigchaindb/common/schema/transaction_create_v2.0.yaml index ed018ea5..5eb8c5a1 100644 --- a/bigchaindb/common/schema/transaction_create_v2.0.yaml +++ b/bigchaindb/common/schema/transaction_create_v2.0.yaml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + --- "$schema": "http://json-schema.org/draft-04/schema#" type: object diff --git a/bigchaindb/common/schema/transaction_transfer_v1.0.yaml b/bigchaindb/common/schema/transaction_transfer_v1.0.yaml index 538ec5e6..bc26dff8 100644 --- a/bigchaindb/common/schema/transaction_transfer_v1.0.yaml +++ b/bigchaindb/common/schema/transaction_transfer_v1.0.yaml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + --- "$schema": "http://json-schema.org/draft-04/schema#" type: object diff --git a/bigchaindb/common/schema/transaction_transfer_v2.0.yaml b/bigchaindb/common/schema/transaction_transfer_v2.0.yaml index 538ec5e6..bc26dff8 100644 --- a/bigchaindb/common/schema/transaction_transfer_v2.0.yaml +++ b/bigchaindb/common/schema/transaction_transfer_v2.0.yaml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + --- "$schema": "http://json-schema.org/draft-04/schema#" type: object diff --git a/bigchaindb/common/schema/transaction_v1.0.yaml b/bigchaindb/common/schema/transaction_v1.0.yaml index 15b7d381..cd7ad304 100644 --- a/bigchaindb/common/schema/transaction_v1.0.yaml +++ b/bigchaindb/common/schema/transaction_v1.0.yaml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + --- "$schema": "http://json-schema.org/draft-04/schema#" type: object diff --git a/bigchaindb/common/schema/transaction_v2.0.yaml b/bigchaindb/common/schema/transaction_v2.0.yaml index 6f7deea9..acc8c6b5 100644 --- a/bigchaindb/common/schema/transaction_v2.0.yaml +++ b/bigchaindb/common/schema/transaction_v2.0.yaml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + --- "$schema": "http://json-schema.org/draft-04/schema#" type: object diff --git a/bigchaindb/common/schema/transaction_validator_election_v2.0.yaml b/bigchaindb/common/schema/transaction_validator_election_v2.0.yaml index ce107f58..2c93886c 100644 --- a/bigchaindb/common/schema/transaction_validator_election_v2.0.yaml +++ b/bigchaindb/common/schema/transaction_validator_election_v2.0.yaml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + --- "$schema": "http://json-schema.org/draft-04/schema#" type: object diff --git a/bigchaindb/common/schema/transaction_validator_election_vote_v2.0.yaml b/bigchaindb/common/schema/transaction_validator_election_vote_v2.0.yaml index 714cfe3e..db3cba9e 100644 --- a/bigchaindb/common/schema/transaction_validator_election_vote_v2.0.yaml +++ b/bigchaindb/common/schema/transaction_validator_election_vote_v2.0.yaml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + --- "$schema": "http://json-schema.org/draft-04/schema#" type: object diff --git a/bigchaindb/common/transaction.py b/bigchaindb/common/transaction.py index f232eb81..d5b3eef8 100644 --- a/bigchaindb/common/transaction.py +++ b/bigchaindb/common/transaction.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Transaction related models to parse and construct transaction payloads. @@ -570,7 +574,7 @@ class Transaction(object): @property def spent_outputs(self): - """tuple of :obj:`dict`: Inputs of this transaction. Each input + """Tuple of :obj:`dict`: Inputs of this transaction. Each input is represented as a dictionary containing a transaction id and output index. """ diff --git a/bigchaindb/common/utils.py b/bigchaindb/common/utils.py index ca7ec6cb..4e1f8ca2 100644 --- a/bigchaindb/common/utils.py +++ b/bigchaindb/common/utils.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + import time import re import rapidjson diff --git a/bigchaindb/config_utils.py b/bigchaindb/config_utils.py index 7a350175..3836f437 100644 --- a/bigchaindb/config_utils.py +++ b/bigchaindb/config_utils.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Utils for reading and setting configuration settings. The value of each BigchainDB Server configuration setting is diff --git a/bigchaindb/consensus.py b/bigchaindb/consensus.py index ba316762..a5a20efb 100644 --- a/bigchaindb/consensus.py +++ b/bigchaindb/consensus.py @@ -1,3 +1,6 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 class BaseConsensusRules(): diff --git a/bigchaindb/core.py b/bigchaindb/core.py index f9613fe0..90be42b5 100644 --- a/bigchaindb/core.py +++ b/bigchaindb/core.py @@ -1,5 +1,10 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """This module contains all the goodness to integrate BigchainDB -with Tendermint.""" +with Tendermint. +""" import logging import codecs @@ -33,7 +38,8 @@ class App(BaseApplication): The role of this class is to expose the BigchainDB transactional logic to the Tendermint Consensus - State Machine.""" + State Machine. + """ def __init__(self, bigchaindb=None): self.bigchaindb = bigchaindb or BigchainDB() @@ -69,7 +75,8 @@ class App(BaseApplication): the mempool. Args: - raw_tx: a raw string (in bytes) transaction.""" + raw_tx: a raw string (in bytes) transaction. + """ logger.benchmark('CHECK_TX_INIT') logger.debug('check_tx: %s', raw_transaction) @@ -101,7 +108,8 @@ class App(BaseApplication): """Validate the transaction before mutating the state. Args: - raw_tx: a raw string (in bytes) transaction.""" + raw_tx: a raw string (in bytes) transaction. + """ logger.debug('deliver_tx: %s', raw_transaction) transaction = self.bigchaindb.is_valid_transaction( decode_transaction(raw_transaction), self.block_transactions) @@ -120,7 +128,8 @@ class App(BaseApplication): hash to be stored in the next block. Args: - height (int): new height of the chain.""" + height (int): new height of the chain. + """ height = request_end_block.height self.new_height = height diff --git a/bigchaindb/event_stream.py b/bigchaindb/event_stream.py index 8a68b7f1..a7d39187 100644 --- a/bigchaindb/event_stream.py +++ b/bigchaindb/event_stream.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + import asyncio import json import logging diff --git a/bigchaindb/events.py b/bigchaindb/events.py index e11037cb..75de6ded 100644 --- a/bigchaindb/events.py +++ b/bigchaindb/events.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + from queue import Empty from collections import defaultdict from multiprocessing import Queue diff --git a/bigchaindb/exceptions.py b/bigchaindb/exceptions.py index bb5d7c01..3e54192c 100644 --- a/bigchaindb/exceptions.py +++ b/bigchaindb/exceptions.py @@ -1,3 +1,8 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + + class BigchainDBError(Exception): """Base class for BigchainDB exceptions.""" diff --git a/bigchaindb/fastquery.py b/bigchaindb/fastquery.py index 2f3e4795..0cf873cf 100644 --- a/bigchaindb/fastquery.py +++ b/bigchaindb/fastquery.py @@ -1,19 +1,20 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + from bigchaindb.utils import condition_details_has_owner from bigchaindb.backend import query from bigchaindb.common.transaction import TransactionLink class FastQuery(): - """ - Database queries that join on block results from a single node. - """ + """Database queries that join on block results from a single node.""" + def __init__(self, connection): self.connection = connection def get_outputs_by_public_key(self, public_key): - """ - Get outputs for a public key - """ + """Get outputs for a public key""" txs = list(query.get_owned_ids(self.connection, public_key)) return [TransactionLink(tx['id'], index) for tx in txs @@ -22,8 +23,7 @@ class FastQuery(): public_key)] def filter_spent_outputs(self, outputs): - """ - Remove outputs that have been spent + """Remove outputs that have been spent Args: outputs: list of TransactionLink @@ -36,8 +36,7 @@ class FastQuery(): return [ff for ff in outputs if ff not in spends] def filter_unspent_outputs(self, outputs): - """ - Remove outputs that have not been spent + """Remove outputs that have not been spent Args: outputs: list of TransactionLink diff --git a/bigchaindb/lib.py b/bigchaindb/lib.py index a0b7e727..c9761cb1 100644 --- a/bigchaindb/lib.py +++ b/bigchaindb/lib.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Module containing main contact points with Tendermint and MongoDB. diff --git a/bigchaindb/log.py b/bigchaindb/log.py index 9fca6508..6b6ba931 100644 --- a/bigchaindb/log.py +++ b/bigchaindb/log.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + import bigchaindb import logging diff --git a/bigchaindb/models.py b/bigchaindb/models.py index 58cc9a99..894f510d 100644 --- a/bigchaindb/models.py +++ b/bigchaindb/models.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + from bigchaindb.common.exceptions import (InvalidSignature, DuplicateTransaction) from bigchaindb.common.transaction import Transaction diff --git a/bigchaindb/start.py b/bigchaindb/start.py index e606ac11..2b9667b5 100644 --- a/bigchaindb/start.py +++ b/bigchaindb/start.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + import logging import setproctitle diff --git a/bigchaindb/tendermint_utils.py b/bigchaindb/tendermint_utils.py index 3299456a..99ea85f5 100644 --- a/bigchaindb/tendermint_utils.py +++ b/bigchaindb/tendermint_utils.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + import base64 import hashlib import json diff --git a/bigchaindb/upsert_validator/__init__.py b/bigchaindb/upsert_validator/__init__.py index a318e861..3af785a7 100644 --- a/bigchaindb/upsert_validator/__init__.py +++ b/bigchaindb/upsert_validator/__init__.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + from bigchaindb.upsert_validator.validator_election import ValidatorElection # noqa from bigchaindb.upsert_validator.validator_election_vote import ValidatorElectionVote # noqa diff --git a/bigchaindb/upsert_validator/validator_election.py b/bigchaindb/upsert_validator/validator_election.py index 4717e708..ea21a32c 100644 --- a/bigchaindb/upsert_validator/validator_election.py +++ b/bigchaindb/upsert_validator/validator_election.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + from bigchaindb.common.exceptions import (InvalidSignature, MultipleInputsError, InvalidProposer, diff --git a/bigchaindb/upsert_validator/validator_election_vote.py b/bigchaindb/upsert_validator/validator_election_vote.py index 1405ff8f..bec373ae 100644 --- a/bigchaindb/upsert_validator/validator_election_vote.py +++ b/bigchaindb/upsert_validator/validator_election_vote.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + import base58 from bigchaindb.common.transaction import Transaction diff --git a/bigchaindb/utils.py b/bigchaindb/utils.py index ba781214..78777133 100644 --- a/bigchaindb/utils.py +++ b/bigchaindb/utils.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + import contextlib import threading import queue diff --git a/bigchaindb/version.py b/bigchaindb/version.py index 70929438..3120eea1 100644 --- a/bigchaindb/version.py +++ b/bigchaindb/version.py @@ -1,2 +1,6 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + __version__ = '2.0.0b5' __short_version__ = '2.0b5' diff --git a/bigchaindb/web/routes.py b/bigchaindb/web/routes.py index 33d65ad7..94d6e63a 100644 --- a/bigchaindb/web/routes.py +++ b/bigchaindb/web/routes.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """API routes definition""" from flask_restful import Api from bigchaindb.web.views import ( diff --git a/bigchaindb/web/server.py b/bigchaindb/web/server.py index 348d3fec..f296a872 100644 --- a/bigchaindb/web/server.py +++ b/bigchaindb/web/server.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """This module contains basic functions to instantiate the BigchainDB API. The application is implemented in Flask and runs using Gunicorn. diff --git a/bigchaindb/web/strip_content_type_middleware.py b/bigchaindb/web/strip_content_type_middleware.py index 953c8b78..0b2164fa 100644 --- a/bigchaindb/web/strip_content_type_middleware.py +++ b/bigchaindb/web/strip_content_type_middleware.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + import logging logger = logging.getLogger(__name__) diff --git a/bigchaindb/web/views/assets.py b/bigchaindb/web/views/assets.py index 7639b78f..6829eaf4 100644 --- a/bigchaindb/web/views/assets.py +++ b/bigchaindb/web/views/assets.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """This module provides the blueprint for some basic API endpoints. For more information please refer to the documentation: http://bigchaindb.com/http-api diff --git a/bigchaindb/web/views/base.py b/bigchaindb/web/views/base.py index 9d804d89..3ca79f0c 100644 --- a/bigchaindb/web/views/base.py +++ b/bigchaindb/web/views/base.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """Common classes and methods for API handlers """ import logging diff --git a/bigchaindb/web/views/blocks.py b/bigchaindb/web/views/blocks.py index b00a478f..276fc632 100644 --- a/bigchaindb/web/views/blocks.py +++ b/bigchaindb/web/views/blocks.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """This module provides the blueprint for the blocks API endpoints. For more information please refer to the documentation: http://bigchaindb.com/http-api diff --git a/bigchaindb/web/views/info.py b/bigchaindb/web/views/info.py index 88086d0d..4b44157b 100644 --- a/bigchaindb/web/views/info.py +++ b/bigchaindb/web/views/info.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """API Index endpoint""" import flask diff --git a/bigchaindb/web/views/metadata.py b/bigchaindb/web/views/metadata.py index 1879fabe..2a6e6292 100644 --- a/bigchaindb/web/views/metadata.py +++ b/bigchaindb/web/views/metadata.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """This module provides the blueprint for some basic API endpoints. For more information please refer to the documentation: http://bigchaindb.com/http-api diff --git a/bigchaindb/web/views/outputs.py b/bigchaindb/web/views/outputs.py index 2f63c07f..0a087fbb 100644 --- a/bigchaindb/web/views/outputs.py +++ b/bigchaindb/web/views/outputs.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + from flask import current_app from flask_restful import reqparse, Resource diff --git a/bigchaindb/web/views/parameters.py b/bigchaindb/web/views/parameters.py index 58eb8a5f..ed78157a 100644 --- a/bigchaindb/web/views/parameters.py +++ b/bigchaindb/web/views/parameters.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + import re diff --git a/bigchaindb/web/views/transactions.py b/bigchaindb/web/views/transactions.py index cd64f0a9..9bbc209d 100644 --- a/bigchaindb/web/views/transactions.py +++ b/bigchaindb/web/views/transactions.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """This module provides the blueprint for some basic API endpoints. For more information please refer to the documentation: http://bigchaindb.com/http-api diff --git a/bigchaindb/web/views/validators.py b/bigchaindb/web/views/validators.py index 825b0c7d..a31f3357 100644 --- a/bigchaindb/web/views/validators.py +++ b/bigchaindb/web/views/validators.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + from flask import current_app from flask_restful import Resource diff --git a/bigchaindb/web/websocket_server.py b/bigchaindb/web/websocket_server.py index ad138d40..8aea0e20 100644 --- a/bigchaindb/web/websocket_server.py +++ b/bigchaindb/web/websocket_server.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """WebSocket server for the BigchainDB Event Stream API.""" # NOTE diff --git a/codecov.yml b/codecov.yml index 727c29ea..b46e4ecb 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + codecov: branch: master # the branch to show by default diff --git a/docker-compose.yml b/docker-compose.yml index 9c8fa3a7..cf50538c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + version: '2.1' services: diff --git a/docs/README.md b/docs/README.md index b93f72a1..84d59205 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,3 +1,9 @@ + + - [Documentation on ReadTheDocs](http://bigchaindb.readthedocs.org/) - [BigchainDB Upgrade Guides](upgrade-guides/) diff --git a/docs/contributing/source/conf.py b/docs/contributing/source/conf.py index 70ecc655..0358e6ab 100644 --- a/docs/contributing/source/conf.py +++ b/docs/contributing/source/conf.py @@ -1,6 +1,8 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- -# +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + # BigchainDB documentation build configuration file, created by # sphinx-quickstart on Thu Sep 29 11:13:27 2016. # diff --git a/docs/contributing/source/cross-project-policies/index.rst b/docs/contributing/source/cross-project-policies/index.rst index e98e0923..5d6adc4a 100644 --- a/docs/contributing/source/cross-project-policies/index.rst +++ b/docs/contributing/source/cross-project-policies/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Policies ======== diff --git a/docs/contributing/source/dev-setup-coding-and-contribution-process/index.rst b/docs/contributing/source/dev-setup-coding-and-contribution-process/index.rst index 9c96200b..bb9503d8 100644 --- a/docs/contributing/source/dev-setup-coding-and-contribution-process/index.rst +++ b/docs/contributing/source/dev-setup-coding-and-contribution-process/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Developer Setup, Coding & Contribution Process ============================================== diff --git a/docs/contributing/source/dev-setup-coding-and-contribution-process/run-dev-network-ansible.md b/docs/contributing/source/dev-setup-coding-and-contribution-process/run-dev-network-ansible.md index 3bb9dc47..f04539f1 100644 --- a/docs/contributing/source/dev-setup-coding-and-contribution-process/run-dev-network-ansible.md +++ b/docs/contributing/source/dev-setup-coding-and-contribution-process/run-dev-network-ansible.md @@ -1,3 +1,9 @@ + + # Run a BigchainDB network with Ansible **NOT for Production Use** diff --git a/docs/contributing/source/dev-setup-coding-and-contribution-process/run-dev-network-stack.md b/docs/contributing/source/dev-setup-coding-and-contribution-process/run-dev-network-stack.md index b4719128..96108d95 100644 --- a/docs/contributing/source/dev-setup-coding-and-contribution-process/run-dev-network-stack.md +++ b/docs/contributing/source/dev-setup-coding-and-contribution-process/run-dev-network-stack.md @@ -1,3 +1,9 @@ + + # Run a BigchainDB network **NOT for Production Use** diff --git a/docs/contributing/source/dev-setup-coding-and-contribution-process/run-node-as-processes.md b/docs/contributing/source/dev-setup-coding-and-contribution-process/run-node-as-processes.md index d39b2b9f..a0a0af7e 100644 --- a/docs/contributing/source/dev-setup-coding-and-contribution-process/run-node-as-processes.md +++ b/docs/contributing/source/dev-setup-coding-and-contribution-process/run-node-as-processes.md @@ -1,3 +1,9 @@ + + # Notes on Running a Local Dev Node as Processes The following doc describes how to run a local node for developing BigchainDB Tendermint version. diff --git a/docs/contributing/source/dev-setup-coding-and-contribution-process/run-node-with-docker-compose.md b/docs/contributing/source/dev-setup-coding-and-contribution-process/run-node-with-docker-compose.md index 8a8ae482..726a3088 100644 --- a/docs/contributing/source/dev-setup-coding-and-contribution-process/run-node-with-docker-compose.md +++ b/docs/contributing/source/dev-setup-coding-and-contribution-process/run-node-with-docker-compose.md @@ -1,3 +1,9 @@ + + # Notes on Running a Local Dev Node with Docker Compose ## Setting up a single node development environment with ``docker-compose`` diff --git a/docs/contributing/source/dev-setup-coding-and-contribution-process/write-code.rst b/docs/contributing/source/dev-setup-coding-and-contribution-process/write-code.rst index 60526086..58ecd9bc 100644 --- a/docs/contributing/source/dev-setup-coding-and-contribution-process/write-code.rst +++ b/docs/contributing/source/dev-setup-coding-and-contribution-process/write-code.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Write Code ========== diff --git a/docs/contributing/source/index.rst b/docs/contributing/source/index.rst index 69b4cd03..d64729a5 100644 --- a/docs/contributing/source/index.rst +++ b/docs/contributing/source/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Contributing to BigchainDB ========================== diff --git a/docs/contributing/source/ways-to-contribute/answer-questions.md b/docs/contributing/source/ways-to-contribute/answer-questions.md index 62b51f4f..6e937f0a 100644 --- a/docs/contributing/source/ways-to-contribute/answer-questions.md +++ b/docs/contributing/source/ways-to-contribute/answer-questions.md @@ -1,3 +1,9 @@ + + # Answer Questions People ask questions about BigchainDB in the following places: diff --git a/docs/contributing/source/ways-to-contribute/index.rst b/docs/contributing/source/ways-to-contribute/index.rst index 6ae77244..6bafc7ce 100644 --- a/docs/contributing/source/ways-to-contribute/index.rst +++ b/docs/contributing/source/ways-to-contribute/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Ways to Contribute ================== diff --git a/docs/contributing/source/ways-to-contribute/make-a-feature-request-or-proposal.md b/docs/contributing/source/ways-to-contribute/make-a-feature-request-or-proposal.md index 53e5ce0b..3419ef52 100644 --- a/docs/contributing/source/ways-to-contribute/make-a-feature-request-or-proposal.md +++ b/docs/contributing/source/ways-to-contribute/make-a-feature-request-or-proposal.md @@ -1,3 +1,9 @@ + + # Make a Feature Request or Proposal To make a feature request or proposal, [write a BigchainDB Enhancement Proposal (BEP)](write-a-bep.html). diff --git a/docs/contributing/source/ways-to-contribute/report-a-bug.md b/docs/contributing/source/ways-to-contribute/report-a-bug.md index 64850662..c8f19e93 100644 --- a/docs/contributing/source/ways-to-contribute/report-a-bug.md +++ b/docs/contributing/source/ways-to-contribute/report-a-bug.md @@ -1,3 +1,9 @@ + + # Report a Bug To report a bug, go to the relevant GitHub repository, click on the **Issues** tab, click on the **New issue** button, and read the instructions. diff --git a/docs/contributing/source/ways-to-contribute/write-a-bep.md b/docs/contributing/source/ways-to-contribute/write-a-bep.md index 9bb5e8f4..4403a449 100644 --- a/docs/contributing/source/ways-to-contribute/write-a-bep.md +++ b/docs/contributing/source/ways-to-contribute/write-a-bep.md @@ -1,3 +1,9 @@ + + # Write a BigchainDB Enhancement Proposal (BEP) If you have an idea for a new feature or enhancement, and you want some feedback before you write a full BigchainDB Enhancement Proposal (BEP), then feel free to: diff --git a/docs/contributing/source/ways-to-contribute/write-an-issue.md b/docs/contributing/source/ways-to-contribute/write-an-issue.md index 2cce2d88..397b6309 100644 --- a/docs/contributing/source/ways-to-contribute/write-an-issue.md +++ b/docs/contributing/source/ways-to-contribute/write-an-issue.md @@ -1,3 +1,9 @@ + + # Write an Issue To write an issue, go to the relevant GitHub repository, click on the **Issues** tab, click on the **New issue** button, and read the instructions. diff --git a/docs/contributing/source/ways-to-contribute/write-docs.md b/docs/contributing/source/ways-to-contribute/write-docs.md index e09c953f..34a1166c 100644 --- a/docs/contributing/source/ways-to-contribute/write-docs.md +++ b/docs/contributing/source/ways-to-contribute/write-docs.md @@ -1,3 +1,9 @@ + + # Write Docs If you're writing code, you should also update any related docs. However, you might want to write docs only, such as: diff --git a/docs/root/source/assets.rst b/docs/root/source/assets.rst index 4ca3892b..2726d724 100644 --- a/docs/root/source/assets.rst +++ b/docs/root/source/assets.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + How BigchainDB is Good for Asset Registrations & Transfers ========================================================== diff --git a/docs/root/source/bft.md b/docs/root/source/bft.md index 919a0df9..3eba27e9 100644 --- a/docs/root/source/bft.md +++ b/docs/root/source/bft.md @@ -1,3 +1,9 @@ + + # BigchainDB and Byzantine Fault Tolerance [BigchainDB Server](https://docs.bigchaindb.com/projects/server/en/latest/index.html) diff --git a/docs/root/source/conf.py b/docs/root/source/conf.py index e35b72fc..b9f0d122 100644 --- a/docs/root/source/conf.py +++ b/docs/root/source/conf.py @@ -1,6 +1,8 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- -# +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + # BigchainDB documentation build configuration file, created by # sphinx-quickstart on Thu Sep 29 11:13:27 2016. # diff --git a/docs/root/source/decentralized.md b/docs/root/source/decentralized.md index f38e12a2..7a72bea3 100644 --- a/docs/root/source/decentralized.md +++ b/docs/root/source/decentralized.md @@ -1,3 +1,9 @@ + + # How BigchainDB is Decentralized Decentralization means that no one owns or controls everything, and there is no single point of failure. diff --git a/docs/root/source/diversity.md b/docs/root/source/diversity.md index 767962e1..af80a0c4 100644 --- a/docs/root/source/diversity.md +++ b/docs/root/source/diversity.md @@ -1,3 +1,9 @@ + + # Kinds of Node Diversity Steps should be taken to make it difficult for any one actor or event to control or damage “enough” of the nodes. (Because BigchainDB Server uses Tendermint, "enough" is ⅓.) There are many kinds of diversity to consider, listed below. It may be quite difficult to have high diversity of all kinds. diff --git a/docs/root/source/immutable.md b/docs/root/source/immutable.md index c1aeb9f6..d9b6c72b 100644 --- a/docs/root/source/immutable.md +++ b/docs/root/source/immutable.md @@ -1,3 +1,9 @@ + + # How BigchainDB is Immutable The word _immutable_ means "unchanging over time or unable to be changed." For example, the decimal digits of π are immutable (3.14159…). diff --git a/docs/root/source/index.rst b/docs/root/source/index.rst index b6f478f8..b844db4f 100644 --- a/docs/root/source/index.rst +++ b/docs/root/source/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + BigchainDB Documentation ======================== diff --git a/docs/root/source/permissions.rst b/docs/root/source/permissions.rst index 0c31d1dc..009929fb 100644 --- a/docs/root/source/permissions.rst +++ b/docs/root/source/permissions.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Permissions in BigchainDB ------------------------- diff --git a/docs/root/source/private-data.rst b/docs/root/source/private-data.rst index 7088931f..73264116 100644 --- a/docs/root/source/private-data.rst +++ b/docs/root/source/private-data.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + BigchainDB, Privacy and Private Data ------------------------------------ diff --git a/docs/root/source/production-ready.md b/docs/root/source/production-ready.md index afbf8cc5..f94f7bb0 100644 --- a/docs/root/source/production-ready.md +++ b/docs/root/source/production-ready.md @@ -1,3 +1,9 @@ + + # Production-Ready? Depending on your use case, BigchainDB may or may not be production-ready. You should ask your service provider. diff --git a/docs/root/source/query.rst b/docs/root/source/query.rst index 0c4b642a..6ea9130f 100644 --- a/docs/root/source/query.rst +++ b/docs/root/source/query.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Querying BigchainDB =================== diff --git a/docs/root/source/smart-contracts.rst b/docs/root/source/smart-contracts.rst index b031f2f2..a9cd59f7 100644 --- a/docs/root/source/smart-contracts.rst +++ b/docs/root/source/smart-contracts.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + BigchainDB and Smart Contracts ============================== diff --git a/docs/root/source/store-files.md b/docs/root/source/store-files.md index 7ac2719e..ef52e5b0 100644 --- a/docs/root/source/store-files.md +++ b/docs/root/source/store-files.md @@ -1,3 +1,9 @@ + + # How to Store Files in BigchainDB While it's possible to store a file in a BigchainDB network, we don't recommend doing that. It works best for storing, indexing and querying _structured data_, not files. diff --git a/docs/root/source/terminology.md b/docs/root/source/terminology.md index ef05436e..f0593c7c 100644 --- a/docs/root/source/terminology.md +++ b/docs/root/source/terminology.md @@ -1,3 +1,9 @@ + + # Terminology There is some specialized terminology associated with BigchainDB. To get started, you should at least know the following: diff --git a/docs/root/source/transaction-concepts.md b/docs/root/source/transaction-concepts.md index 6a3b183d..9eca8e50 100644 --- a/docs/root/source/transaction-concepts.md +++ b/docs/root/source/transaction-concepts.md @@ -1,3 +1,9 @@ + + # Transaction Concepts In BigchainDB, _transactions_ are used to register, issue, create or transfer diff --git a/docs/server/generate_http_server_api_documentation.py b/docs/server/generate_http_server_api_documentation.py index 9050d05c..cd7fcd71 100644 --- a/docs/server/generate_http_server_api_documentation.py +++ b/docs/server/generate_http_server_api_documentation.py @@ -1,3 +1,7 @@ +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + """ Script to build http examples for http server api docs """ import json diff --git a/docs/server/source/appendices/all-in-one-bigchaindb.md b/docs/server/source/appendices/all-in-one-bigchaindb.md index 246b4e50..4fd6b245 100644 --- a/docs/server/source/appendices/all-in-one-bigchaindb.md +++ b/docs/server/source/appendices/all-in-one-bigchaindb.md @@ -1,3 +1,9 @@ + + # Run BigchainDB with all-in-one Docker For those who like using Docker and wish to experiment with BigchainDB in diff --git a/docs/server/source/appendices/aws-setup.md b/docs/server/source/appendices/aws-setup.md index 793f4d36..ff05be17 100644 --- a/docs/server/source/appendices/aws-setup.md +++ b/docs/server/source/appendices/aws-setup.md @@ -1,3 +1,9 @@ + + # Basic AWS Setup Before you can deploy anything on AWS, you must do a few things. diff --git a/docs/server/source/appendices/backend.rst b/docs/server/source/appendices/backend.rst index d0840515..42da43da 100644 --- a/docs/server/source/appendices/backend.rst +++ b/docs/server/source/appendices/backend.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + ########################### Database Backend Interfaces ########################### diff --git a/docs/server/source/appendices/commands.rst b/docs/server/source/appendices/commands.rst index 460145f4..116e0709 100644 --- a/docs/server/source/appendices/commands.rst +++ b/docs/server/source/appendices/commands.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + ###################### Command Line Interface ###################### diff --git a/docs/server/source/appendices/cryptography.rst b/docs/server/source/appendices/cryptography.rst index c44f3a91..154c7fac 100644 --- a/docs/server/source/appendices/cryptography.rst +++ b/docs/server/source/appendices/cryptography.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Cryptography ============ diff --git a/docs/server/source/appendices/firewall-notes.md b/docs/server/source/appendices/firewall-notes.md index a84b3105..20e1418a 100644 --- a/docs/server/source/appendices/firewall-notes.md +++ b/docs/server/source/appendices/firewall-notes.md @@ -1,3 +1,9 @@ + + # Notes for Firewall Setup This is a page of notes on the ports potentially used by BigchainDB nodes and the traffic they should expect, to help with firewall setup (or security group setup on cloud providers). This page is _not_ a firewall tutorial or step-by-step guide. diff --git a/docs/server/source/appendices/generate-key-pair-for-ssh.md b/docs/server/source/appendices/generate-key-pair-for-ssh.md index 18b19392..c61204c5 100644 --- a/docs/server/source/appendices/generate-key-pair-for-ssh.md +++ b/docs/server/source/appendices/generate-key-pair-for-ssh.md @@ -1,3 +1,9 @@ + + # Generate a Key Pair for SSH This page describes how to use `ssh-keygen` diff --git a/docs/server/source/appendices/index.rst b/docs/server/source/appendices/index.rst index 18e12ba2..ea02aed6 100755 --- a/docs/server/source/appendices/index.rst +++ b/docs/server/source/appendices/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Appendices ========== diff --git a/docs/server/source/appendices/json-serialization.rst b/docs/server/source/appendices/json-serialization.rst index 027c3c4b..72e8213b 100644 --- a/docs/server/source/appendices/json-serialization.rst +++ b/docs/server/source/appendices/json-serialization.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + JSON Serialization ================== diff --git a/docs/server/source/appendices/licenses.md b/docs/server/source/appendices/licenses.md index 89334e69..02df473b 100644 --- a/docs/server/source/appendices/licenses.md +++ b/docs/server/source/appendices/licenses.md @@ -1,3 +1,9 @@ + + # Licenses Information about how the BigchainDB 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. diff --git a/docs/server/source/appendices/ntp-notes.md b/docs/server/source/appendices/ntp-notes.md index c1a2b261..d29ef505 100644 --- a/docs/server/source/appendices/ntp-notes.md +++ b/docs/server/source/appendices/ntp-notes.md @@ -1,3 +1,9 @@ + + # Notes on NTP Daemon Setup There are several NTP daemons available, including: diff --git a/docs/server/source/appendices/the-bigchaindb-class.rst b/docs/server/source/appendices/the-bigchaindb-class.rst index 8d604d2c..405fb61e 100644 --- a/docs/server/source/appendices/the-bigchaindb-class.rst +++ b/docs/server/source/appendices/the-bigchaindb-class.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + #################### The BigchainDB Class #################### diff --git a/docs/server/source/clusters.md b/docs/server/source/clusters.md index 23cbf1f3..5161f185 100644 --- a/docs/server/source/clusters.md +++ b/docs/server/source/clusters.md @@ -1,3 +1,9 @@ + + # Clusters A **BigchainDB Cluster** is a set of connected **BigchainDB Nodes**, managed by a **BigchainDB Consortium** (i.e. an organization). Those terms are defined in the [BigchainDB Terminology page](https://docs.bigchaindb.com/en/latest/terminology.html). diff --git a/docs/server/source/conf.py b/docs/server/source/conf.py index e986cecc..459877aa 100644 --- a/docs/server/source/conf.py +++ b/docs/server/source/conf.py @@ -1,6 +1,8 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- -# +# Copyright BigchainDB GmbH and BigchainDB contributors +# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) +# Code is Apache-2.0 and docs are CC-BY-4.0 + # BigchainDB Server documentation build configuration file, created by # sphinx-quickstart on Tue Jan 19 14:42:58 2016. # diff --git a/docs/server/source/data-models/asset-model.rst b/docs/server/source/data-models/asset-model.rst index edca7cca..0e2409b0 100644 --- a/docs/server/source/data-models/asset-model.rst +++ b/docs/server/source/data-models/asset-model.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + The Asset Model =============== diff --git a/docs/server/source/data-models/block-model.rst b/docs/server/source/data-models/block-model.rst index 21c8ab5f..9622ca98 100644 --- a/docs/server/source/data-models/block-model.rst +++ b/docs/server/source/data-models/block-model.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + .. _the-block-model: The Block Model diff --git a/docs/server/source/data-models/conditions.rst b/docs/server/source/data-models/conditions.rst index 54198a12..b551ad01 100644 --- a/docs/server/source/data-models/conditions.rst +++ b/docs/server/source/data-models/conditions.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Conditions ========== diff --git a/docs/server/source/data-models/index.rst b/docs/server/source/data-models/index.rst index 94eb584e..ed7a45f3 100644 --- a/docs/server/source/data-models/index.rst +++ b/docs/server/source/data-models/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Data Models =========== diff --git a/docs/server/source/data-models/inputs-outputs.rst b/docs/server/source/data-models/inputs-outputs.rst index d0f0df37..ff1ec159 100644 --- a/docs/server/source/data-models/inputs-outputs.rst +++ b/docs/server/source/data-models/inputs-outputs.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Inputs and Outputs ================== diff --git a/docs/server/source/data-models/transaction-model.rst b/docs/server/source/data-models/transaction-model.rst index e211f319..53da711d 100644 --- a/docs/server/source/data-models/transaction-model.rst +++ b/docs/server/source/data-models/transaction-model.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + .. _the-transaction-model: The Transaction Model diff --git a/docs/server/source/dev-and-test/index.rst b/docs/server/source/dev-and-test/index.rst index dc3bbcd3..5e165b9c 100644 --- a/docs/server/source/dev-and-test/index.rst +++ b/docs/server/source/dev-and-test/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Develop & Test BigchainDB Server ================================ diff --git a/docs/server/source/drivers-clients/index.rst b/docs/server/source/drivers-clients/index.rst index 79954971..7fb59e22 100644 --- a/docs/server/source/drivers-clients/index.rst +++ b/docs/server/source/drivers-clients/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Drivers & Tools =============== diff --git a/docs/server/source/events/index.rst b/docs/server/source/events/index.rst index d554e88f..969980b8 100644 --- a/docs/server/source/events/index.rst +++ b/docs/server/source/events/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + The Events API ============== diff --git a/docs/server/source/events/websocket-event-stream-api.rst b/docs/server/source/events/websocket-event-stream-api.rst index f9778148..526df494 100644 --- a/docs/server/source/events/websocket-event-stream-api.rst +++ b/docs/server/source/events/websocket-event-stream-api.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + .. _the-websocket-event-stream-api: The WebSocket Event Stream API diff --git a/docs/server/source/http-client-server-api.rst b/docs/server/source/http-client-server-api.rst index fd5c121d..87c389e3 100644 --- a/docs/server/source/http-client-server-api.rst +++ b/docs/server/source/http-client-server-api.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + .. _the-http-client-server-api: The HTTP Client-Server API diff --git a/docs/server/source/index.rst b/docs/server/source/index.rst index f8a4cb96..a47882ae 100644 --- a/docs/server/source/index.rst +++ b/docs/server/source/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + BigchainDB Server Documentation =============================== diff --git a/docs/server/source/introduction.md b/docs/server/source/introduction.md index 24905040..327b2c80 100644 --- a/docs/server/source/introduction.md +++ b/docs/server/source/introduction.md @@ -1,3 +1,9 @@ + + # Introduction This is the documentation for BigchainDB Server, the BigchainDB software that one runs on servers (but not on clients). diff --git a/docs/server/source/k8s-deployment-template/architecture.rst b/docs/server/source/k8s-deployment-template/architecture.rst index 2bfc9e4c..62079bc3 100644 --- a/docs/server/source/k8s-deployment-template/architecture.rst +++ b/docs/server/source/k8s-deployment-template/architecture.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Architecture of a BigchainDB Node Running in a Kubernetes Cluster ================================================================= diff --git a/docs/server/source/k8s-deployment-template/bigchaindb-network-on-kubernetes.rst b/docs/server/source/k8s-deployment-template/bigchaindb-network-on-kubernetes.rst index d3caf6a3..0af0649e 100644 --- a/docs/server/source/k8s-deployment-template/bigchaindb-network-on-kubernetes.rst +++ b/docs/server/source/k8s-deployment-template/bigchaindb-network-on-kubernetes.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + 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: Deploying a BigchainDB network diff --git a/docs/server/source/k8s-deployment-template/ca-installation.rst b/docs/server/source/k8s-deployment-template/ca-installation.rst index 799e6bc8..51f9259b 100644 --- a/docs/server/source/k8s-deployment-template/ca-installation.rst +++ b/docs/server/source/k8s-deployment-template/ca-installation.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + 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-set-up-a-self-signed-certificate-authority: How to Set Up a Self-Signed Certificate Authority diff --git a/docs/server/source/k8s-deployment-template/client-tls-certificate.rst b/docs/server/source/k8s-deployment-template/client-tls-certificate.rst index 0f773eaa..b30f0df1 100644 --- a/docs/server/source/k8s-deployment-template/client-tls-certificate.rst +++ b/docs/server/source/k8s-deployment-template/client-tls-certificate.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + 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-generate-a-client-certificate-for-mongodb: How to Generate a Client Certificate for MongoDB diff --git a/docs/server/source/k8s-deployment-template/cloud-manager.rst b/docs/server/source/k8s-deployment-template/cloud-manager.rst index 458a8eeb..38083e55 100644 --- a/docs/server/source/k8s-deployment-template/cloud-manager.rst +++ b/docs/server/source/k8s-deployment-template/cloud-manager.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + .. _configure-mongodb-cloud-manager-for-monitoring: Configure MongoDB Cloud Manager for Monitoring diff --git a/docs/server/source/k8s-deployment-template/easy-rsa.rst b/docs/server/source/k8s-deployment-template/easy-rsa.rst index f0f609b2..f2f1554d 100644 --- a/docs/server/source/k8s-deployment-template/easy-rsa.rst +++ b/docs/server/source/k8s-deployment-template/easy-rsa.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + 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-install-and-configure-easyrsa: How to Install & Configure Easy-RSA diff --git a/docs/server/source/k8s-deployment-template/index.rst b/docs/server/source/k8s-deployment-template/index.rst index 44a3fc07..1905767e 100644 --- a/docs/server/source/k8s-deployment-template/index.rst +++ b/docs/server/source/k8s-deployment-template/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Kubernetes Deployment Template ============================== diff --git a/docs/server/source/k8s-deployment-template/log-analytics.rst b/docs/server/source/k8s-deployment-template/log-analytics.rst index 04dda1a8..9235718b 100644 --- a/docs/server/source/k8s-deployment-template/log-analytics.rst +++ b/docs/server/source/k8s-deployment-template/log-analytics.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Log Analytics on Azure ====================== diff --git a/docs/server/source/k8s-deployment-template/node-config-map-and-secrets.rst b/docs/server/source/k8s-deployment-template/node-config-map-and-secrets.rst index d308bc11..d5c28b0f 100644 --- a/docs/server/source/k8s-deployment-template/node-config-map-and-secrets.rst +++ b/docs/server/source/k8s-deployment-template/node-config-map-and-secrets.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + 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 BigchainDB Node diff --git a/docs/server/source/k8s-deployment-template/node-on-kubernetes.rst b/docs/server/source/k8s-deployment-template/node-on-kubernetes.rst index e9032ec4..c2735563 100644 --- a/docs/server/source/k8s-deployment-template/node-on-kubernetes.rst +++ b/docs/server/source/k8s-deployment-template/node-on-kubernetes.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + 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 BigchainDB Node diff --git a/docs/server/source/k8s-deployment-template/revoke-tls-certificate.rst b/docs/server/source/k8s-deployment-template/revoke-tls-certificate.rst index 240525d6..db7c1c50 100644 --- a/docs/server/source/k8s-deployment-template/revoke-tls-certificate.rst +++ b/docs/server/source/k8s-deployment-template/revoke-tls-certificate.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + 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 Revoke an SSL/TLS Certificate ==================================== diff --git a/docs/server/source/k8s-deployment-template/server-tls-certificate.rst b/docs/server/source/k8s-deployment-template/server-tls-certificate.rst index 622aeecc..e6f2d757 100644 --- a/docs/server/source/k8s-deployment-template/server-tls-certificate.rst +++ b/docs/server/source/k8s-deployment-template/server-tls-certificate.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + 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-generate-a-server-certificate-for-mongodb: How to Generate a Server Certificate for MongoDB diff --git a/docs/server/source/k8s-deployment-template/tectonic-azure.rst b/docs/server/source/k8s-deployment-template/tectonic-azure.rst index 03cfb433..01b571c8 100644 --- a/docs/server/source/k8s-deployment-template/tectonic-azure.rst +++ b/docs/server/source/k8s-deployment-template/tectonic-azure.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Walkthrough: Deploy a Kubernetes Cluster on Azure using Tectonic by CoreOS ========================================================================== diff --git a/docs/server/source/k8s-deployment-template/template-kubernetes-azure.rst b/docs/server/source/k8s-deployment-template/template-kubernetes-azure.rst index 9ff10cac..410797a1 100644 --- a/docs/server/source/k8s-deployment-template/template-kubernetes-azure.rst +++ b/docs/server/source/k8s-deployment-template/template-kubernetes-azure.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Template: Deploy a Kubernetes Cluster on Azure ============================================== diff --git a/docs/server/source/k8s-deployment-template/troubleshoot.rst b/docs/server/source/k8s-deployment-template/troubleshoot.rst index 785927dd..41933f1a 100644 --- a/docs/server/source/k8s-deployment-template/troubleshoot.rst +++ b/docs/server/source/k8s-deployment-template/troubleshoot.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + .. _cluster-troubleshooting: Cluster Troubleshooting diff --git a/docs/server/source/k8s-deployment-template/upgrade-on-kubernetes.rst b/docs/server/source/k8s-deployment-template/upgrade-on-kubernetes.rst index 8d836564..870642ae 100644 --- a/docs/server/source/k8s-deployment-template/upgrade-on-kubernetes.rst +++ b/docs/server/source/k8s-deployment-template/upgrade-on-kubernetes.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + 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: Upgrade all Software in a BigchainDB Node ============================================================== diff --git a/docs/server/source/k8s-deployment-template/workflow.rst b/docs/server/source/k8s-deployment-template/workflow.rst index 668f1a3c..94e76a72 100644 --- a/docs/server/source/k8s-deployment-template/workflow.rst +++ b/docs/server/source/k8s-deployment-template/workflow.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + 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-overview: Overview diff --git a/docs/server/source/production-nodes/index.rst b/docs/server/source/production-nodes/index.rst index 6ada923e..9d53c08c 100644 --- a/docs/server/source/production-nodes/index.rst +++ b/docs/server/source/production-nodes/index.rst @@ -1,3 +1,8 @@ + +.. Copyright BigchainDB GmbH and BigchainDB contributors + SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) + Code is Apache-2.0 and docs are CC-BY-4.0 + Production Nodes ================ diff --git a/docs/server/source/production-nodes/node-assumptions.md b/docs/server/source/production-nodes/node-assumptions.md index d8d74f0e..b5712cff 100644 --- a/docs/server/source/production-nodes/node-assumptions.md +++ b/docs/server/source/production-nodes/node-assumptions.md @@ -1,3 +1,9 @@ + + # Production Node Assumptions Be sure you know the key BigchainDB terminology: diff --git a/docs/server/source/production-nodes/node-components.md b/docs/server/source/production-nodes/node-components.md index ae286b9b..17d74bce 100644 --- a/docs/server/source/production-nodes/node-components.md +++ b/docs/server/source/production-nodes/node-components.md @@ -1,3 +1,9 @@ + + # Production Node Components A production BigchainDB node must include: diff --git a/docs/server/source/production-nodes/node-requirements.md b/docs/server/source/production-nodes/node-requirements.md index 7a19329b..a9daaaf9 100644 --- a/docs/server/source/production-nodes/node-requirements.md +++ b/docs/server/source/production-nodes/node-requirements.md @@ -1,3 +1,9 @@ + + # Production Node Requirements **This page is about the requirements of BigchainDB Server.** You can find the requirements of MongoDB, Tendermint and other [production node components](node-components.html) in the documentation for that software. diff --git a/docs/server/source/production-nodes/node-security-and-privacy.md b/docs/server/source/production-nodes/node-security-and-privacy.md index 3b26ddbb..188697dc 100644 --- a/docs/server/source/production-nodes/node-security-and-privacy.md +++ b/docs/server/source/production-nodes/node-security-and-privacy.md @@ -1,3 +1,9 @@ + + # Production Node Security & Privacy Here are some references about how to secure an Ubuntu 18.04 server: diff --git a/docs/server/source/production-nodes/reverse-proxy-notes.md b/docs/server/source/production-nodes/reverse-proxy-notes.md index 991c9d42..5f4d22a6 100644 --- a/docs/server/source/production-nodes/reverse-proxy-notes.md +++ b/docs/server/source/production-nodes/reverse-proxy-notes.md @@ -1,3 +1,9 @@ + + # Using a Reverse Proxy You may want to: diff --git a/docs/server/source/quickstart.md b/docs/server/source/quickstart.md index 93eed4d1..92193e64 100644 --- a/docs/server/source/quickstart.md +++ b/docs/server/source/quickstart.md @@ -1,3 +1,9 @@ + + # Quickstart