mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Merge branch 'develop' into public-validation-functions
This commit is contained in:
commit
a44a5703d1
@ -117,7 +117,7 @@ def load_consensus_plugin(name=None):
|
||||
if not name:
|
||||
name = bigchaindb.config.get('consensus_plugin', 'default')
|
||||
|
||||
# TODO: This will return the first plugin with group `bigchaindb.plugins`
|
||||
# TODO: This will return the first plugin with group `bigchaindb.consensus`
|
||||
# and name `name` in the active WorkingSet.
|
||||
# We should probably support Requirements specs in the config, e.g.
|
||||
# consensus_plugin: 'my-plugin-package==0.0.1;default'
|
||||
@ -128,7 +128,7 @@ def load_consensus_plugin(name=None):
|
||||
# No matching entry_point found
|
||||
if not plugin:
|
||||
raise ResolutionError(
|
||||
'No plugin found in group `bigchaindb.plugins` with name `{}`'.
|
||||
'No plugin found in group `bigchaindb.consensus` with name `{}`'.
|
||||
format(name))
|
||||
|
||||
# Is this strictness desireable?
|
||||
|
||||
@ -41,7 +41,7 @@ class AbstractConsensusRules(metaclass=ABCMeta):
|
||||
block (dict): block to validate.
|
||||
|
||||
Returns:
|
||||
The block if the block is valid else it raises and exception
|
||||
The block if the block is valid else it raises an exception
|
||||
describing the reason why the block is invalid.
|
||||
|
||||
Raises:
|
||||
@ -177,7 +177,7 @@ class BaseConsensusRules(AbstractConsensusRules):
|
||||
block (dict): block to validate.
|
||||
|
||||
Returns:
|
||||
The block if the block is valid else it raises and exception
|
||||
The block if the block is valid else it raises an exception
|
||||
describing the reason why the block is invalid.
|
||||
|
||||
Raises:
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
# Introduction
|
||||
|
||||
BigchainDB is a scalable blockchain database. You can read about its motivations, goals and high-level architecture in the [BigchainDB whitepaper](https://www.bigchaindb.com/whitepaper/). This document, the _BigchainDB Documentation_, is intended primarily for three groups of people:
|
||||
BigchainDB is a scalable blockchain database. You can read about its motivations, goals and high-level architecture in the [BigchainDB whitepaper](https://www.bigchaindb.com/whitepaper/). This document, the _BigchainDB Documentation_, is intended primarily for:
|
||||
|
||||
1. Developers of BigchainDB server software.
|
||||
2. People deploying and managing BigchainDB clusters.
|
||||
3. Developers of BigchainDB driver software (SDKs used to develop client software).
|
||||
4. App developers who are developing client apps to talk to one or more live, operational BigchainDB clusters. They would use one of the BigchainDB drivers.
|
||||
|
||||
If you're curious about what's coming in our roadmap, see [the ROADMAP.md file](https://github.com/bigchaindb/bigchaindb/blob/develop/ROADMAP.md) and [the list of open issues](https://github.com/bigchaindb/bigchaindb/issues). If you want to request a feature, file a bug report, or make a pull request, see [the CONTRIBUTING.md file](https://github.com/bigchaindb/bigchaindb/blob/develop/CONTRIBUTING.md).
|
||||
If you're curious about what's in our roadmap, see [the ROADMAP.md file](https://github.com/bigchaindb/bigchaindb/blob/develop/ROADMAP.md) and [the list of open issues](https://github.com/bigchaindb/bigchaindb/issues). If you want to request a feature, file a bug report, or make a pull request, see [the CONTRIBUTING.md file](https://github.com/bigchaindb/bigchaindb/blob/develop/CONTRIBUTING.md).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user