From 6296bbd4d482dce5eb80892e3b11e12f254737b6 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Tue, 12 Mar 2024 12:08:55 +1100 Subject: [PATCH] Add revision for ouroboros-consensus-cardano-0.14.0.1 Add upper bound for `cardano-git-rev` dependency. --- .../0.14.0.1/meta.toml | 4 + .../0.14.0.1/revisions/1.cabal | 631 ++++++++++++++++++ 2 files changed, 635 insertions(+) create mode 100644 _sources/ouroboros-consensus-cardano/0.14.0.1/revisions/1.cabal diff --git a/_sources/ouroboros-consensus-cardano/0.14.0.1/meta.toml b/_sources/ouroboros-consensus-cardano/0.14.0.1/meta.toml index 65f2ba730..1cde377d9 100644 --- a/_sources/ouroboros-consensus-cardano/0.14.0.1/meta.toml +++ b/_sources/ouroboros-consensus-cardano/0.14.0.1/meta.toml @@ -1,3 +1,7 @@ timestamp = 2024-03-06T12:32:14Z github = { repo = "intersectmbo/ouroboros-consensus", rev = "1172105b06748ff5af37dbee4402f6895e214d1a" } subdir = 'ouroboros-consensus-cardano' + +[[revisions]] +number = 1 +timestamp = 2024-03-12T01:08:01Z diff --git a/_sources/ouroboros-consensus-cardano/0.14.0.1/revisions/1.cabal b/_sources/ouroboros-consensus-cardano/0.14.0.1/revisions/1.cabal new file mode 100644 index 000000000..1b7c79f21 --- /dev/null +++ b/_sources/ouroboros-consensus-cardano/0.14.0.1/revisions/1.cabal @@ -0,0 +1,631 @@ +cabal-version: 3.0 +name: ouroboros-consensus-cardano +version: 0.14.0.1 +synopsis: + The instantation of the Ouroboros consensus layer used by Cardano + +description: + The instantation of the Ouroboros consensus layer used by Cardano. + +license: Apache-2.0 +license-files: + LICENSE + NOTICE + +copyright: + 2019-2023 Input Output Global Inc (IOG), INTERSECT 2023-2024. + +author: IOG Engineering Team +maintainer: operations@iohk.io +category: Network +build-type: Simple +extra-doc-files: + CHANGELOG.md + README.md + +source-repository head + type: git + location: https://github.com/IntersectMBO/ouroboros-consensus + +flag asserts + description: Enable assertions + manual: False + default: False + +common common-lib + default-language: Haskell2010 + ghc-options: + -Wall -Wcompat -Wincomplete-uni-patterns + -Wincomplete-record-updates -Wpartial-fields -Widentities + -Wredundant-constraints -Wmissing-export-lists -Wunused-packages + -Wno-unticked-promoted-constructors + + if flag(asserts) + ghc-options: -fno-ignore-asserts + +common common-test + import: common-lib + ghc-options: -threaded -rtsopts + +common common-exe + import: common-lib + ghc-options: -threaded -rtsopts "-with-rtsopts=-N -I0 -A16m" + +library + import: common-lib + hs-source-dirs: src/ouroboros-consensus-cardano src/byron src/shelley + exposed-modules: + Ouroboros.Consensus.Byron.Crypto.DSIGN + Ouroboros.Consensus.Byron.EBBs + Ouroboros.Consensus.Byron.Ledger + Ouroboros.Consensus.Byron.Ledger.Block + Ouroboros.Consensus.Byron.Ledger.Config + Ouroboros.Consensus.Byron.Ledger.Conversions + Ouroboros.Consensus.Byron.Ledger.Forge + Ouroboros.Consensus.Byron.Ledger.HeaderValidation + Ouroboros.Consensus.Byron.Ledger.Inspect + Ouroboros.Consensus.Byron.Ledger.Integrity + Ouroboros.Consensus.Byron.Ledger.Ledger + Ouroboros.Consensus.Byron.Ledger.Mempool + Ouroboros.Consensus.Byron.Ledger.NetworkProtocolVersion + Ouroboros.Consensus.Byron.Ledger.Orphans + Ouroboros.Consensus.Byron.Ledger.PBFT + Ouroboros.Consensus.Byron.Ledger.Serialisation + Ouroboros.Consensus.Byron.Node + Ouroboros.Consensus.Byron.Node.Serialisation + Ouroboros.Consensus.Byron.Protocol + Ouroboros.Consensus.Cardano + Ouroboros.Consensus.Cardano.Block + Ouroboros.Consensus.Cardano.ByronHFC + Ouroboros.Consensus.Cardano.CanHardFork + Ouroboros.Consensus.Cardano.Condense + Ouroboros.Consensus.Cardano.Node + Ouroboros.Consensus.Shelley.Crypto + Ouroboros.Consensus.Shelley.Eras + Ouroboros.Consensus.Shelley.HFEras + Ouroboros.Consensus.Shelley.Ledger + Ouroboros.Consensus.Shelley.Ledger.Block + Ouroboros.Consensus.Shelley.Ledger.Config + Ouroboros.Consensus.Shelley.Ledger.Forge + Ouroboros.Consensus.Shelley.Ledger.Inspect + Ouroboros.Consensus.Shelley.Ledger.Integrity + Ouroboros.Consensus.Shelley.Ledger.Ledger + Ouroboros.Consensus.Shelley.Ledger.Mempool + Ouroboros.Consensus.Shelley.Ledger.NetworkProtocolVersion + Ouroboros.Consensus.Shelley.Ledger.PeerSelection + Ouroboros.Consensus.Shelley.Ledger.Protocol + Ouroboros.Consensus.Shelley.Ledger.Query + Ouroboros.Consensus.Shelley.Ledger.SupportsProtocol + Ouroboros.Consensus.Shelley.Node + Ouroboros.Consensus.Shelley.Node.Common + Ouroboros.Consensus.Shelley.Node.Praos + Ouroboros.Consensus.Shelley.Node.Serialisation + Ouroboros.Consensus.Shelley.Node.TPraos + Ouroboros.Consensus.Shelley.Protocol.Abstract + Ouroboros.Consensus.Shelley.Protocol.Praos + Ouroboros.Consensus.Shelley.Protocol.TPraos + Ouroboros.Consensus.Shelley.ShelleyHFC + + other-modules: + Ouroboros.Consensus.Shelley.Ledger.Query.PParamsLegacyEncoder + + build-depends: + , base >=4.14 && <4.20 + , base-deriving-via + , bytestring >=0.10 && <0.13 + , cardano-binary + , cardano-crypto + , cardano-crypto-class + , cardano-crypto-wrapper + , cardano-ledger-allegra ^>=1.3 + , cardano-ledger-alonzo ^>=1.6 + , cardano-ledger-api ^>=1.8 + , cardano-ledger-babbage ^>=1.6 + , cardano-ledger-binary ^>=1.3 + , cardano-ledger-byron ^>=1.0 + , cardano-ledger-conway ^>=1.12 + , cardano-ledger-core ^>=1.10 + , cardano-ledger-mary ^>=1.5 + , cardano-ledger-shelley ^>=1.9 + , cardano-prelude + , cardano-protocol-tpraos ^>=1.1 + , cardano-slotting + , cardano-strict-containers + , cborg ^>=0.2.2 + , containers >=0.5 && <0.7 + , cryptonite >=0.25 && <0.31 + , deepseq + , formatting >=6.3 && <7.3 + , measures + , microlens + , mtl + , nothunks + , ouroboros-consensus ^>=0.16 + , ouroboros-consensus-protocol ^>=0.7 + , ouroboros-network-api ^>=0.7 + , serialise ^>=0.2 + , small-steps + , sop-core ^>=0.5 + , sop-extras ^>=0.1 + , strict-sop-core ^>=0.1 + , text + , these ^>=1.2 + , vector-map + + -- GHC 8.10.7 on aarch64-darwin cannot use text-2 + build-depends: text >=1.2.5.0 && <2.2 + +library unstable-byronspec + import: common-lib + visibility: public + hs-source-dirs: src/unstable-byronspec + exposed-modules: + Ouroboros.Consensus.ByronSpec.Ledger + Ouroboros.Consensus.ByronSpec.Ledger.Accessors + Ouroboros.Consensus.ByronSpec.Ledger.Block + Ouroboros.Consensus.ByronSpec.Ledger.Conversions + Ouroboros.Consensus.ByronSpec.Ledger.Forge + Ouroboros.Consensus.ByronSpec.Ledger.Genesis + Ouroboros.Consensus.ByronSpec.Ledger.GenTx + Ouroboros.Consensus.ByronSpec.Ledger.Ledger + Ouroboros.Consensus.ByronSpec.Ledger.Mempool + Ouroboros.Consensus.ByronSpec.Ledger.Orphans + Ouroboros.Consensus.ByronSpec.Ledger.Rules + + build-depends: + , base >=4.14 && <4.20 + , bimap >=0.4 && <0.6 + , byron-spec-chain + , byron-spec-ledger + , cardano-ledger-binary + , cardano-ledger-byron-test + , cborg >=0.2.2 && <0.3 + , containers >=0.5 && <0.7 + , mtl + , nothunks + , ouroboros-consensus ^>=0.16 + , serialise ^>=0.2 + , small-steps + , transformers + +library unstable-byron-testlib + import: common-lib + visibility: public + hs-source-dirs: src/unstable-byron-testlib + exposed-modules: + Ouroboros.Consensus.ByronDual.Ledger + Ouroboros.Consensus.ByronDual.Node + Ouroboros.Consensus.ByronDual.Node.Serialisation + Test.Consensus.Byron.Examples + Test.Consensus.Byron.Generators + Test.ThreadNet.Infra.Byron + Test.ThreadNet.Infra.Byron.Genesis + Test.ThreadNet.Infra.Byron.ProtocolInfo + Test.ThreadNet.Infra.Byron.TrackUpdates + Test.ThreadNet.TxGen.Byron + + build-depends: + , base + , byron-spec-ledger + , bytestring + , cardano-crypto-class + , cardano-crypto-test + , cardano-crypto-wrapper + , cardano-ledger-binary:{cardano-ledger-binary, testlib} + , cardano-ledger-byron + , cardano-ledger-byron-test + , containers + , hedgehog-quickcheck + , mtl + , ouroboros-consensus-cardano + , ouroboros-consensus-diffusion:unstable-diffusion-testlib + , ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib} + , ouroboros-network-api + , QuickCheck + , serialise + , unstable-byronspec + +test-suite byron-test + import: common-test + type: exitcode-stdio-1.0 + hs-source-dirs: test/byron-test + main-is: Main.hs + other-modules: + Test.Consensus.Byron.Golden + Test.Consensus.Byron.Serialisation + Test.ThreadNet.Byron + Test.ThreadNet.DualByron + + build-depends: + , base + , binary-search + , byron-spec-chain + , byron-spec-ledger + , bytestring + , cardano-crypto-class + , cardano-crypto-wrapper + , cardano-ledger-binary + , cardano-ledger-byron + , cardano-ledger-byron-test + , cborg + , constraints + , containers + , filepath + , hedgehog-quickcheck + , mtl + , ouroboros-consensus-cardano + , ouroboros-consensus-diffusion:unstable-diffusion-testlib + , ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib} + , ouroboros-network-mock + , QuickCheck + , small-steps + , small-steps-test + , tasty + , tasty-quickcheck + , unstable-byron-testlib + , unstable-byronspec + +library unstable-shelley-testlib + import: common-lib + visibility: public + hs-source-dirs: src/unstable-shelley-testlib + exposed-modules: + Test.Consensus.Shelley.Examples + Test.Consensus.Shelley.Generators + Test.Consensus.Shelley.MockCrypto + Test.ThreadNet.Infra.Shelley + Test.ThreadNet.TxGen.Shelley + + build-depends: + , base + , bytestring + , cardano-crypto-class + , cardano-data + , cardano-ledger-allegra + , cardano-ledger-alonzo + , cardano-ledger-alonzo-test + , cardano-ledger-babbage-test + , cardano-ledger-conway-test >=1.2.1 + , cardano-ledger-core:{cardano-ledger-core, testlib} + , cardano-ledger-mary + , cardano-ledger-shelley-ma-test + , cardano-ledger-shelley-test + , cardano-ledger-shelley:{cardano-ledger-shelley, testlib} + , cardano-protocol-tpraos:{cardano-protocol-tpraos, testlib} + , cardano-strict-containers + , containers + , generic-random + , microlens + , mtl + , ouroboros-consensus-cardano + , ouroboros-consensus-diffusion:unstable-diffusion-testlib + , ouroboros-consensus-protocol:{ouroboros-consensus-protocol, unstable-protocol-testlib} + , ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib} + , ouroboros-network-api + , QuickCheck + , quiet ^>=0.2 + , small-steps + +test-suite shelley-test + import: common-test + type: exitcode-stdio-1.0 + hs-source-dirs: test/shelley-test + main-is: Main.hs + other-modules: + Test.Consensus.Shelley.Coherence + Test.Consensus.Shelley.Golden + Test.Consensus.Shelley.Serialisation + Test.Consensus.Shelley.SupportedNetworkProtocolVersion + Test.ThreadNet.Shelley + + build-depends: + , base + , bytestring + , cardano-crypto-class + , cardano-ledger-alonzo + , cardano-ledger-alonzo-test + , cardano-ledger-core + , cardano-ledger-shelley + , cardano-protocol-tpraos + , cardano-slotting + , cborg + , constraints + , containers + , filepath + , microlens + , ouroboros-consensus-cardano + , ouroboros-consensus-diffusion:unstable-diffusion-testlib + , ouroboros-consensus-protocol + , ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib} + , QuickCheck + , sop-core + , strict-sop-core + , tasty + , tasty-hunit + , tasty-quickcheck + , unstable-shelley-testlib + +library unstable-cardano-testlib + import: common-lib + visibility: public + hs-source-dirs: src/unstable-cardano-testlib + exposed-modules: + Test.Consensus.Cardano.Examples + Test.Consensus.Cardano.Generators + Test.Consensus.Cardano.MockCrypto + Test.Consensus.Cardano.ProtocolInfo + Test.ThreadNet.Infra.ShelleyBasedHardFork + Test.ThreadNet.Infra.TwoEras + Test.ThreadNet.TxGen.Allegra + Test.ThreadNet.TxGen.Alonzo + Test.ThreadNet.TxGen.Babbage + Test.ThreadNet.TxGen.Cardano + Test.ThreadNet.TxGen.Mary + + build-depends: + , base + , cardano-crypto-class + , cardano-crypto-wrapper + , cardano-ledger-alonzo-test + , cardano-ledger-api + , cardano-ledger-byron + , cardano-ledger-conway-test ^>=1.2.1 + , cardano-ledger-conway:testlib + , cardano-ledger-core:{cardano-ledger-core, testlib} + , cardano-ledger-shelley + , cardano-protocol-tpraos + , cardano-slotting + , cardano-strict-containers + , containers + , microlens + , mtl + , ouroboros-consensus-cardano + , ouroboros-consensus-diffusion:{ouroboros-consensus-diffusion, unstable-diffusion-testlib} + , ouroboros-consensus-protocol:{ouroboros-consensus-protocol, unstable-protocol-testlib} + , ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib} + , ouroboros-network-api + , QuickCheck + , sop-core + , sop-extras + , strict-sop-core + , unstable-byron-testlib + , unstable-shelley-testlib + +test-suite cardano-test + import: common-test + type: exitcode-stdio-1.0 + hs-source-dirs: test/cardano-test + main-is: Main.hs + other-modules: + Test.Consensus.Cardano.ByronCompatibility + Test.Consensus.Cardano.Golden + Test.Consensus.Cardano.MiniProtocol.LocalTxSubmission.ByteStringTxParser + Test.Consensus.Cardano.MiniProtocol.LocalTxSubmission.Server + Test.Consensus.Cardano.Serialisation + Test.Consensus.Cardano.SupportedNetworkProtocolVersion + Test.ThreadNet.AllegraMary + Test.ThreadNet.Cardano + Test.ThreadNet.MaryAlonzo + Test.ThreadNet.ShelleyAllegra + + build-depends: + , base + , base16-bytestring + , bytestring + , cardano-crypto-class + , cardano-ledger-alonzo + , cardano-ledger-alonzo-test + , cardano-ledger-api + , cardano-ledger-byron + , cardano-ledger-core + , cardano-ledger-shelley + , cardano-protocol-tpraos + , cardano-slotting + , cborg + , constraints + , containers + , contra-tracer + , filepath + , microlens + , ouroboros-consensus-cardano:{ouroboros-consensus-cardano, unstable-cardano-testlib} + , ouroboros-consensus-diffusion:unstable-diffusion-testlib + , ouroboros-consensus-protocol + , ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib, unstable-mempool-test-utils} + , ouroboros-network-api + , ouroboros-network-protocols:{ouroboros-network-protocols, testlib} + , pretty-simple + , QuickCheck + , sop-core + , sop-extras + , strict-sop-core + , tasty + , tasty-hunit + , tasty-quickcheck + , typed-protocols ^>=0.1.1 + , unstable-byron-testlib + , unstable-cardano-testlib + , unstable-shelley-testlib + +library unstable-cardano-tools + import: common-lib + visibility: public + hs-source-dirs: src/unstable-cardano-tools + exposed-modules: + Cardano.Api.Any + Cardano.Api.Protocol.Types + Cardano.Node.Protocol + Cardano.Node.Protocol.Types + Cardano.Node.Types + Cardano.Tools.DBAnalyser.Analysis + Cardano.Tools.DBAnalyser.Analysis.BenchmarkLedgerOps.FileWriting + Cardano.Tools.DBAnalyser.Analysis.BenchmarkLedgerOps.Metadata + Cardano.Tools.DBAnalyser.Analysis.BenchmarkLedgerOps.SlotDataPoint + Cardano.Tools.DBAnalyser.Block.Byron + Cardano.Tools.DBAnalyser.Block.Cardano + Cardano.Tools.DBAnalyser.Block.Shelley + Cardano.Tools.DBAnalyser.HasAnalysis + Cardano.Tools.DBAnalyser.Run + Cardano.Tools.DBAnalyser.Types + Cardano.Tools.DBSynthesizer.Forging + Cardano.Tools.DBSynthesizer.Orphans + Cardano.Tools.DBSynthesizer.Run + Cardano.Tools.DBSynthesizer.Types + Cardano.Tools.DBTruncater.Run + Cardano.Tools.DBTruncater.Types + Cardano.Tools.GitRev + Cardano.Tools.ImmDBServer.Diffusion + Cardano.Tools.ImmDBServer.MiniProtocols + + other-modules: + Cardano.Api.Key + Cardano.Api.KeysByron + Cardano.Api.KeysPraos + Cardano.Api.KeysShelley + Cardano.Api.OperationalCertificate + Cardano.Api.SerialiseTextEnvelope + Cardano.Api.SerialiseUsing + Cardano.Node.Protocol.Alonzo + Cardano.Node.Protocol.Byron + Cardano.Node.Protocol.Cardano + Cardano.Node.Protocol.Conway + Cardano.Node.Protocol.Shelley + + build-depends: + , aeson + , base >=4.14 && <4.20 + , base16-bytestring >=1.0 + , bytestring >=0.10 && <0.13 + , cardano-crypto + , cardano-crypto-class + , cardano-crypto-wrapper + , cardano-git-rev <0.2 + , cardano-ledger-allegra + , cardano-ledger-alonzo + , cardano-ledger-api + , cardano-ledger-babbage + , cardano-ledger-binary + , cardano-ledger-byron + , cardano-ledger-conway + , cardano-ledger-core + , cardano-ledger-mary + , cardano-ledger-shelley + , cardano-prelude + , cardano-protocol-tpraos ^>=1.1 + , cardano-slotting + , cardano-strict-containers + , cborg ^>=0.2.2 + , containers >=0.5 && <0.7 + , contra-tracer + , directory + , filepath + , fs-api ^>=0.2 + , githash + , microlens + , mtl + , network + , nothunks + , ouroboros-consensus ^>=0.16 + , ouroboros-consensus-cardano + , ouroboros-consensus-diffusion ^>=0.11 + , ouroboros-consensus-protocol ^>=0.7 + , ouroboros-network + , ouroboros-network-api + , ouroboros-network-framework + , ouroboros-network-protocols + , serialise ^>=0.2 + , sop-core + , sop-extras + , strict-sop-core + , text + , text-builder + , transformers + , transformers-except + +executable db-analyser + import: common-lib + hs-source-dirs: app + main-is: db-analyser.hs + build-depends: + , base + , cardano-crypto-class + , cardano-crypto-wrapper + , optparse-applicative + , ouroboros-consensus + , ouroboros-consensus-cardano:{ouroboros-consensus-cardano, unstable-cardano-tools} + , text + , with-utf8 + + -- NOTE: these options should match the ones in the cardano-node. + -- + -- 'db-analyser' is often used as a benchmarking tool. Thus, by using + -- the same GHC flags as the node, we are more likely to get + -- performance observations that correspond to those we get from a + -- running node. + ghc-options: -threaded -rtsopts + + if arch(arm) + ghc-options: + "-with-rtsopts=-T -I0 -A16m -N1 --disable-delayed-os-memory-return" + + else + ghc-options: + "-with-rtsopts=-T -I0 -A16m -N2 --disable-delayed-os-memory-return" + + other-modules: DBAnalyser.Parsers + +executable db-synthesizer + import: common-exe + hs-source-dirs: app + main-is: db-synthesizer.hs + build-depends: + , base + , cardano-crypto-class + , optparse-applicative + , ouroboros-consensus + , unstable-cardano-tools + , with-utf8 + + other-modules: DBSynthesizer.Parsers + +executable db-truncater + import: common-exe + hs-source-dirs: app + main-is: db-truncater.hs + build-depends: + , base + , cardano-crypto-class + , cardano-crypto-wrapper + , optparse-applicative + , ouroboros-consensus + , ouroboros-consensus-cardano:{ouroboros-consensus-cardano, unstable-cardano-tools} + , with-utf8 + + other-modules: + DBAnalyser.Parsers + DBTruncater.Parsers + +executable immdb-server + import: common-exe + hs-source-dirs: app + main-is: immdb-server.hs + build-depends: + , base + , cardano-crypto-class + , network + , optparse-applicative + , ouroboros-consensus + , ouroboros-consensus-cardano:unstable-cardano-tools + , with-utf8 + +test-suite tools-test + import: common-test + type: exitcode-stdio-1.0 + hs-source-dirs: test/tools-test + main-is: Main.hs + build-depends: + , base + , ouroboros-consensus-cardano + , ouroboros-consensus:unstable-consensus-testlib + , tasty + , tasty-hunit + , unstable-cardano-tools