-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from 0babdbad56bba8b851c2eba1edd692a541c2878e
- Loading branch information
1 parent
50e6104
commit 7b1c216
Showing
33 changed files
with
2,969 additions
and
30 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
cabal-version: 3.0 | ||
|
||
name: cardano-client | ||
version: 0.3.1.2 | ||
synopsis: An API for ouroboros-network | ||
description: An API for ouroboros-network. | ||
license: Apache-2.0 | ||
license-files: LICENSE | ||
NOTICE | ||
copyright: 2019-2023 Input Output Global Inc (IOG), 2023-2024 Intersect | ||
author: IOHK Engineering Team | ||
maintainer: marcin.szamotulski@iohk.io | ||
category: Network | ||
build-type: Simple | ||
extra-doc-files: CHANGELOG.md | ||
|
||
library | ||
hs-source-dirs: src | ||
exposed-modules: Cardano.Client.Subscription | ||
default-language: Haskell2010 | ||
default-extensions: ImportQualifiedPost | ||
build-depends: base >=4.14 && <4.20, | ||
bytestring >=0.10 && <0.13, | ||
containers, | ||
ouroboros-network-api >= 0.5.2 && < 0.8, | ||
ouroboros-network >= 0.9 && < 0.16, | ||
ouroboros-network-framework >= 0.8 && < 0.14, | ||
network-mux ^>= 0.4.5, | ||
|
||
ghc-options: -Wall | ||
-Wno-unticked-promoted-constructors | ||
-Wcompat | ||
-Wincomplete-uni-patterns | ||
-Wincomplete-record-updates | ||
-Wpartial-fields | ||
-Widentities | ||
-Wredundant-constraints | ||
-Wunused-packages |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
cabal-version: 2.4 | ||
name: ekg-forward | ||
version: 0.5 | ||
synopsis: See README for more info | ||
description: See README for more info | ||
homepage: https://github.com/input-output-hk/ekg-forward | ||
bug-reports: https://github.com/input-output-hk/ekg-forward/issues | ||
license: Apache-2.0 | ||
license-file: LICENSE | ||
copyright: 2021 Input Output (Hong Kong) Ltd. | ||
author: Denis Shevchenko | ||
maintainer: Denis Shevchenko <denis.shevchenko@iohk.io> | ||
category: System, Network | ||
build-type: Simple | ||
extra-doc-files: README.md | ||
CHANGELOG.md | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/input-output-hk/ekg-forward.git | ||
|
||
common common-options | ||
build-depends: base >=4.12 && <5 | ||
|
||
ghc-options: -Wall | ||
-Wcompat | ||
-Widentities | ||
-Wincomplete-uni-patterns | ||
-Wincomplete-record-updates | ||
if impl(ghc >= 8.0) | ||
ghc-options: -Wredundant-constraints | ||
if impl(ghc >= 8.2) | ||
ghc-options: -fhide-source-paths | ||
if impl(ghc >= 8.4) | ||
ghc-options: -Wmissing-export-lists | ||
-Wpartial-fields | ||
|
||
default-language: Haskell2010 | ||
|
||
library | ||
import: common-options | ||
hs-source-dirs: src | ||
|
||
exposed-modules: System.Metrics.Acceptor | ||
System.Metrics.Configuration | ||
System.Metrics.Forwarder | ||
System.Metrics.ReqResp | ||
|
||
System.Metrics.Network.Acceptor | ||
System.Metrics.Network.Forwarder | ||
|
||
System.Metrics.Store.Acceptor | ||
System.Metrics.Store.Forwarder | ||
|
||
System.Metrics.Protocol.Type | ||
System.Metrics.Protocol.Codec | ||
System.Metrics.Protocol.Acceptor | ||
System.Metrics.Protocol.Forwarder | ||
|
||
build-depends: async | ||
, bytestring | ||
, cborg | ||
, contra-tracer | ||
, ekg-core | ||
, io-classes >= 1.4.1 | ||
, network | ||
, ouroboros-network-api | ||
, ouroboros-network-framework >= 0.8 && < 0.14 | ||
, serialise | ||
, stm | ||
, text | ||
, time | ||
, typed-protocols ^>= 0.1 | ||
, typed-protocols-cborg | ||
, unordered-containers | ||
|
||
executable demo-forwarder | ||
hs-source-dirs: demo | ||
main-is: forwarder.hs | ||
build-depends: base | ||
, contra-tracer | ||
, ekg-core | ||
, ekg-forward | ||
, text | ||
, time | ||
|
||
default-language: Haskell2010 | ||
ghc-options: -Wall | ||
-threaded | ||
-rtsopts | ||
-with-rtsopts=-T | ||
|
||
executable demo-acceptor | ||
hs-source-dirs: demo | ||
main-is: acceptor.hs | ||
build-depends: base | ||
, contra-tracer | ||
, ekg-core | ||
, ekg-forward | ||
, stm | ||
, text | ||
, time | ||
|
||
default-language: Haskell2010 | ||
ghc-options: -Wall | ||
-threaded | ||
-rtsopts | ||
-with-rtsopts=-T | ||
|
||
test-suite ekg-forward-test | ||
import: common-options | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: test | ||
main-is: Spec.hs | ||
other-modules: Test.GetAllMetrics | ||
Test.GetMetrics | ||
Test.MkConfig | ||
build-depends: base | ||
, contra-tracer | ||
, ekg-core | ||
, ekg-forward | ||
, hspec | ||
, stm | ||
, time | ||
, unordered-containers | ||
ghc-options: -threaded | ||
-rtsopts | ||
-with-rtsopts=-N | ||
default-extensions: OverloadedStrings |
Oops, something went wrong.