Merge pull request #1164 from input-output-hk/tmcgilchrist/docs_update
Fixup prose in configuration docs.
Fixup prose in configuration docs.
The initial design of db-sync was an one fit all approach, where it would serve as a general purpose
backend for cardano applications, including light wallets, explorers etc. Over the time many new
feautures have been added, like historic rewards with Shelley, scripts with Allegra, multiassets
with Mary, plutus scripts and reeemers with Alonzo, pool metadata with the integration of smash etc.
with Mary, Plutus scripts and reeemers with Alonzo, pool metadata with the integration of SMASH etc.
Many applications use only a small fraction of these feautures, but db-sync needs to use the
resources that all these features require. It is reasonable to introduce flags and options that
turn off some of these features, expecially the most expensive ones in terms of performance. These
configuration options require proper documentation, which is presented below
### --disable-ledger
One of the features of db-sync that uses the most recourses is that it maintains a ledger state and
it replays all the ledger rules. This is the only way to get historic rewards an other things that
One of the features of db-sync that uses the most resources maintaining the ledger state and
replaying all the ledger rules. This is the only way to get historic rewards and other things that
are not included in the blocks, like historic stake distribution, ada pots, epoch params etc. The
flag `--disable-ledger` provides the option to turn off these feauture an significantly reduces
flag `--disable-ledger` provides the option to turn off these feauture and significantly reduces
usage of memory (by up to 10GB on mainnet) and sync time.
When this flag is enables, some feautures are missing and some db tables are left empty:
When this flag is enabled, some feautures are missing and some db tables are left empty:
- `redeemer.fee` is left null
- `reward` table is left empty
- `epoch_stake` table is left empty
though, since the snapshots are created using the option. So the above data may exist up to the
slot/epoch of the snapshot creation and missing afterwards. The simplest way to fix this, is to
delete the existing data. Since this is still an experimental feauture, db-sync doesn't do anything
automatinally, since we don't know how users want to use the feature.
automatically, since we don't know how users want to use the feature.
Some queries someone may want to run after restoring a snapshot:
rxjs from() completes after emitting the array of rollbackTransactions. Only send the rollback transactions to rollback$ subject.
3426: Add integration test for Babbage minUTxOValue validation precision r=Anviking a=Anviking - [x] Verify that #3423 successfully alleviates problem where the wallet used to be 0.01724 ada too strict compared to the ledger when validating the minUTxOValue requirement of user-specified outputs. - Test fails without the fix. ### Comments ### Issue Number https://input-output.atlassian.net/browse/ADP-1978 3428: Bump cardano-node to 1.35.3-rc1 r=Anviking a=sevanspowell - Bump dependencies: - cardano-node to 1.35.3-rc1 - hw-aeson to match cardano-node - hedgehog-extras to match cardano-node - Update compatibility matrix. ### Comments Changelogs: - [API](https://github.com/input-output-hk/cardano-node/blob/release/1.35/cardano-api/ChangeLog.md) - [CLI](https://github.com/input-output-hk/cardano-node/blob/release/1.35/cardano-cli/ChangeLog.md) - [Node](https://github.com/input-output-hk/cardano-node/blob/release/1.35/cardano-node/ChangeLog.md) - [Compare v1.35.3-testnetonly and v1.35.3-rc1](https://github.com/input-output-hk/cardano-node/compare/1.35.3-testnetonly...1.35.3-rc1) ### Issue Number ADP-2123 Co-authored-by: Johannes Lund <[email protected]> Co-authored-by: Jonathan Knowles <[email protected]> Co-authored-by: Samuel Evans-Powell <[email protected]>
Refactor for memory initialisation
...moved some test specs into "TxConstraints directory.
Looks like a copy-paste error from the shell config above.
Fixed check-stylish on ubuntu.
feat!: replace `NetworkInfoProvider.timeSettings` with `eraSummaries`