Consensus Blockchain Decentralization - Documentation
This is the documentation for the Consensus Decentralization Analysis tool developed by the University of Edinburgh's Blockchain Technology Lab. The tool is responsible for analyzing the block production of various blockchains and measuring their subsequent levels of decentralization.
The relevant source code is available on GitHub.
Overview
The tool consists of the following modules:
- Parser
- Mapping
- Aggregator
- Metrics
The parser is responsible for pre-processing the raw data that comes from a full node. It produces a file with all the information that is needed for the mapping.
The mapping takes the output of the parser, combines it with some other sources of information, and produces a new file that includes attribution data for each block and which mapping method was used to obtain it.
The aggregator takes as input the output of the mapping, as well as a time frame to aggregate over and a unit to divide the time frame by (e.g. week or month). It then outputs a file that reveals the distribution of resources to different entities during each time unit under consideration. In this context, "resources" correspond to the number of produced blocks.
These distributions are then the input for the metrics module, which tracks various decentralization-related metrics and produces files with the results.
More details about the different modules can be found in the corresponding Parser, Mapping, Aggregator and Metrics pages.
Currently, the supported ledgers are:
- Bitcoin
- Bitcoin Cash
- Cardano
- Dogecoin
- Ethereum
- Litecoin
- Tezos
- Zcash
We intend to add more ledgers to this list in the future.
Contributing
This is an open source project licensed under the terms and conditions of the MIT license and CC BY-SA 4.0. Everyone is welcome to contribute to it by proposing or implementing their ideas. Example contributions include, but are not limited to, reporting potential bugs, supplying useful information for the mappings of supported ledgers, adding support for a new ledger, or making the code more efficient. All contributions to the project will also be covered by the above-mentioned license.
When making changes in the code, contributors are required to fork the project's repository first and then issue a pull request with their changes. Each PR will be reviewed before being merged to the main branch. Bugs can be reported in the Issues page. Other comments and ideas can be brought up in the project's Discussions.
For more information on how to make specific contributions, see How to Contribute.