Skip to content

Commit 0b1e093

Browse files
authored
Merge pull request #2 from Blockchain-Technology-Lab/main
[CHORE] ⬆ IUpdate Fork
2 parents f1e36d9 + 1136134 commit 0b1e093

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Currently, the supported blockchains are:
1414
- Litecoin
1515
- Tezos
1616
- Zcash
17+
1718
We intend to add more ledgers to this list in the future.
1819

1920
## Installation
@@ -23,9 +24,9 @@ To install the tool, simply clone this project:
2324
git clone https://github.com/Blockchain-Technology-Lab/consensus-decentralization.git
2425

2526
The [requirements file](requirements.txt) lists the dependencies of the project.
26-
Make sure you have all of them installed before running the scripts. To install
27-
all of them in one go, run the following command from the root directory of the
28-
project:
27+
Make sure you have all of them installed (preferably within a [`virtualenv`](https://docs.python.org/3/library/venv.html))
28+
before running the scripts. To install all of them in one go,
29+
run the following command from the root directory of the project:
2930

3031
python -m pip install -r requirements.txt
3132

docs/parsers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ The field `identifiers` corresponds to:
3636
- `Tezos`: there is no such field
3737

3838
If using BigQuery, the queries for Bitcoin, Bitcoin Cash, Dogecoin, Litecoin, Zcash (see [Data Collection](data.md))
39-
return data that are parsed with the `default_parser` script in `parsers`.
40-
The query for Cardano returns data that is parsed using the `cardano_parser` script in `parsers`.
39+
return data that are parsed with the `default_parser` module in `parsers`.
40+
The query for Ethereum returns data that is parsed using the `ethereum_parser` module in `parsers`.
4141
All other queries return data already in the necessary parsed form, so they are parsed using a "dummy" parser.

docs/setup.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ argument is omitted, then a monthly analysis is performed for each month between
4242
or the subset of this time period for which relevant data exists.
4343

4444
Additionally, there are four flags that can be used to customize an execution:
45+
4546
- `--force-parse` forces the re-parsing of all raw data files, even if the corresponding parsed data files already
4647
exist. This can be useful for when raw data gets updated for some blockchain. By default, this flag is set to False and
4748
the tool only parses blockchain data for which no parsed data file exists.
@@ -51,7 +52,7 @@ and the tool only performs the mapping when the relevant mapped data files do no
5152
- `--plot` enables the generation of graphs at the end of the execution. Specifically, the output of each
5253
implemented metric is plotted for the specified ledgers and timeframe, as well as the block production dynamics for each
5354
specified ledger. By default, this flag is set to False and no plots are generated.
54-
- `animated` enables the generation of (additional) animated graphs at the end of the execution. By default, this flag
55+
- `--animated` enables the generation of (additional) animated graphs at the end of the execution. By default, this flag
5556
is set to False and no animated plots are generated. Note that this flag is ignored if `--plot` is set to False.
5657

5758

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pytest>=6.2.5
33
coverage==7.1.0
44
flake8==6.0.0
55
google-cloud-bigquery~=3.7.0
6-
PyYAML~=5.4
6+
PyYAML>=5.4
77
matplotlib>=3.4.3
88
seaborn>=0.11.2
99
colorcet>=3.0.1

0 commit comments

Comments
 (0)