-
Notifications
You must be signed in to change notification settings - Fork 163
docs: update instructions #1976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -12,7 +12,6 @@ | |||
- `--fix-only`: Runs only the db-sync fix procedure for the wrong datum, redeemer_data, and plutus script bytes and exits. | ||||
- `--disable-cache`: Disables the db-sync caches. Reduces memory usage but it takes longer to sync. | ||||
- `--rollback-to-slot SLOTNO`: Force a rollback to the specified slot, if the given slot doesn't exist it will use the next greater slot. | ||||
- `--disable-in-out`: Disables the `tx_in` and `tx_out` table. | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one has no effect anymore. When using preprod_13.6.0.5=# select count(*) from epoch;
count
-------
0
(1 row)
preprod_13.6.0.5=# select count(*) from tx_in;
count
---------
1211557
(1 row)
preprod_13.6.0.5=# select count(*) from tx_out;
count
---------
1686855
(1 row) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it mean that things related to
should be removed from code ? |
||||
|
||||
- **Deprecated Options (for historical reference only):** | ||||
- For more details, refer to [Configuration Documentation](https://github.com/IntersectMBO/cardano-db-sync/blob/master/doc/configuration.md) | ||||
|
@@ -26,6 +25,7 @@ | |||
- `--disable-plutus-extra` | ||||
- `--disable-gov` | ||||
- `--disable-offchain-pool-data` | ||||
- `--disable-in-out` | ||||
- `--force-tx-in` | ||||
- `--disable-all` | ||||
- `--full` | ||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,15 @@ | |
This guide assumes you have the following tools: | ||
|
||
* [Git](https://git-scm.com/download) | ||
* [Cardano Node](https://github.com/IntersectMBO/cardano-node/blob/master/doc/getting-started/install.md) | ||
* [Cardano Node](https://developers.cardano.org/docs/get-started/cardano-node/installing-cardano-node/) | ||
* [Postgres Development Libraries (libpq)](https://www.postgresql.org/download/) | ||
* [ICU Development Libraries (libicu-dev)](https://unicode-org.github.io/icu/download/) | ||
* [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/) | ||
|
||
In addition, Cardano DB Sync requires the following software (instructions below): | ||
|
||
* [GHC](https://www.haskell.org/ghcup/install/) >= 8.10.7 | ||
* [Cabal](https://www.haskell.org/ghcup/install/) >= 3.10.1.0 | ||
* [GHC](https://www.haskell.org/ghcup/install/) >= 9.6.7 | ||
* [Cabal](https://www.haskell.org/ghcup/install/) >= 3.10.2.0 | ||
* [libsodium-vrf](https://github.com/IntersectMBO/libsodium) | ||
* [secp256k1](https://github.com/bitcoin-core/secp256k1) | ||
* [blst](https://github.com/supranational/blst) | ||
|
@@ -42,10 +42,10 @@ dependencies. | |
Once GHCup is installed, open a new terminal (to get an updated environment) and run: | ||
|
||
```bash | ||
ghcup install ghc 8.10.7 | ||
ghcup install cabal 3.10.1.0 | ||
ghcup set ghc 8.10.7 | ||
ghcup set cabal 3.10.1.0 | ||
ghcup install ghc 9.6.7 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this OK for |
||
ghcup install cabal 3.10.2.0 | ||
ghcup set ghc 9.6.7 | ||
ghcup set cabal 3.10.2.0 | ||
``` | ||
|
||
Check that you will use the GHCup tools (and not any other installation on the system): | ||
|
@@ -236,7 +236,7 @@ Explicitly set the GHC version that we installed earlier. This avoids defaulting | |
system version of GHC that might be different than the one you have installed. | ||
|
||
```bash | ||
echo "with-compiler: ghc-8.10.7" >> cabal.project.local | ||
echo "with-compiler: ghc-9.6.7" >> cabal.project.local | ||
``` | ||
|
||
macOS installs OpenSSL in a different location than expected by default. If you have | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we delete
--skip-fix
and--fix-only
as well ?