Skip to content

Commit

Permalink
Remove Dash support (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkarakostas authored Aug 16, 2023
1 parent 5b2b0d2 commit e27975c
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 801 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Currently, the supported blockchains are:
- Bitcoin
- Bitcoin Cash
- Cardano
- Dash
- Dogecoin
- Ethereum
- Litecoin
Expand Down
15 changes: 0 additions & 15 deletions docs/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,6 @@ LEFT JOIN `iog-data-analytics.cardano_mainnet.pool_offline_data` ON `iog-data-an
WHERE `iog-data-analytics.cardano_mainnet.block`.block_time > '2020-12-31'
```

### Dash

Sample raw Dash data are available
[here](https://drive.google.com/file/d/1DkjAZ7hq45zIan278NA6KVv3B45OG9GU/view?usp=sharing).

They can be retrieved using [Google BigQuery](https://console.cloud.google.com/bigquery) with the following query:

```
SELECT block_number as number, block_timestamp as timestamp, coinbase_param as identifiers, `bigquery-public-data.crypto_dash.transactions`.outputs
FROM `bigquery-public-data.crypto_dash.transactions`
JOIN `bigquery-public-data.crypto_dash.blocks` ON `bigquery-public-data.crypto_dash.transactions`.block_number = `bigquery-public-data.crypto_dash.blocks`.number
WHERE is_coinbase is TRUE
AND timestamp > '2018-12-31'
```

### Dogecoin

Sample raw Dogecoin data are available
Expand Down
1 change: 0 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Currently, the supported ledgers are:
- Bitcoin
- Bitcoin Cash
- Cardano
- Dash
- Dogecoin
- Ethereum
- Litecoin
Expand Down
6 changes: 3 additions & 3 deletions docs/parsers.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ The output file is stored under `output/<project_name>/parsed_data.json` and is

Specifically, `reward_addresses` corresponds to:

- `Bitcoin`, `Bitcoin Cash`, `Dogecoin`, `Litecoin`, `Zcash`, `Dash`: a string of comma-separated addresses which appear in the block's coinbase transaction with non-negative value (i.e., which are given part of the block's fees)
- `Bitcoin`, `Bitcoin Cash`, `Dogecoin`, `Litecoin`, `Zcash`: a string of comma-separated addresses which appear in the block's coinbase transaction with non-negative value (i.e., which are given part of the block's fees)
- `Ethereum`: the block's `miner` field
- `Cardano`: the hash of the pool that created the data, if defined, otherwise the empty string
- `Tezos`: the block's `baker` field

The field `identifiers` corresponds to:

- `Bitcoin`, `Bitcoin Cash`, `Dogecoin`, `Litecoin`, `Zcash`, `Dash`: the field `coinbase_param` of the block's coinbase transaction
- `Bitcoin`, `Bitcoin Cash`, `Dogecoin`, `Litecoin`, `Zcash`: the field `coinbase_param` of the block's coinbase transaction
- `Ethereum`: the block's `extra_data` field
- `Cardano`: the ticker name of the pool that created the block, if defined, otherwise an empty string
- `Tezos`: there is no such field

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

0 comments on commit e27975c

Please sign in to comment.