Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dynamize trusted validator list and quorum (RIPD-1220):
Instead of specifying a static list of trusted validators in the config or validators file, the configuration can now include trusted validator list publisher keys and URIs where validator lists are served. Publisher public keys should use the account public Base58 encoding to distinguish them from node public keys. The sites are regularly queried for the latest recommended list of validators from the trusted publishers. The trusted validator list and quorum are now reset each consensus round using the fetched validator lists and the list of recent validations seen. The minimum validation quorum is now only configurable via the command line. Validator lists are expected to be served as JSON and include the following fields: * "manifest": Base64-encoded serialization of a manifest containing the validator publisher's master and signing public keys. This has the same format as the [validation_manifest] config section. * "blob": Base64-encoded JSON string containing a "sequence" and "validators" field. "validators" contains an array of objects with "validation_public_key" and "manifest" fields. "validation_public_key" must be an Ed25519 master public key. * "signature": Hex-encoded signature of the blob using the publisher's signing key. * "version": 1 * "refreshInterval" (optional)
- Loading branch information
1 parent
ffbd447
commit 08906f9
Showing
44 changed files
with
3,573 additions
and
1,221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.