Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Tweak the ChainDB arguments: - Remove unused fields in `CDB`: - `cdbTraceLedger` this was *always* set to nullTracer, furthermore it would trace the whole LedgerDB. - `cdbChunkInfo` was never accessed from the ChainDB. - `cdbCheckIntegrity` was never accessed from the ChainDB. - Transform `ChainDbArgs` into an isomorphic product of the different arguments of the inner databases. - Define most common operations on `ChainDbArgs` as separate functions: `ensureValidateAll`, `updateTracer` and `updateDiskPolicyArgs` - Tweak the LgrDB arguments: - `LgrDB.cfg` and `LgrDbArgs.lgrConfig` are now `LedgerDbCfg (ExtLedgerState blk)` instead of `TopLevelConfig blk`. - `defaultArgs` no longer expects a filesystem. - Tweak the ImmutableDB arguments: - `defaultArgs` no longer expects a filesystem. - Tweak the VolatileDB arguments: - `defaultArgs` no longer expects a filesystem. - Hide the `Identity`/`Defaults` types in `Ouroboros.Consensus.Util.Args` in favor of `Complete`/`Incomplete`. - Expose `noDefault` to replace `NoDefault`.
- Loading branch information
Showing
25 changed files
with
462 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- Empty to satisfy CI, only unstable libraries changed --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
ouroboros-consensus-diffusion/changelog.d/chaindb-args-javier.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
### Breaking | ||
|
||
- `ChainDbArgs` re-exported by `Ouroboros.Consensus.Node` had breaking changes upstream. See `ouroboros-consensus`' changelog for details. | ||
- Removed `mkChainDbArgs`. | ||
- New `llrnMkHasFS` field in `LowLevelRunNodeArgs` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.